TdxChartCustomSeries.Caption Property
Specifies the series caption.
Declaration
property Caption: string read; write;
Property Value
Type | Description |
---|---|
string | The series caption. |
Remarks
A Chart control or diagram can display the series caption in a legend if the ShowInLegend property is set to TdxChartSeriesShowInLegend.Chart (default) or TdxChartSeriesShowInLegend.Diagram, respectively.
Note
Simple diagram series display values instead of captions in a diagram or chart legend.
Series Tooltips
A series tooltip displays a series caption.
The series can display the Caption
property value as a tooltip when the following conditions are met:
- Simple tooltips are enabled for the series.
- The parent Chart control’s ToolTips.SimpleToolTipOptions.ShowForSeries property is set to
True
. - A series point tooltip does not override the series tooltip. Refer to the TdxChartSimpleToolTipOptions.ShowForSeries property description for details.
Default Value
The Caption
property’s default value is an empty string.
See Also