Adobe Dreamweaver Forums



Last 10 THreads :         roboex32.dll and inetwh32.dll needed in Webhelp? (Last Post : MergeThis - Replies : 3 - Views : 4 )           »          Can Flash Mx buttons operate seporate Dreamweaver MXFrames ? (Last Post : tpwd9904 - Replies : 0 - Views : 1 )           »          Can Flash Mx buttons operate seporate Dreamweaver MXFrames ? (Last Post : tpwd9904 - Replies : 0 - Views : 1 )           »          dumb flex question about mxml arguements (Last Post : Amy Blankenship - Replies : 1 - Views : 2 )           »          extension invalid (Last Post : -=seth=- - Replies : 0 - Views : 1 )           »          Suddenly can't see files on remote server (Last Post : GDrink9085 - Replies : 2 - Views : 3 )           »          DW CS3 won't work on Vista Business (Last Post : Mr Bump 73 - Replies : 0 - Views : 1 )           »          mpg video will play in FF but not in IE (Last Post : Ken Binney - Replies : 1 - Views : 2 )           »          Restate my problem - YET AGAIN (Last Post : Raymond Basque - Replies : 5 - Views : 6 )           »          How to find number of occurance of each number in biglist of numbers? (Last Post : Dan Bracuk - Replies : 3 - Views : 6 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: ,



Reply
  #1 (permalink)  
Old 08-21-2008, 04:14 AM
cmd1996
 
Posts: n/a
Diggs:
Default LinearAxis's bug ?

Hi All
When i used ColumnChart component, i find if data is a big negative
number,mx.charts.LinearAxis's adjustMinMax method computed a error
computedInterval. How can i resolve the problem? Thanks.
Test case like this:

<?xml version="1.0"?>
<!-- charts/BasicColumn.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import mx.collections.ArrayCollection;
import mx.charts.LinearAxis;
import mx.controls.Alert;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"Jan", Profit:-16401640, Expenses:1500},
{Month:"Feb", Profit:-16401640, Expenses:1500}
]);
]]></mx:Script>
<mx:Panel title="Column Chart">
<mx:ColumnChart id="myChart" dataProvider="{expenses}"
showDataTips="true">
<mx:horizontalAxis>
<mx:CategoryAxis id="ca"
dataProvider="{expenses}"
categoryField="Month"
/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries id="columnSeries" xField="Month"
yField="Profit" displayName="Profit" />
</mx:series>
</mx:ColumnChart>
<mx:Legend dataProvider="{myChart}"/>
</mx:Panel>
</mx:Application>




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-29-2008, 10:43 AM
adobenewsbot
 
Posts: n/a
Diggs:
Default Re: LinearAxis's bug ?

Adobe Newsbot hopes that the following resources helps you. NewsBot is experimental and any feedback (reply to this post) on its utility will be appreciated:

Flex 3 - Setting component properties:
Scalar properties, such as a number or string; Array of scalar values, ... that the Flex compiler recognizes incorrect property values, and issues an error
Link: http://livedocs.adobe.com/flex/3/html/mxmlSyntax_3.html

Dave Carabetta: My Thoughts: Array vs. ArrayCollection in Flex 2:
Personal thoughts of Dave Carabetta: Array vs. ArrayCollection in Flex 2 (with a ... To that end, certain Flex 2 framework components use what are known as
Link: http://www.cbetta.com/blog/index.cfm...ldfusion-slant

Flex 3 - Explicit parameter passing and parameter binding:
Explicit parameter passing with RemoteObject and WebService components ..... <mx:request format='xml'> <ns1:doGoogleSearch xmlns:ns1='urn:GoogleSearch'
Link: http://livedocs.adobe.com/flex/3/htm..._access_5.html

Flex Components Sharp Mind:
Filed under: Flex Components Kanu Wadhwa @ 11:27 am. <?xml version=1.0?> ... <mx:ArrayCollection> <mx:Array> <mx:Object title=Stairway to Heaven
Link: http://kanuwadhwa.wordpress.com/cate...ex-components/

Flex 3 - About collections and data provider components:
Optionally, you can assign a raw data object such as an Array, XML, or XMLList object ... The standard Flex framework collections, the ArrayCollection and
Link: http://livedocs.adobe.com/flex/3/htm...oviders_2.html

Item Renderers - Flex 3 Getting Started - Adobe Learning Resources:
<?xml version='1.0' encoding='utf-8'?> <mx:HBox xmlns:mx='http://www.adobe.<br> com/2006/mxml' width='400' height='100' xmlns:me='components.*' > <mx:Script> <!
Link: http://learn.adobe.com/wiki/display/Flex/Item+Renderers


Disclaimer: This response is generated automatically by the Adobe NewsBot based on Adobe [L=Community Engine]http://community.adobe.com/ion/search.html[/L].
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 08:20 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk