AutoMinorTickSpace: Boolean;
The AutoMinorTickSpace property determines value of scale step for additional tick marks of the value axis.
The default value of this property is True. Step value is calculated automatically as 1/2 of the main division. If this property is set to False, you can select custom value of the step using the IChartAxis.MinorTickSpace.
NOTE. Setting the AutoMinorTickSpace property for the category axis makes no sense.
Executing this example requires a form, a button named Button1 located on this form, the ChartBox and UiChart components and the UiErAnalyzer component named UiErAnalyzer1 that is used as the data source.
Class TESTForm: Form
UiErAnalyzer1: UiErAnalyzer;
UiChart1: UiChart;
ChartBox1: ChartBox;
Button1: Button;
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
ChartBox1.Chart.AxisY.MinorTick := True;
ChartBox1.Chart.AxisY.AutoMinorTickSpace := False;
ChartBox1.Chart.AxisY.MinorTickSpace := 200;
End Sub Button1OnClick;
End Class TESTForm;
Clicking the Button1 button displays additional tick marks with the specified step on the Y axis.
See also: