TdxChartCustomSeries.CheckableInLegend Property
Declaration
property CheckableInLegend: Boolean read; write; default True;
Property Value
Type | Default | Description |
---|---|---|
Boolean | True | If |
Remarks
A user can click check boxes of individual legend items to hide or display the corresponding XY series if their CheckableInLegend
property is set to True
.
The CheckableInLegend
property value is ignored if one of the following conditions is met:
- The ShowInLegend property is set to TdxChartSeriesShowInLegend.None.
- The ShowInLegend property is set to TdxChartSeriesShowInLegend.Chart, and the Chart control’s Legend.ShowCheckBoxes or Legend.Visible property is set to
False
. - The ShowInLegend property is set to TdxChartSeriesShowInLegend.Diagram, and the corresponding diagram’s Legend.ShowCheckBoxes or Legend.Visible property is set to
False
.
Note
Simple diagram series display values instead of captions in a diagram or chart legend. The TdxChartSimpleSeries class does not publish the CheckableInLegend
property.
Default Value
The CheckableInLegend
property’s default value is True
.
See Also