0 Replies Latest reply on May 26, 2008 9:24 AM by garag



      I have a WebService that return an XML like this:


      I would use the XML values to populate a LineChart, all the nodes "Date" on the x axis and all the nodes "Price" on y axis. The code that I used is the following

      var localSeries : LineSeries = new LineSeries();
      localSeries.dataProvider = XMLReturnedByWebService;
      localSeries.yField = "Price";
      localSeries.xField = "Date";

      but it doesn't work.

      My question is this: is it possible to assign to the dataProvider property of a LineSeries an XML or it is mandatory use an ArrayCollection?

      Any suggestion will be appreciate.

      Thank you very much.