In your <mx:Script> block try:

import mx.charts.PieChart;
public var pie:PieChart
pie.dataProvider

-Jeff


--- In flexcoders@yahoogroups.com, "fflexhelp" <[EMAIL PROTECTED]> wrote:
>
> Hi
> I am trying to create pie charts dynamically.
> Var myPieChart:Piechart;
> in the init()
> {
> myPieChart=new PieChart();
> myPieChart. it does not give the dataprovider for the pie chart.when 
> you try creating the same chart using mxml tags it allows you to set 
> dataProvider.
> 
> 
> }
> can someone please help me on this?
>


Reply via email to