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
______________________________________________________________________
__._,_.___

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