Version

Support for Zero Data Points in Charts Having Logarithmic Axes

Previous versions of Infragistics Professional would throw an exception if zero data values were passed as data to your chart with a Logarithmic axis, since mathematically, the logarithm of zero is undefined. With the Ultimate UI for Windows Forms 2007 Volume 3 release, you can set another value for the logarithm of 0 to allow zero data points to be supplied as part of a data set you wish to view on your chart with a logarithmic axis.

You can set the new LogZero property on the AxisAppearance object to a specific value that will represent the value when your chart tries to plot Log(0). The ToolTip will still display "0".

The default value for the LogZero property is double.NaN. If you leave this property at the default value, an exception will be thrown.

The following screen shot shows a column chart with a logarithmic y-axis and a zero value.

support for zero data points in ultrachart having logarithmic axes