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
-~----------~----~----~----~------~----~------~--~---