The ChartBackground property is the surface or layer behind all charts, e.g. the ChartRect area. Set the properties of the ChartBackground property to change the visual aspect of the chart background.
A chart layer is similar to layers in Adobe Photoshop. The TRSChartPanel component displays itself using layers: there is a
Background layer that is painted first followed by a
Gradient layer which is painted on top (and can obscure) the background layer. Then, the
ChartBackground layer and the
Charts and related graphical elements are displayed (e.g.,
Header,
Footer,
Legend, axes). Finally, the TRSChartPanel paints a
Foreground layer on top of everything. The RSChartPanel.TRSChartLayer class provides the graphical properties for the Background and Foreground layers.
Namespace: RSChartPanel
Delphi |
public |
Property Value
Type: TRSChartLayer