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.
Notes 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: FMX.RS.ChartPanel
Delphi |
public |
Parameters
Canvas
Type: TCanvas
ARect
Type: TCanvasRect
The Draw method calls the Drawing method first (which can abort the draw process), then InternalDraw, and finally Drawn method. |