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: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of pasflexSent:
Thursday, June 15, 2006 3:55 PMTo:
flexcoders@yahoogroups.comSubject: [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="#FF"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:Scriptmx: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:verticalAxismx:CategoryAxis
dataProvider="{Medals}"
categoryField="Country"//mx:verticalAxismx:seriesmx:Arraymx: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:BarChartmx: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
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___