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()
    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] [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Tom Fitzpatrick
> *Sent:* Thursday, September 07, 2006 5:07 AM
> *To:* [email protected]
> *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
>
>  





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to