TChart
Hierarchy Properties Methods Events
Unit
Chart
Description
TChart is the central component in TeeChart library.
TChart is a VCL TPanel derived component hugely expanded to include capabilities specific to charting and graphing purposes.
TChart is the TCustomChartElement.ParentChart component for TChartSeries and TCustomAxisPanel.Tools.
All Series have a ParentChart property that must refer to a TChart or TDBChart.
You can create Chart components both at design and run-time:
var MyChart : TChart;
MyChart := TChart.Create( Self );
MyChart.Parent := Self;
MyChart.Left := 100;
MyChart.Top := 50;
MyChart.Show;
You can also add series to a Chart using code:
MyChart.AddSeries( TBarSeries.Create( Self ) );
or...
MyChart.AddSeries( TLineSeries );
or...
var P : TPieSeries;
P := TPieSeries.Create( Self );
P.ParentChart := MyChart;
Many charts can co-exist in a Form or Frame.
TeeChart components can also be housed in an ActiveX Form, CGI or SOAP web services application.
For an indepth look at how to create Charts with TeeChart see the TeeChart User Guide.
The database chart TDBChart and the QuickReport TQRChart are both derived from TChart component.