Hide Comments
Hide Comments

TRSCustomChartPanel.OnDrawingBottomAxis Event

Comments (0)

Occurs right before the  BottomAxis is drawn. Use the OnDrawingBottomAxis event to paint behind the BottomAxis before it is drawn over top. By setting the DoDraw parameter to False, you can also prevent the BottomAxis from drawing. The Canvas parameter contains the canvas where the BottomAxis will be drawn, and the ARect parameter specifies where on the canvas the BottomAxis will be drawn.

Namespace: RSChartPanel

expandingSyntax

Delphi

public
  property OnDrawingBottomAxis: TRSChartDrawingEvent read GetOnDrawingBottomAxis write SetOnDrawingBottomAxis;
 

Value

Type: TRSChartDrawingEvent

expandingExamples

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;
   const Canvas: TCanvas; ARect: TRect; var DoDraw: Boolean);
 begin
      DoDraw := False;
 end;

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb