ScaleInterval

 

Use this property to set/get the interval between two major ticks.  A value of zero enables the scale interval to be calculated automatically. The automatic scale interval calculation determines the optimal interval with easily readable numbers.

ScaleInterval is a property of the Scale Class.

 

Example 1 

'Set Y-scale and X-scale interval to 1.0
XYChartCtrl
.YScale(1).ScaleInterval = 1.0
XYChartCtrl.XScale(1).ScaleInterval = 1.0
XYChartCtrl.Refresh                       'Refresh required to update chart with changes made

 

Example 2 

'Set Y-scale and X-scale interval to 0.5
XYChartCtrl.YScale(1).ScaleInterval = 0.5
XYChartCtrl.XScale(1).ScaleInterval = 0.5
XYChartCtrl.Refresh                       'Refresh required to update chart with changes made

 

See Also

Properties