IChart.AxisXPlacement

Syntax

AxisXPlacement: ChartAxisXPlacement;

Description

The AxisXPlacement property determines whether it is possible to build a chart without indenting from the category axis.

Comments

If this property is set to ChartAxisXPlacement.OnTick, names of the category axis are displayed starting from the point of axis intersection with the value axis.  Linear and area type charts are drawn from beginning to the end of the plot area. For the bar charts all bar series are displayed symmetrically relative to tick marks of the corresponding category.

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 OBJ24517Form: Form
    Button1: Button;
    UiChart1: UiChart;
    UiErAnalyzer1: UiErAnalyzer;
    ChartBox1: ChartBox;
    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
        Begin
        ChartBox1.Chart.AxisXPlacement:= ChartAxisXPlacement.OnTick;        
    End Sub Button1OnClick;
End Class OBJ24517Form;

After clicking the Button1 button the chart is built starting immediately from lines of the values axis:

See also:

IChart