PDA

View Full Version : Bind XML object to chart by the Attributes


kminev
07-02-2008, 09:18 PM
I need to bind xml object to my chart, but I need to get the values from the attributes of the xml.

My xml structure is as follows:

<Trade OrNo="xxx" Date="Wed Jan 16 10:46:00 GMT -0600 2008" IP="xx.xx.xx.xx" Ex="LIFFE" A="Delete" Trd="xxxx" W2G="16" W2E="328" G2E="312"/>

I've done it when I don't have any attribute, but only elements and I did it in the following patter. chart.dataSource = xml.children();

and it worked.

With attributes it doesn't seem to be working.

Any suggestions would be appreciated.

thanks