ICanvas.Draw
ICanvas
procedure Draw(X, Y: Integer; Const Image: IPicture);
Type Library
TeeChartx
Description
Use the Draw method to paint the Chart in your preferred Canvas and region.
It can also be used to PrintChart the Chart in a customized way:
Example [Delphi]:
Printer.BeginDoc ;
Chart1.Draw( Printer.Canvas , MyRectangle ) ;
Printer.EndDoc ;
Where "MyRectangle" could be any valid rectangular region for the canvas.
MyRectangle.Left := 0 ;
MyRectangle.Right := Printer.PageWidth div 2 ;
MyRectangle.Top := 0 ;
MyRectangle.Bottom:= Printer.PageHeight div 3 ;