Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSCustomChartPanel.Draw(TCanvas,TCanvasRect) Method

Scroll Prev Top Next More

Paints the chart panel, including its    Background,    Header,    Footer,    Charts, etc to the specified canvas and in the specified rectangle. Use the Draw method to paint the chart panel on any canvas you want.

A chart panel is composed of, and draws in the following order, these elements: A chart panel is composed of, and draws in the following order, these elements:

Panel Itself

Background (the surface or layer behind all chart panel elements)

Gradient (Drawn behind the chart panel elements and obscures the Background)

Header (the area above where the charts are drawn)

Footer (the area below where the charts are drawn)

BottomAxis

TopAxis

LeftAxis

RightAxis

ChartBackground

Charts

Legend (the text box that labels the charts or their values)

Foreground (the surface or layer in front of all chart panel elements)

Every element is optional and is controlled by their Visible property.

In addition, the    ChartShadow defines the attributes of the shadow that all chart elements can optionally cast.
 

Namespace: FMX.RS.ChartPanel

Parameters

Canvas

Type: TCanvas

ARect

Type: TCanvasRect

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb