IChartAxis.DisplayUnitCaption

Syntax

DisplayUnitCaption: IChartCaption;

Description

The DisplayUnitCaption property determines parameters of a title of a scale mark.

Comments

To work with available parameters, use the IChartCaption interface.

Example

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

Sub DisUnCap;

Var

Chart : IChart;

Begin

Chart.AxisY.DisplayUnitCaption.FontColor := GxColor.FromName("Red");

End Sub DisUnCap;

After executing the example the color of the text of the scale factor title is changed to red

See also:

IChartAxis | IChartAxis.DisplayUnit