I have created my own datasource to link my custom data to TCHart, and it works like a charm.
But now I want to allow my user to create charts and store them (as a template) including the data source links rather than the data itself.
Is there an example for doing this? Any tips?
Regards - Hans
Store TCHart, preserving datasources links
-
- Newbie
- Posts: 16
- Joined: Thu Nov 10, 2011 12:00 am
Re: Store TCHart, preserving datasources links
Hi Hans,
I'm afraid TeeChart doesn't store the datasource connection. When you apply a connection TeeChart internally loops into the dataset and calls the according Add/AddXY function so it ends in an internal array of values, as without any datasource connection.
So you should do it manually too.
I'm afraid TeeChart doesn't store the datasource connection. When you apply a connection TeeChart internally loops into the dataset and calls the according Add/AddXY function so it ends in an internal array of values, as without any datasource connection.
So you should do it manually too.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |