Bump.
So, is it clear from this error message that this is the same
bug, or
is there a way around it?
Thanks.
- Tom
Tom
Fitzpatrick wrote:
>
> OK - assuming the "right" way to do this is
to call the showDataEffect
> functon on the ColumnSet, here's the error
message I receive:
>
> TypeError: Error #1009: Cannot access a
property or method of a null
> object reference.
> at
mx.charts.effects.effectClasses::SeriesInterpolateInstance/play()
>
at mx.effects::EffectInstance/startEffect()
> at
mx.effects.effectClasses::ParallelInstance/play()
> at
mx.charts.chartClasses::ChartBase/::advanceEffectState()
>
at
>
mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::updateDisplayList()
>
at
>
mx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList()
>
at mx.core::UIComponent/validateDisplayList()
> at
mx.managers::LayoutManager/::validateDisplayList()
> at
mx.managers::LayoutManager/::doPhasedInstantiation()
> at
Function/http://adobe.com/AS3/2006/builtin::apply
> <http://adobe.com/AS3/2006/builtin::apply>()
>
at mx.core::UIComponent/::callLaterDispatcher2()
> at
mx.core::UIComponent/::callLaterDispatcher()
>
> The error
alert is shown while the app is starting up. I get a different
> error
when I call the showDataEffect function on the individual
> ColumnSeries
in the ColumnSets. If that's helpful I can send that as well.
>
> -
Tom
>
> Ely Greenfield wrote:
> >
> >
>
>
> > Hi Tom. chances are you're running into the same bug (stacked
series +
> > interpolation effects) that a number of people have hit.
Can you send
> > a longer stack trace?
> >
> >
Ely.
> >
> >
> >
----------------------------------------------------------
>
> *From:* [EMAIL PROTECTED]ups.com
> <mailto:flexcoders%40yahoogroups.com>
>
[mailto:[EMAIL PROTECTED]ups.com
<mailto:flexcoders%40yahoogroups.com>]
> > *On Behalf
Of *Tom Fitzpatrick
> > *Sent:* Thursday, September 07, 2006 5:07
AM
> > *To:* [EMAIL PROTECTED]ups.com
<mailto:flexcoders%40yahoogroups.com>
> > *Subject:*
[flexcoders] Data interpolation in ColumnSets
> >
> > I have a
Cartesian chart containing two ColumnSeries in two ColumnSets,
> > like
this:
> >
> > <mx:series>
> > <mx:ColumnSet
columnWidthRatio=".375" offset="-.21"
> >
type="stacked">
> > <mx:ColumnSeries alpha=".6"
yField="costs" />
> > <mx:ColumnSeries alpha=".6"
yField="oneTime"/>
> > </mx:ColumnSet>
>
>
> > <mx:ColumnSet columnWidthRatio=".375"
offset="0.21"
> > type="stacked">
> >
<mx:ColumnSeries yField="revenue" />
> > <mx:ColumnSeries
yField="overhead" />
> > </mx:ColumnSet>
> >
</mx:series>
> >
> > My problem is that data
interpolation doesn't seem to work in this
> > context.
>
>
> > I set up an interpolation like this:
> >
> >
<mx:SeriesInterpolate id="moveData"
> > duration="500"
>
> minimumElementDuration="200"
> >
elementOffset="0"/>
> >
> > But when I try to call it
either from the individual ColumnSeries or the
> > ColumnSets,
using:
> >
> > showDataEffect="moveData"
>
>
> > I get an error message: "Cannot access a property or method of
a null
> > object reference."
> >
> > Can anyone spot
the problem - or is this not possible in this setup?
> >
> > -
Tom
> >
> >
>
>