TRSChartGraphic.Draw(TCanvas,TCanvasRect,TRSChartAxis,TRSChartAxis) Method |
Scroll Prev Top Next More |
Paints the chart graphic to the specified Canvas in the specified location. It uses the current canvas' brush and pen. Use the Draw method to paint the chart graphic to any canvas and anywhere and with any size on the canvas.
The VertAxis and HorizAxis parameters can be used to provide point to pixel conversions (see FMX.RS.ChartPanel.TRSChartAxis ).
Notes to Inheritors |
---|
Descendant classes of TRSChartGraphic override the InternalDraw method to actually paint themselves. |
Namespace: FMX.RS.ChartPanel
Delphi |
public |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
ARect
Type: TCanvasRect
Rectangle in canvas to draw itself
VertAxis
Type: TRSChartAxis
HorizAxis
Type: TRSChartAxis
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 graphic. |