Multiple series in one file/stream

TeeChart for ActiveX, COM and ASP
Post Reply
marksonbase
Newbie
Newbie
Posts: 10
Joined: Wed May 12, 2004 4:00 am

Multiple series in one file/stream

Post by marksonbase » Thu May 13, 2004 11:29 pm

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.

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Fri May 14, 2004 6:09 am

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
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

marksonbase
Newbie
Newbie
Posts: 10
Joined: Wed May 12, 2004 4:00 am

Post by marksonbase » Mon May 17, 2004 7:19 pm

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

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Wed May 19, 2004 8:11 am

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
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply