Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartLegend Class

A chart legend in a diagram.

#Declaration

Delphi
TcxGridChartLegend = class(
    TcxCustomGridOptions
)

#Remarks

The chart legend is the key for chart diagrams which identifies the patterns (background bitmaps) or colors that are assigned to the data displayed in a chart diagram. A chart legend is displayed outside the chart’s plot area and provides information on what is displayed in the chart.

VCL Data Grid: A Chart View Legend Example

The TcxGridChartLegend class has properties and methods you can use to change the appearance aspects of a chart legend, arranging it within the chart and determining its current position within the chart. All the properties which control the appearance aspects such as the position and orientation of the chart legend are initialized with default values that provide a standard appearance for charts. Use the Chart View’s Legend property and the diagram’s Legend property to access the chart legend’s appearance options.

See Also