Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCharting > RSChartPanel > Classes > TRSChartLayer > Methods

TRSChartLayer.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 RSChartPanel.TRSChartAxis ).

alert_noteNotes to Inheritors

Descendant classes of TRSChartGraphic override the InternalDraw method to actually paint themselves.

Namespace: RSChartPanel

Parameters

Canvas

Type: TCanvas

Canvas to draw on

ARect

Type: TCanvasRect

Rectangle in canvas to draw itself

VertAxis

Type: TRSChartAxis

HorizAxis

Type: TRSChartAxis

Overrides

TRSChartGraphic.Draw(TCanvas,TCanvasRect,TRSChartAxis,TRSChartAxis)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb