IChartAxis.TickAlignment

Syntax

TickAlignment: ChartAxisTickAlignment;

Description

The TickAlignment property determines position of scale marks relative to the axis.

Example

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
    Button1: Button;
    UiErAnalyzer1: UiErAnalyzer;
    UiChart1: UiChart;
    ChartBox1: ChartBox;
    
    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Begin
        ChartBox1.Chart.AxisY.MinorTick := True;
        ChartBox1.Chart.AxisY.TickAlignment := 1 As ChartAxisTickAlignment;
    End Sub Button1OnClick;
    
End Class TESTForm;

After clicking Button1 scale marks on the Y axis are displayed outside the plot area:

See also:

IChartAxis