Page 1 of 1
SeriesTextSource, why use it?
Posted: Thu Mar 16, 2006 4:07 am
by 9345273
A client wanted to import text data to graph along side some simulated data. We thought we'd use SeriesTextSource but after some experimentation we couldn't in the end see the point of using it. It turns out we have to manually create the series first before we can import the data. So I am wondering what value does the SeriesTextSource have, since we can easily use a TStringList to read CSV data.
Have we missunderstood the function of SeriesTextSource?
Posted: Thu Mar 16, 2006 11:34 am
by narcis
Hi hsauro,
The Series TextSource component is used to fill a Series with points
coming from text. Text can be loaded from Strings, File or Web URL address.
To find what would better fit your needs I suggest you to have a look at the importing and exporting tutorial available with TeeChart documentation.
Posted: Thu Mar 16, 2006 10:05 pm
by 9345273
Thanks for the reply, in the end it was easier to use a CSV reader to load the data in ourselves. It would be nice if the text component had the option to create the series objects aswell, say by passing the class of the series to the call. But it's ok, we implemented the requirement.