Page 1 of 1

Multiple series in one file/stream

Posted: Thu May 13, 2004 11:29 pm
by 9082453
Hello,

I would like to know if it's possible to create one file that would contain all of the series data in it (10 or more series), and then load it in. I realize that a .tee file does this, but I need a file format that I can create programmatically on the fly (such as XML... from what I can tell TeeChart can't import XML, but rather, only exports XML). Or is there a spec for creating .tee files?

Basically, I would like to send one stream from a URL that contains the data for all of the series, rather than a separate stream for each series.

Thank you for your help.

Posted: Fri May 14, 2004 6:09 am
by Chris
Hi
I realize that a .tee file does this, but I need a file format that I can create programmatically on the fly
You can create tee files programatically as well, e.g.

Code: Select all

Private Sub Command2_Click()
With TChart1
    .Export.asNative.SaveToFile "C:\TEMP\test.tee", True
End With
End Sub

Posted: Mon May 17, 2004 7:19 pm
by 9082453
Thanks for responding Christopher.

Actually, though, I meant that I need to create an 'import' file from scratch (the data has not previously been in a TeeChart control). I need to pull the data from a database (all multiple series of it), and then jam it into one file that the TeeChart control can read.

Is this possible?

Mark

Posted: Wed May 19, 2004 8:11 am
by Chris
Hi Mark --
Actually, though, I meant that I need to create an 'import' file from scratch (the data has not previously been in a TeeChart control). I need to pull the data from a database (all multiple series of it), and then jam it into one file that the TeeChart control can read.

Is this possible?
Sure; you can import XML data using the SeriesXMLSource component ... see the TeeChart AXv6 Feature Demo under:
Welcome! -> New Features -> New Components -> XML Import source