wxgui: prevent a crash caused by dividing by zero

The tooltip label is calculated when the plot graph is not yet populated. This causes a division by zero error resulting in a NaN value which later cases an exception when trying to cast it into an integer. In these cases we simply do not display the engineering values (like in other exceptional cases)