TcxGridChartLegend Class
A chart legend in a diagram.
Declaration
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.
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.