vcl-dxchartcontrol-dot-tdxcharthittest.md
Provides access to the axis, chart, diagram, legend, or series title to which the inspected point belongs.
property Title: TdxChartVisualElementTitle read;
| Type | Description |
|---|---|
| TdxChartVisualElementTitle |
The currently inspected title.
This property returns nil (in Delphi) or nullptr (in C++Builder) if the inspected point is not within the area occupied by a title.
|
You can use the Title property to identify and access an axis, chart, diagram, legend, or series title at the inspected point; that is, when the HitCode property returns one of the following values:
The inspected point belongs to an axis title.
You can use Title and Axis properties to access the inspected title and its parent axis, respectively. Cast the Title property value to the TdxChartAxisTitle class to access all public API members of the inspected axis title.
The inspected point belongs to a chart title.
You can use the Title property to access the inspected chart title. Cast the property value to the TdxChartTitle class to access all public API members of the inspected chart title.
The inspected point belongs to a diagram title.
You can use Title and Diagram properties to access the inspected title and its parent diagram, respectively. Cast the Title property value to the TdxChartDiagramTitle class to access all public API members of the inspected chart title.
The inspected point belongs to a legend title.
You can use Title and Legend properties to access the inspected title and its parent legend pane, respectively. Cast the Title property to the TdxChartLegendTitle class to access all public API members of the inspected legend pane title.
The inspected point belongs to a Pie or Doughnut series title.
You can use Title, Series, and Diagram properties to access the inspected title and its parent series and diagram, respectively. Cast the Title property value to the TdxChartSeriesTitle class to access all public API members of the inspected series title.
See Also