IChartLabel.HotspotPositionCoef

Syntax

HotspotPositionCoef: Double;

Description

The HotspotPositionCoef property determines positions of data labels relative to a column or a sector of the chart. The values should be taken from the range [0..1]. Default value is 0.5.

Example

This example assumes that there is the Serie object of the IChartSerie type. Labels are to be displayed for this series. If required, displaying labels of a data series can be implemented by running the following command: "Serie.LabelsEnabled := True;"

Sub HotspotPosition;

Var

Serie : IChartSerie;

Begin

Serie.Label(3).HotspotPositionCoef := 1;

End Sub HotspotPosition;

After executing the example the specified data label (label numeration starts from zero) is positioned at the edge of the column (radius).

See also:

IChartLabel