Page 1 of 1

LoadFromStrings

Posted: Sat Jan 08, 2011 5:11 pm
by 16658334
Hi. I'm a newbie and have just started using the TChart ocx control. I would like to customise a chart using the chart editor and then save the settings to a string that I can store in my code and then use LoadFromString at runtime. Are there any examples or tutorials on how to do this? Thanks.

Re: LoadFromStrings

Posted: Mon Jan 10, 2011 2:34 pm
by narcis
Hi AccessCoder,

Yes, this is possible saving a chart into TeeChart's native file format (*.tee). You can choose whether saving the file in text or binary format and then load it back in a chart. For more information please have a look at the exporting and importing tutorial which can be found at TeeChart's program group.