Skip to main content

TdxChartHitTest.TotalLabel Property

Provides access to the series total label to which the inspected point belongs.

Declaration

property TotalLabel: TdxChartSimpleSeriesTotalLabel read;

Property Value

Type Description
TdxChartSimpleSeriesTotalLabel

The currently inspected total label of a Doughnut or Pie series.

This property returns nil (in Delphi) or nullptr (in C++Builder) if the inspected point is not within the area occupied by a total label.

Remarks

You can use the TotalLabel property to identify and access a total label at the inspected point; that is, when the HitCode property returns TdxChartHitCode.TotalLabel. In this case, you can also use the Diagram property to access the parent simple diagram of the inspected total label.

VCL Chart Control: An Inspected Total Label

See Also