TdxChartDiagramLegend Class
Stores settings of the legend pane displayed in a diagram.
Declaration
TdxChartDiagramLegend = class(
TdxChartCustomLegend
)
Remarks
A diagram can display a legend pane populated with captions of those series in the diagram whose ShowInLegend properties are set to TdxChartSeriesShowInLegend.Diagram. The diagram displays no legend pane if it has no such series or the Legend
.Visible property is set to False
.
Simple diagram series display values instead of captions in a diagram or chart legend.
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 diagram area (AlignmentHorz and AlignmentVert).
- Adjust legend pane constraints (MaxHeightPercent and MaxWidthPercent).
- Change the maximum width of legend item captions (MaxCaptionWidth).
- Access the diagram to which the legend pane belongs (Diagram).
- Copy settings between legend panes (Assign).
Direct TdxChartCustomLegend Class References
The Legend property of an XY or simple diagram references a TdxChartDiagramLegend
object.
Inheritance
See Also