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:
|
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
Delphi |
public |
Parameters
Canvas
Type: TCanvas
ARect
Type: TCanvasRect
The following code draws the chart panel in a paintbox's canvas: Delphi |
procedure TForm1.PaintBox1Paint(Sender: TObject); |
Reference |