TRSCustomChart.Draw(TCanvas,TCanvasRect,TRSChartAxis,TRSChartAxis,Boolean,Boolean) Method |
Scroll Prev Top Next More |
Paints the chart to the specified Canvas in the specified location. The Draw Method uses the supplied TRSChartAxis (instead of the HorizontalAxis and VerticalAxis properties) to convert the chart values into pixel coordinates.
Unlike the regular Draw method, this method draws the axes as well (useful for when the chart is not connected to a panel).
Use the Draw method to paint the chart to any canvas and anywhere and with any size on the canvas.
Namespace: RSChartPanel
Delphi |
public |
Parameters
Canvas
Type: TCanvas
ARect
Type: TCanvasRect
VertAxis
Type: TRSChartAxis
HorizAxis
Type: TRSChartAxis
UpdateAxis
Type: Boolean
SuppressEvents
Type: Boolean
The Draw method calls the Drawing method first (which can abort the draw process), then InternalDraw, and finally Drawn method. |