Skip to main content

TdxChartHitTest.AxisValueLabel Property

Provides access to the axis value label to which the inspected point belongs.

Declaration

property AxisValueLabel: TdxChartAxisValueLabelInfo read;

Property Value

Type Description
TdxChartAxisValueLabelInfo

The currently inspected axis value label. This property returns nil (in Delphi) or nullptr (in C++Builder) if the inspected point is not within the area occupied by an axis value label in an XY diagram.

Remarks

You can use the AxisValueLabel.Text property to identify an axis value label at the inspected point; that is, when the HitCode property returns TdxChartHitCode.AxisValueLabel. In this case, you can also use Axis and Diagram properties to access the parent axis and diagram of the inspected value label.

VCL Chart Control: An Inspected Axis Value Label

See Also