Hide Comments
Hide Comments

TRSCustomChart.Draw(TCanvas,TCanvasRect,TRSChartAxis,TRSChartAxis,Boolean,Boolean) Method

Comments (0)

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

expandingSyntax

Delphi

public
  procedure Draw( const Canvas: TCanvas; ARect: TCanvasRect;
  VertAxis, HorizAxis: TRSChartAxis;
  UpdateAxis: Boolean = True;
  SuppressEvents: Boolean = False ); overload; virtual;
 

Parameters

Canvas

Type: TCanvas

ARect

Type: TCanvasRect

VertAxis

Type: TRSChartAxis

HorizAxis

Type: TRSChartAxis

UpdateAxis

Type: Boolean

SuppressEvents

Type: Boolean

expandingRemarks

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