--- In flexcoders@yahoogroups.com, "flexnoob" <flexn...@...> wrote:
>
> 
> I am trying to construct a pie chart using XML data and the 
resulting
> chart is empty. Because I am using the trial version I do see the
> "flex data visualization trial" message. However, the pie chart
> does not appear. I have the xml file located in the src directory.
> 
> 
> 
> My flex 3 code:
> 
> 
> 
> <?xml version="1.0" encoding="utf-8"?>
> 
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> 
>      creationComplete="rockstar.send()">
> 
> 
> 
>      <mx:HTTPService id="rockstar" url="piebv.xml" />
> 
> 
> 
> 
> 
>      <mx:PieChart width="300" height="300" >
> 
>          <mx:series>
> 
>              <mx:PieSeries
> dataProvider="{rockstar.lastResult.piebv.employee}"

Try removing the piebv in the above line.

HTH;

Amy

Reply via email to