What is the code to access multiple layers of charts using SubChartTool? I have 5 layers of donut charts each within each other built with the Chart Editor, and I need to rotate each donut separately. I can rotate the highest level donut, but haven't found the code to access the lower charts.
Thanks in advance for any help!
How to access in code many chart layers using SubChartTool?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi pappa,
You can acces SubChart's charts doing ChartTool1.Charts[ChartIndex].Chart. For example:
You can acces SubChart's charts doing ChartTool1.Charts[ChartIndex].Chart. For example:
Code: Select all
(ChartTool2.Charts[0].Chart.Tools.Items[0] as TColorLineTool).Value := ChartTool1.Value;
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 |