Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartHitTest.TotalLabel Property

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

#Declaration

Delphi
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