IChartAxis.DisplayUnitCaption

Syntax

DisplayUnitCaption: IChartCaption;

Description

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

Comments

Use the interface to work with available parameters.

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