1 Reply Latest reply on Jun 10, 2007 2:32 PM by mxc4

    Error: Type was not found or was not a compile-time constant: PieChart.

    mxc4
      Hi all,

      I am getting an obtuse error message from the compiler again. I get

      Error: Type was not found or was not a compile-time constant: PieChart.

      For the following code

      <mx:VBox>
      <mx:PieChart id="dealsPieChart" dataProvider="{parentApplication.services.webservice.getDealData.lastResult.SeriesVO}" showDataTips="true">
      <mx:series>
      <mx:PieSeries labelPosition="callout" field="count" nameField="name"/>
      </mx:series>
      </mx:PieChart>
      <mx:Legend dataProvider="{dealsPieChart}"/>
      </mx:VBox>

      I don't know what I get this error. According to the examples I read on the flex site about the charts all seem fine. Any pointers welcom.