IChartAxis.AutoMinorTickSpace

Syntax

AutoMinorTickSpace: Boolean;

Description

The AutoMinorTickSpace property determines a value of scale step for additional tick marks of the value axis.

Comments

The property is set to True by default. Step value is calculated automatically as 1/2 of the main tick mark. If this property is set to False, a custom value can be set using IChartAxis.MinorTickSpace.

NOTE. Setting the AutoMinorTickSpace property for the category axis makes no sense.

Example

Executing the example requires a form, a button named Button1 on the form, the ChartBox and UiChart components and the UiErAnalyzer component named UiErAnalyzer1 that is used as a 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:

IChartAxis