Thanks Alex!

--- In flexcoders@yahoogroups.com, Alex Harui <[EMAIL PROTECTED]> wrote:
>
> ColumnChartModule.mxml
> 
> <mx:Module xmlns:mx="http://www.adobe.com/2006/mxml";
percentWidth="100" percentHeight="100" minHeight="0" minWidth="0" >
>     <mx:Script><![CDATA[
>         import mx.collections.ArrayCollection;
>         [Bindable]
>         public var expenses:ArrayCollection = new ArrayCollection([
>             {Month:"Jan", Profit:2000, Expenses:1500},
>             {Month:"Feb", Profit:1000, Expenses:200},
>             {Month:"Mar", Profit:1500, Expenses:500}
>         ]);
>     ]]></mx:Script>
>     <mx:ColumnChart id="myChart" dataProvider="{expenses}"
width="100%" height="100%" minWidth="0" minHeight="0">
> 
> 
> MainApp.mxml:
> 
> <mx:ModuleLoader url="ColumnChartModule.swf" width="100%"
height="100%" minHeight="0" minWidth="0"/>
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Mic
> Sent: Sunday, August 31, 2008 12:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] FlexLivedocs Module chart example has scroll
bars ....
> 
> 
> http://livedocs.adobe.com/flex/3/html/help.html?content=modular_5.html
> 
> Can anyone show me how to fix this simple example so the chart shrinks
> to fit its container like it normally does? TIA,
> 
> Mic.
>


Reply via email to