Hide Comments
Hide Comments

TRSCustomChart.Draw(TCanvas,TCanvasRect) Method

Comments (0)

Paints the chart to the specified Canvas in the specified location. The Draw method first calls the    OnDrawing event, which signals that it is about to draw and allows users to stop the drawing before it occurs. Then, it calls the protected    InternalDraw method to actually do the drawing. Finally, it calls the OnDraw event to signal the end of drawing of the chart.

Use the Draw method to paint the chart to any canvas and anywhere and with any size on the canvas.

alert_noteNotes to Callers

The Draw Method uses the    HorizontalAxis and    VerticalAxis properties to convert the chart values into pixel coordinates. If you want to use a different axis (but not change the above properties), call the overloaded Draw method.

Namespace: RSChartPanel



  procedure Draw( const Canvas: TCanvas; ARect: TCanvasRect ); overload; virtual; 



Type: TCanvas


Type: TCanvasRect


The Draw method calls the Drawing method first (which can abort the draw process), then InternalDraw, and finally Drawn method.

expandingSee Also

Comments (0)

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