3 Replies Latest reply on Jun 8, 2009 11:27 PM by _Natasha_

    How to rotate long labels?

    glen08 Level 1

      Here is my code to rotate labels of date in the format of  "2008-12-31":


      <!-- horizontal axis -->

             <mx:CategoryAxis id="ca" title="" dataProvider="{xyzArrayCollection}" categoryField="Date"/>



      <!-- horizontal axis renderer -->
             <mx:AxisRenderer axis="{ca}" canDropLabels="true" labelRotation="-90"/>


      The labels are not rotated! Is this because the labels are too long?