The Foreground property is the surface or layer in front of all chart panel elements. Set the properties of the Foreground property to change the visual aspect of the background. Note that the Foreground can obscure either partially or completely the other elements of a chart panel.
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.,
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.