Good find Jason. I've got a fix, that will go into the next update for flex. If you have purchased the charting components, and have the source available, I could talk you through a temporary fix.Ely.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes
Sent: Wednesday, June 28, 2006 1:39 PM
To: flexcoders
Subject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chartI have found a bug in Flex 2 (final) showDataEffect combined with stacked columns. You get an error. If you take off the stacked setting, you do not get an error. Or, if you take off the effect and leave stacked, no error. Here's the sample code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " layout="absolute">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable] public var d1:ArrayCollection = new ArrayCollection([
{x:1,y:10},{x:2,y:20},{x:3,y:30},{x:4,y:40},
{x:5,y:50},{x:6,y:60},{x:7,y:70},{x:8,y:80}]);
[Bindable] public var d2:ArrayCollection = new ArrayCollection([
{x:1,y:80},{x:2,y:70},{x:3,y:60},{x:4,y:50},
{x:5,y:40},{x:6,y:30},{x:7,y:20},{x:8,y:10}]);
]]>
</mx:Script>
<mx:ColumnChart id="myChart" type="stacked">
<mx:SeriesInterpolate id="interp" duration="1000" minimumElementDuration="200" elementOffset="0"/>
<mx:series>
<mx:ColumnSeries id="s1" xField="x" yField="y" dataProvider="{d1}" showDataEffect="interp">
<mx:fill>
<mx:SolidColor color="0x00FF00"/>
</mx:fill>
</mx:ColumnSeries>
<mx:ColumnSeries id="s2" xField="x" yField="y" dataProvider="{d2}" showDataEffect="interp">
<mx:fill>
<mx:SolidColor color="0xFF0000"/>
</mx:fill>
</mx:ColumnSeries>
</mx:series>
</mx:ColumnChart>
<mx:Button x="10" y="408" label="<<" click=" s1.dataProvider = d2; s2.dataProvider = d1"/>
<mx:Button x="83" y="408" label=">>" click="s2.dataProvider = d2; s1.dataProvider = d1"/>
</mx:Application>
--
Jason
--
Jason __._,_.___
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Flex 2 (final) bug with showDataEffect and s... Pan Troglodytes
- RE: [flexcoders] Flex 2 (final) bug with showDataEff... Ely Greenfield
- Re: [flexcoders] Flex 2 (final) bug with showDat... Pan Troglodytes
- RE: [flexcoders] Flex 2 (final) bug with sho... Ely Greenfield
- Re: [flexcoders] Flex 2 (final) bug with... Brendan Meutzner
- Re: [flexcoders] Flex 2 (final) bug... Pan Troglodytes
- Re: [flexcoders] Flex 2 (final) bug with showDat... Tom Chiverton
- RE: [flexcoders] Flex 2 (final) bug with showDataEff... Daniel Tuppeny
- RE: [flexcoders] Flex 2 (final) bug with showDat... Matt Horn
- RE: [flexcoders] Flex 2 (final) bug with showDat... Ely Greenfield
- RE: [flexcoders] Flex 2 (final) bug with showDataEff... Daniel Tuppeny
- Re: [flexcoders] Flex 2 (final) bug with showDat... Tom Chiverton
- RE: [flexcoders] Flex 2 (final) bug with showDat... Ely Greenfield
Reply via email to
Thanks for the quick reply. We should be purchasing Builder+charting this week.
On 6/28/06, Ely Greenfield <[EMAIL PROTECTED]
> wrote: