The Brush property, along with the Pen property, controls how the chart draws to the canvas. By changing the Brush's or Pen's values, you can change the appearance of the chart.
For example, by changing the Brush.Style property, you can change the pattern used to fill areas with a RSCharts|TRSAreaChart or pie slices with the RSCharts|TRSPieChart. Depending on the type of chart, the Brush property also controls the Color of the chart (e.g., for pie charts, setting the Color property or the Brush.Color property is equivalent.
Note |
---|
Some chart types use Brush and Pen values from the TRSChartValue descendant class itself. In which case, these properties are ignored. |
Namespace: FMX.RS.ChartPanel
Delphi |
public |
Property Value
Type: TBrush
The following example modifies the appearance of an area chart.
|