Back to Devexpress

TdxChartDiagramLegend Class

vcl-dxchartcore-7c1ba595.md

latest3.8 KB
Original Source

TdxChartDiagramLegend Class

Stores settings of the legend pane displayed in a diagram.

Declaration

delphi
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.

VisibleHides or displays the legend pane.TitleSpecifies the legend pane title, and its position and appearance.AppearanceProvides access to general legend pane appearance settings.ShowCaptions | ShowCheckBoxes | ShowImagesHide or display legend item captions, check boxes, and associated images.DirectionSpecifies the legend pane layout and the order of items in it.AlignmentHorz | AlignmentVertPosition the legend pane horizontally and vertically within the diagram area.MaxHeightPercent | MaxWidthPercentAdjust legend pane constraints.MaxCaptionWidthSpecifies the maximum caption width (in pixels) in multi-column and narrow vertical legend pane layouts.DiagramProvides access to the diagram to which the legend pane belongs.AssignCopies settings between legend panes.

Direct TdxChartCustomLegend Class References

The Legend property of an XY or simple diagram references a TdxChartDiagramLegend object.

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TdxChartVisualElementPersistent TdxChartCustomVisualElement TdxChartCustomLegend TdxChartDiagramLegend

See Also

TdxChartLegend Class

TdxChartDiagramLegend Members

dxChartCore Unit