TdxChartLegend Class
Stores settings of the legend pane displayed in a Chart control.
Declaration
TdxChartLegend = class(
TdxChartCustomLegend
)
Remarks
A series is displayed in the Chart control’s legend instead of the corresponding diagram’s legend if the ShowInLegend property of the series is set to TdxChartSeriesShowInLegend.Chart (default).
Main API Members
The list below outlines key members of the TdxChartCustomLegend
class that allow you to configure chart and diagram legend panes.
- Hide or display the legend pane (Visible).
- Specify a legend pane title and customize its appearance (Title).
- Customize general appearance settings (Appearance).
- Hide or display legend item captions, check boxes, and associated images (ShowCaptions, ShowCheckBoxes, and ShowImages).
- Change the legend pane layout and the order of items in it (Direction).
- Position the legend pane horizontally and vertically within the Chart control area (AlignmentHorz and AlignmentVert).
- Adjust legend pane constraints (MaxHeightPercent and MaxWidthPercent).
- Change the maximum width of legend item captions (MaxCaptionWidth).
- Copy settings between legend panes (Assign).
Direct TdxChartLegend Class References
The Chart control’s Legend property references a TdxChartLegend
object.
Inheritance
See Also