0 Replies Latest reply on Dec 5, 2007 9:32 AM by mauroyb0

    xml chart multiple series

    mauroyb0
      Dear all,

      I have a problem which certainly be very easy. I have a xml varialbe
      like the following :

      var test:String = "<root><entry
      id=123><One><y>813</y><x>270</x></One></entry><entry
      id=123><One><y>890</y><x>280</x></One></entry></root>";
      var xmlData = new XML(test);

      and would like to use this as dataprovider for my chart. Each <entry>
      represent a series. (Rem: the number of <entry> entry is not known at
      the beninig). I then code that :
      <mx:ColumnChart id="columnChart" height="100%" width="100%"
      paddingLeft="0" paddingRight="0"
      showDataTips="true" columnWidthRatio="1"
      maxColumnWidth="1"
      dataProvider ="{xmlData.entry.One}">

      But cannot see the two lines... and even not one...