RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Thanks for the tips. We think 40k is overboard (it's pretty useless for the purpose we're writing the chart for!), but if a client loads that much data, we don't want IE to crash and burn. I've put tracing in, but most of the time is spent inside the plot series class. When we have the source, I'll duplicate PlotSeries and put tracing in, and see if we can make things a little faster :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 30 June 2006 17:21To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Well, it wouldn't surprise me if 40k points bogs down the charts tremendously. A couple of suggestions: 1) set explicit min/max values on your axes, if you know them. This prevents having to examine the data. 2) turn filtering off on your series if you know all of your data lies within the min/max range. 3) better yet, write your own plot series. There's a bunch of places in there you could optimize it for specific scenarios. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Friday, June 30, 2006 1:19 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Cool! I believe the budget has all been approved for most of our team =) We're currently using the 30 day trial (RTM), but currently having a bit of an issue with 40k points on a plot chart (with 3 best fit lines). It eats 100% CPU (IE process) for about 3 minutes while doing it. The bottleneck seems to be either the SOAP decoding, or the chart plotting. When I can get my machine running the debug player again (which, if isn't today as a result of Matt Chotin's recent post, will be after a rebuild of my machine next week), I can start putting some tracing in, but at the moment we're not really sure where to start looking! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 17:28To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Yes, you get full access to the chart source when you purchase a license. Ely. p.s. Oh yeah...WHO! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Thursday, June 29, 2006 3:32 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Do we get the source for the charts when we buy FB+charts? That would be very handy! :D We're using the trial now, but I believe there might be a purchase for a number of licenses soon :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 00:12To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart 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:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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="0xFF"/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x="10"
RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Cool! I believe the budget has all been approved for most of our team =) We're currently using the 30 day trial (RTM), but currently having a bit of an issue with 40k points on a plot chart (with 3 best fit lines). It eats 100% CPU (IE process) for about 3 minutes while doing it. The bottleneck seems to be either the SOAP decoding, or the chart plotting. When I can get my machine running the debug player again (which, if isn't today as a result of Matt Chotin's recent post, will be after a rebuild of my machine next week), I can start putting some tracing in, but at the moment we're not really sure where to start looking! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 17:28To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Yes, you get full access to the chart source when you purchase a license. Ely. p.s. Oh yeah...WHO! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Thursday, June 29, 2006 3:32 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Do we get the source for the charts when we buy FB+charts? That would be very handy! :D We're using the trial now, but I believe there might be a purchase for a number of licenses soon :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 00:12To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart 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:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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="0xFF"/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x="10" y="408" label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = d1"/ mx:Button x="83" y="408" label="" click="s2.dataProvider = d2; s1.dataProvider = d1"//mx:Application -- Jason [Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ [Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.
Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
On Friday 30 June 2006 09:18, Daniel Tuppeny wrote: but at the moment we're not really sure where to start looking! Write a test file that just does the SOAP call and see how long it takes. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Well, it wouldn't surprise me if 40k points bogs down the charts tremendously. A couple of suggestions: 1) set explicit min/max values on your axes, if you know them. This prevents having to examine the data. 2) turn filtering off on your series if you know all of your data lies within the min/max range. 3) better yet, write your own plot series. There's a bunch of places in there you could optimize it for specific scenarios. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Friday, June 30, 2006 1:19 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Cool! I believe the budget has all been approved for most of our team =) We're currently using the 30 day trial (RTM), but currently having a bit of an issue with 40k points on a plot chart (with 3 best fit lines). It eats 100% CPU (IE process) for about 3 minutes while doing it. The bottleneck seems to be either the SOAP decoding, or the chart plotting. When I can get my machine running the debug player again (which, if isn't today as a result of Matt Chotin's recent post, will be after a rebuild of my machine next week), I can start putting some tracing in, but at the moment we're not really sure where to start looking! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 17:28To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Yes, you get full access to the chart source when you purchase a license. Ely. p.s. Oh yeah...WHO! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Thursday, June 29, 2006 3:32 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Do we get the source for the charts when we buy FB+charts? That would be very handy! :D We're using the trial now, but I believe there might be a purchase for a number of licenses soon :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 00:12To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart 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:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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="0xFF"/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x="10" y="408" label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = d1"/ mx:Button x="83" y="408" label="" click="s2.dataProvider = d2; s1.dataProvider = d1"//mx:Application -- Jason [Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email
RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Do we get the source for the charts when we buy FB+charts? That would be very handy! :D We're using the trial now, but I believe there might be a purchase for a number of licenses soon :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 00:12To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart 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:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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="0xFF"/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x="10" y="408" label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = d1"/ mx:Button x="83" y="408" label="" click="s2.dataProvider = d2; s1.dataProvider = d1"//mx:Application -- Jason [Inbound Mail Scanned by MessageLabs] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- 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. __,_._,___
RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Yes, you get full access to the chart source when you purchase a license. Ely. p.s. Oh yeah...WHO! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Thursday, June 29, 2006 3:32 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Do we get the source for the charts when we buy FB+charts? That would be very handy! :D We're using the trial now, but I believe there might be a purchase for a number of licenses soon :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29 June 2006 00:12To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart 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:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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="0xFF"/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x="10" y="408" label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = d1"/ mx:Button x="83" y="408" label="" click="s2.dataProvider = d2; s1.dataProvider = d1"//mx:Application -- Jason [Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- 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. __,_._,___
RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
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:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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="0xFF"/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x="10" y="408" label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = d1"/ mx:Button x="83" y="408" label="" click="s2.dataProvider = d2; s1.dataProvider = d1"//mx:Application -- 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. __,_._,___
Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Thanks for the quick reply. We should be purchasing Builder+charting this week.On 6/28/06, Ely Greenfield [EMAIL PROTECTED] wrote: 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 TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: flexcodersSubject: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart I 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=0xFF/ /mx:fill /mx:ColumnSeries /mx:series /mx:ColumnChart mx:Button x=10 y=408 label=lt;lt; 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. __,_._,___
RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
WHOOHOOO! ;) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 4:30 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Thanks for the quick reply. We should be purchasing Builder+charting this week. __._,_.___ -- 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. __,_._,___
Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart
Sounds like Ely's salary is directly connected to the number of Charts purchases... ;-)On 6/28/06, Ely Greenfield [EMAIL PROTECTED] wrote: WHOOHOOO! ;) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 4:30 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Thanks for the quick reply. We should be purchasing Builder+charting this week. __._,_.___ -- 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. __,_._,___