![]() |
![]() |
||||||
|
|||||||
| Tags: bug, linearaxiss |
![]() |
|
|||
|
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> |
| Sponsored Links |
|
|||
|
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]. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise