AxisXPlacement: ChartAxisXPlacement;
The AxisXPlacement property determines whether it is possible to build a chart without indenting from the category axis.
If the property is set to ChartAxisXPlacement.OnTick, category axis names are displayed starting from the point of axis intersection with the value axis. Line and area 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.
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 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 axes:
See also: