XML source

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Tim
Newbie
Newbie
Posts: 4
Joined: Tue Mar 04, 2003 5:00 am

XML source

Post by Tim » Wed May 12, 2004 3:50 pm

I have a schema that looks like this where I want to graph the 'count' or 'occupany' or 'mean speed' data verse an array number that I get from the collection. Is this possible and if so can you point me in the correct direction? thanks

- <BinPair>
- <ExtBinData>
- <BinData>
<Count>46</Count>
<Occupancy>23</Occupancy>
</BinData>
<MeanSpeed>131</MeanSpeed>
</ExtBinData>
- <ExtBinData>
- <BinData>
<Count>46</Count>
<Occupancy>23</Occupancy>
</BinData>
<MeanSpeed>131</MeanSpeed>
</ExtBinData>
</BinData>

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Wed May 19, 2004 2:35 pm

Hi, Tim.

Perhaps you could create three series, populate each series with specific node values (count, occupancy and mean speed) and then show only one series at the time (by setting other two series Active property to false).

As for loading the data from xml file : you could try using the approach David descriped in the following article. It should give you good idea what can and can't be done automatically by simply connecting xml source to TTeeXMLSource component.
Marjan Slatinek,
http://www.steema.com

Post Reply