Just to follow up on this, for everyone on the list...data effects should be assigned to individual column/bar/area series, not their parent sets.
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Anatole Tartakovsky
Sent: Saturday, September 09, 2006 6:26 PM
To: [email protected]
Subject: Re: [flexcoders] Data interpolation in ColumnSets

Ely,

Had similar issue couple of weeks back, can't send code now as it is on-site inside real-time trading system, but in short if you start with empty dataProvider populate in real-time and have attributes like  form="curve" and interpolateValues="true" and you get error similar to above.
Should be easy to simulate going from any emply collection/adding one item at a time.
 
Thank you,
Anatole

 
On 9/8/06, Ely Greenfield <[EMAIL PROTECTED]com> wrote:

 
 
Hi Tom. I'm not sure, but that actually doesn't look like it's the same problem.  Can you send me a simple 1-file sample offline?
 
Thanks.
 
Ely.
 


From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Tom Fitzpatrick
Sent: Friday, September 08, 2006 9:50 AM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] Data interpolation in ColumnSets

 

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
> >
> >
>
>


__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to