Skip to main content

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.

VCL Chart Control: Series Captions in a Diagram Legend

Note

Simple diagram series display values instead of captions in a diagram or chart legend.

Series Tooltips

A series tooltip displays a series caption.

VCL Chart Control: A Series Tooltip Example

The series can display the Caption property value as a tooltip when the following conditions are met:

Default Value

The Caption property’s default value is an empty string.

See Also