I tried your sample against the SDK mainline, and the bars are showing up fine. So it looks like it's been fixed already.
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of pasflex
Sent: Thursday, June 15, 2006 3:55 PM
To: [email protected]
Subject: [flexcoders] BarChart bug f2b3

If the type on a bar chart is set to 'stacked' or '100%' the bars do
not show up at all. Works fine on a column chart.

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundColor="#FFFFFF">
<mx:Script>
<![CDATA[
private var Medals:Array =
[
{ Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
{ Country: "China", Gold: 32, Silver:17, Bronze: 14 },
{ Country: "Russia", Gold: 27, Silver:27, Bronze: 38 }
];
]]>
</mx:Script>
<mx:Panel title="Column and Bar Chart Panel" height="100%"
width="100%">
<mx:BarChart id="bar" paddingLeft="5" height="100%"
type="stacked"
width="45%" paddingRight="5" dataProvider="{Medals}"
showDataTips="true">
<mx:verticalAxis>
<mx:CategoryAxis dataProvider="{Medals}"
categoryField="Country"/>
</mx:verticalAxis>
<mx:series>
<mx:Array>
<mx:BarSeries yField="Country" xField="Gold"
displayName="Gold"/>
<mx:BarSeries yField="Country"
xField="Silver" displayName="Silver"/>
<mx:BarSeries yField="Country"
xField="Bronze" displayName="Bronze"/>
</mx:Array>
</mx:series>
</mx:BarChart>
<mx:Legend dataProvider="{bar}"/>
</mx:Panel>
</mx:Application>

__._,_.___

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