IChart.TickLabelSpacing

Syntax

TickLabelSpacing: Integer;

Description

The TickLabelSpacing property determines the number of categories between scale mark labels.

Comments

Default value of this property is 1, that is labels are displayed for each scale mark. When the property value is set to 2, the labels are displayed for each second mark, when the property is set to 3, the labels are displayed for each third mark, and so  on.

NOTE. The TickLabelSpacing property is ignored when labels are manually excluded using  IPrxChart.ExcludedPoints.

Example

This example assumes that there is the Chart object of the IChart type.

Sub Tick;

Var

Chart : IChart;

Begin

Chart.TickLabelSpacing := 2;

End Sub Tick;

After executing the example the labels are displayed for each second mark.

See also:

IChart