Occurs right before the Charts are drawn. Use the OnDrawingCharts event to paint behind the Charts before it is drawn over top. By setting the DoDraw parameter to False, you can also prevent the Charts from drawing. The Canvas parameter contains the canvas where the Charts will be drawn, and the ARect parameter specifies where on the canvas the Charts will be drawn.
Namespace: RSChartPanel
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: Delphi |
procedure TForm1.RSChartPanel1DrawingGradient(Sender: TObject; |