Is it possible to have a dataset as the datasource for a subchart.
In the charteditor at design time it is not a choice.
If it is possible to add at runtime, How?
Mike
SubCharts DataSources
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mike,
That's not possible for now as you can see in the discussion here. At runtime you could do as shown in Tutorial 8 - Database access. You'll find tutorials at TeeChart's program group.
That's not possible for now as you can see in the discussion here. At runtime you could do as shown in Tutorial 8 - Database access. You'll find tutorials at TeeChart's program group.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mike,
You should use ChartTool1.Charts[0].Chart, for example:
Hope this helps!
You should use ChartTool1.Charts[0].Chart, for example:
Code: Select all
ChartTool1.Charts[0].Chart.Axes.Left.SetMinMax(0,10);
ChartTool1.Charts[0].Chart[0].Add(5);
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 |