TSubChartTool
Hierarchy Properties Methods Events
Unit
TeeSubChart
Description
This tool can be used to create many Charts into a parent Chart, having the possibility to customize each Chart as desired.
A simple code example of creation would be :
uses
TeeSubChart;
var
SubChart : TSubChartTool;
SubChart:=TSubChartTool.Create(Self);
with
SubChart
do
begin
ParentChart:=Chart1;
Charts.AddChart('Chart1');
with
Charts[0]
do
begin
Height:=130;
Width:=170;
with
Chart
do
begin
BevelOuter:=bvLowered;
AddSeries(TBubbleSeries.Create(self));
Series[0].FillSampleValues(5);
MarginTop:=5;
MarginBottom:=5;
MarginLeft:=5;
MarginRight:=5;
ApplyChartTheme(ChartThemes.Theme[3],Chart,7);
end
;
end
;
end;