Re: [flexcoders] Changing orientation of labels on chart
Hey Steve,mx:Style@font-face {fontFamily: labelFont;src:url(../resources/arial.ttf);}Bar Chart{fontFamily: labelFont;}/mx:Stylemx:Bar Chart dataProvider={expenses} showDataTips=truemx:horizontalAxisRenderermx:AxisRenderer label Rotation =45//mx:horizontalAxisRenderermx:verticalAxisRenderermx:AxisRenderer label Rotation =45//mx:verticalAxisRenderer.../mx:Bar ChartThe trick is... you have to use an embedded font as the example above shows... if not, no dice...BrendanOn 8/11/06, Steve Gustafson [EMAIL PROTECTED] wrote: Hi,I am looking to change the orientation of labels on a Column chart. Basically I want to be able to render the label vertically instead of horizontally. A real bonus would be to render the label text on an angle. I can do this with the chart component in ColdFusion, so I assume there is a way to do it with Flex.As always, any help is appreciated.Steve __._,_.___ -- 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. __,_._,___
Re: [flexcoders] Changing orientation of labels on chart
Thanks Brendan, that did the trick!SteveOn 8/11/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey Steve,mx:Style@font-face {fontFamily: labelFont;src:url(../resources/arial.ttf); }BarChart{fontFamily: labelFont;}/mx:Stylemx:Bar Chart dataProvider={expenses} showDataTips=truemx:horizontalAxisRenderermx:AxisRenderer label Rotation=45//mx:horizontalAxisRenderermx:verticalAxisRenderermx:AxisRenderer labelRotation=45//mx:verticalAxisRenderer .../mx:BarChartThe trick is... you have to use an embedded font as the example above shows... if not, no dice... BrendanOn 8/11/06, Steve Gustafson [EMAIL PROTECTED] wrote: Hi,I am looking to change the orientation of labels on a Column chart. Basically I want to be able to render the label vertically instead of horizontally. A real bonus would be to render the label text on an angle. I can do this with the chart component in ColdFusion, so I assume there is a way to do it with Flex.As always, any help is appreciated.Steve __._,_.___ -- 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. __,_._,___