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.
- Visible
- Hides or displays the legend pane.
- Title
- Specifies the legend pane title, and its position and appearance.
- Appearance
- Provides access to general legend appearance settings.
- ShowCaptions | ShowCheckBoxes | ShowImages
- Hide or display legend item captions, check boxes, and associated images.
- Direction
- Specifies the legend pane layout and the order of items in it.
- AlignmentHorz | AlignmentVert
- Position the legend pane horizontally and vertically within the Chart control area.
- MaxHeightPercent | MaxWidthPercent
- Adjust legend pane constraints.
- MaxCaptionWidth
- Specifies the maximum caption width (in pixels) in multi-column and narrow vertical legend pane layouts.
- Assign
- Copies settings between legend panes.
Direct TdxChartLegend Class References
The Chart control’s Legend property references a TdxChartLegend
object.
Inheritance
See Also