TiPlotComponent.OnXAxisCustomizeLabel

TiPlotComponent

Occurs before each X-Axis major tick label is painted and allows for the label to be modified.

type TiPlotAxesCustomizeLabelEvent = procedure(Index: Integer; Value: Double; var ALabel: String) of object;

property OnXAxisCustomizeLabel : TiPlotAxesCustomizeLabelEvent;

Description

Use OnCustomizeTickLabel to modify a major tick label. This event will fire for each label and the Index parameter specifies which label is about to be painted. Modify the DisplayText parameter to change the label.

Note: The Index value is 0 based.

Contents | Index | Previous | Next