Josh,

I tried messing with the order but it didnt work. But thanks for your
suggestion. callLater work quite good as well. I think is a better
solution than 1ms timer ;p

Cheers
Raf



--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> That doesn't seem right :)
> 
> Try messing about with the order in which you're setting various
properties
> - perhaps just setting the provider last will do it? Also if that
doesn't
> work, try using callLater() instead of a 1ms timer.
> 
> -J
> 
> On Wed, Apr 16, 2008 at 11:40 AM, Rafael Faria <[EMAIL PROTECTED]>
> wrote:
> 
> >   For some reason if you put a timer to set the dataprovider it work
> > just fine.
> >
> > var loadTimer:Timer = new Timer(1,1);
> > loadTimer.addEventListener("timer", function():void {
> > barchart.dataProvider = chartdata.item });
> > .start();
> >
> > Now.. 1 msecond is what it takes to make it work...
> >
> > weird...
> >
> > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>,
"Rafael
> > Faria"
> >
> > <rafaelfaria.grupos@> wrote:
> > >
> > > What am i doing wrong? The chart works fine but there is no
effect...
> > > not matter what i do it just doesnt play.
> > >
> > > Can someone help me to apply the Series Slide on this chart?! do i
> > > have to do something else?
> > >
> > > i set the style but doesnt work =/
> > >
> > >
> > > var bss:SeriesSlide = new SeriesSlide();
> > > bss.duration = 1000;
> > > bss.direction = "right";
> > >
> > > var bseries:BarSeries = new BarSeries();
> > > bseries.yField = "yfield";
> > > bseries.xField = "xfield";
> > > bseries.setStyle("showDataEffect",bss);
> > >
> > > var barchart:BarChart = new BarChart();
> > > barchart.percentWidth = 100;
> > > barchart.percentHeight = 100;
> > > barchart.showDataTips = true;
> > > barchart.dataProvider = chartdata.item;
> > > barchart.series = [bseries];
> > >
> > > var ca:CategoryAxis = new CategoryAxis();
> > > ca.categoryField = "yfield";
> > > barchart.verticalAxis = ca;
> > >
> > > addChild(barchart);
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls, It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>


Reply via email to