Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCharts > FMX.RS.ChartPanel > Classes > TRSChartGraphic > Methods

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 ).

alert_noteNotes to Inheritors

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

Namespace: FMX.RS.ChartPanel

Parameters

Canvas

Type: TCanvas

Canvas to draw on

ARect

Type: TCanvasRect

Rectangle in canvas to draw itself

VertAxis

Type: TRSChartAxis

HorizAxis

Type: TRSChartAxis

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb