Occurs right before the ChartBackground is drawn. Use the OnDrawingChartBackground event to paint behind the ChartBackground before it is drawn over top. By setting the DoDraw parameter to False, you can also prevent the ChartBackground from drawing. The Canvas parameter contains the canvas where the ChartBackground will be drawn, and the ARect parameter specifies where on the canvas the ChartBackground will be drawn.
Namespace: FMX.RS.ChartPanel
Delphi |
public |
Value
Type: TRSChartDrawingEvent
The following code uses the OnDrawingGradient event handler to prevent the gradient from being drawn. The same principle applies here:
|
Reference |