Pies Series; exploding a slice
Pies Series; exploding a slice
In the chart editor I can expode the slice for the largest slice only. since this is the most prominent slice, it would never be the one a user explodes. In the interactive mode, the mouse click can explode a slice. What I need to do is select a slice to explode and save this information so when the chart is viewed again, this slice is always exploded. Can this be done?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bmariani,
You can select the slice to explode using:
Using the code below and including units TeeStore and TeeEDITPro will save and load the chart with the exploded slice.
You can select the slice to explode using:
Code: Select all
Series1.ExplodedSlice[8];
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);begin
SaveChartToFile(Chart1,'c:\myChart.tee',True);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
LoadChartfromFile(TCustomChart(Chart1),'c:\myChart.tee');
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |