Me.UltraChart1.Data.ZeroAligned = True
This topic will describe how the ZeroAligned property can be used to change the minimum and maximum data values of the Chart control’s axis. Depending on the value of this property, the data will either be charted from the minimum data value to the maximum data value, or from zero to the minimum data value, or from zero to the maximum data value, based on whether these values are positive or negative. The table below shows all possibilities. DataMin and DataMax are the minimum and maximum values of the set of data that will be charted. When the ZeroAligned property is set to False, the chart will always use an interval from DataMin to DataMax.
You can set the ZeroAligned property using the following code:
In Visual Basic:
Me.UltraChart1.Data.ZeroAligned = True
In C#:
this.UltraChart1.Data.ZeroAligned = true;