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 Greenfield
Sent: 30 June 2006 17:21
To: flexcoders@yahoogroups.com
Subject: 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 Tuppeny
Sent: Friday, June 30, 2006 1:19 AM
To: flexcoders@yahoogroups.com
Subject: 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 Greenfield
Sent: 29 June 2006 17:28
To: flexcoders@yahoogroups.com
Subject: 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...WOOOOHOOOOO!
 
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny
Sent: Thursday, June 29, 2006 3:32 AM
To: flexcoders@yahoogroups.com
Subject: 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 Greenfield
Sent: 29 June 2006 00:12
To: flexcoders@yahoogroups.com
Subject: 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 Troglodytes
Sent: Wednesday, June 28, 2006 1:39 PM
To: flexcoders
Subject: [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="0xFF0000"/>
          </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
______________________________________________________________________


[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




__,_._,___

Reply via email to