StepValue: Double;
The StepValue property determines a tick mark interval on the Y axis.
The IntervalsCount property is applicable only to value axis.
When setting a scale tick mark interval the user must set the StepMode property to the appropriate value.
Executing the example requires a form, the Button component with the Button1 identifier on the form, the ChartBox component with the ChartBox1 identifier and the UiErAnalyzer component with the UiErAnalyzer1 identifier, which is used as a data source for the ChartBox1 component. Specify the express report saved on the chart sheet as a data source for the UiErAnalyzer1 component.
The example is a handler of the OnClick event for the Button1 component.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Chart: IChart;
ChartAxis: IChartAxis;
Begin
Chart := ChartBox1.Chart;
ChartAxis := Chart.AxisY;
ChartAxis.StepMode := ChartAxisStepMode.FixedStep;
ChartAxis.StepValue := 10000;
End Sub Button1OnClick;
After executing the example tick mark intervals equal to 10000 are displayed on the Y axis.
See also: