4 Replies Latest reply on Oct 21, 2008 4:38 PM by tt1234_us

    xml file and chart

    tt1234_us
      Hi,

      I just started to use flex. I have a question of how to use chart. I have a xml file that includes the following data:

      <x> 2.3 4.5 5.6 6.4 7 10 </x>
      <y> 21 32 43.2 45 67 24.5 </y>

      I want to plot a column chart. I know from the example that I can use the following format to plot the chart:

      <data1>
      <x>2.3 </x>
      <y>21 </y>
      </data1>

      <data2>
      <x>4.5 </x>
      <y>32 </y>
      </data2>

      I wonder if there is a way that I can use my original format to display the chart?

      Thanks for help!

      Regards,

      Tom