I've spent hours and hours tracking down an intermittent failure of
the showDataEffect to trigger. Sometimes it just didn't work.

After all these hours, I realized the effect is actually being
canceled! In ChartBase, setActualSize is being called, and the effect
is being canceled.

override public function setActualSize(w:Number, h:Number):void
{
   if (w != this.width || h != this.height)
   cancelEffect();

   super.setActualSize(w, h);
}


There are two things I can't figure out... the first one is why it is
necessary to cancel any pending effect if the size is different, but
the more immediate one is why my chart is changing size when all that
changed was the chart data? All I've done is re-query my chart for
different data.

Seems like effects are pretty worthless if they're intermittent. Am I
overlooking something here or is this a limitation that was considered
acceptable?

thanks,
PW


Reply via email to