To
Gaurav

Plz give me the some whole code that why i identify and give feebackk

it is also possible with inline

public function defineVerticalLabel(cat:Object,
pcat:Object,ax:LinearAxis):String
        {
            return cat.toString().substring(0,2) + "%";
        }



 <ilog:verticalAxis>
                             <mx:LinearAxis
                                 labelFunction        =
"defineVerticalLabel"
                                 />
    </ilog:verticalAxis>


On Fri, Mar 13, 2009 at 11:29 AM, gaurav joshi <[email protected]>wrote:

> Hi all,
>
>
>
>                 I am facing one problem in column chart. I want to set
> vertical label to vertical. Pasting small example to elaborate.
>
> I achieved it using VerticalAxisrenderer. But as VerticalAxisrenderer is a
> deprecated method so I used VerticalAxisrenderers. It takes array. So I
> pushed my Axisrenderer in an array and assigned my array to
> VerticalAxisrenderers.
>
> But it is duplicating the labels. Any pointers and help will be
> appreciated. :)
>
>
>
> // following segment of deprecated method is working fine. But we are
> advised not to use deprecating methods. So want solution to this.
>
>
>
> *var* VaxisRenderer:AxisRenderer=*new* AxisRenderer();
>
>                         VaxisRenderer.axis=vAxis;
>
>                         VaxisRenderer.setStyle(*
> "verticalAxisTitleAlignment"*,*"vertical"*);
>
>                         colChart.verticalAxisRenderer=VaxisRenderer;
>
>
>
>
>
>
>
>                         //It is duplicating my labels for vertical axis to
> right hand side of the column chart
>
>
>
>
>
> *var* VaxisRenderer:AxisRenderer=*new* AxisRenderer();
>
>                         VaxisRenderer.axis=vAxis;
>
>                         VaxisRenderer.setStyle(*
> "verticalAxisTitleAlignment"*,*"vertical"*);
>
> Var arr:Array=new Array();
>
> arr.push(Vaxisrenderer);
>
>                         colChart.verticalAxisRenderers= arr;
>
>
>
>
>
>
>
>
> Thanks and regards,
>
> Gaurav Joshi
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to