Thanks! It worked :)



________________________________
From: valdhor <[email protected]>
To: [email protected]
Sent: Friday, March 27, 2009 1:33:55 PM
Subject: [flexcoders] Re: horizontalAxisRenderer VS horizontalAxisRenderers?


columnChart. verticalAxisRend erers wants an array. Try this...

columnChart. verticalAxisRend erers = [axisVRenderer] ;

--- In flexcod...@yahoogro ups.com, "sailorsea21" <sailorsea21@ ...> wrote:
>
> Hi everyone, 
> I have the following script:
> 
> var columnChart: ColumnChart = new ColumnChart( );
> var axisVRenderer: AxisRenderer = new AxisRenderer( );
> axisVRenderer. placement = "left";
> axisVRenderer. axis = int_20;
> axisVRenderer. labelFunction = axisPercent;
> ***columnChart. verticalAxisRend erers = axisVRenderer; 
> 
> I don't understand why it's generating the following error:
> 
> ***
> 1067: Implicit coercion of a value of type mx.charts:AxisRende rer to an 
> unrelated type Array.
> 
> If I replace the verticalAxisRendere rs by verticalAxisRendere r I receive 
> the following warning:
> 
> 3606: 'verticalAxisRender er' has been deprecated. Please use 
> 'CartesianChart. verticalAxisRend erers'.
> 
> Should I use verticalAxisRendere r and ignore the warning?
> 
> Thanks.
> 
> -David
>





      

Reply via email to