Similar to trying to plot infinities on charts, which you have kindly fixed (and has occurred in practice in the product we are developing), I have testers putting all sorts of extreme values into data. For example, if I try and plot a simple 2D chart using the following data:
double[] xValues = new double[5] { 1, 2, 3, 4, 5 };
double[] yValues = new double[5] { 2, 5, 3, 7, double.MinValue };
or using double.MaxValue, the x-axis is plotted, but the y-axis is blank and no plots are plotted (not surprisingly I suppose).
This is OK, but not ideal. If I use
double[] xValues = new double[5] { 1, 2, 3, 4, 5 };
double[] yValues = new double[5] { 2, 5, 3, 7, 900000000000000000000000000.7 };
this plots OK. However, if you add a few more noughts to the large y-value, no chart whatsoever is rendered. No exception occurs but nothing whatsoever is plotted.
I have a multi-tab set of charts (using an nTab control) - if I switch to another tab, that chart is displayed as expected. If I switch back to the tab containing the chart with the data above, the selected tab changes, but the chart displayed remains unchanged, as though the chart that should be displayed is completely transparent (hope this makes sense).
I don't think this behaviour is correct!
Thanks
Kevin