1 Reply Latest reply on May 31, 2011 11:50 AM by tika_2

    Y Axis title direction

    SurangaRajakaruna

      Hi ..I want to change the y axis label direction as hilighted  in blue color (2nd graph). Now it displays as shown in the first graph. Please help ..

       

      _chart.jpg

        • 1. Re: Y Axis title direction
          tika_2

          You can use the verticalAxisTitleAlignmen property of the AxisRenderer

           

          ...

          <mx:verticalAxis>

          <mx:LinearAxis id="va1" labelFunction="myLabel" title="{myInput.selectedItem.name}" />

          </mx:verticalAxis>

          ...

          <mx:verticalAxisRenderers>

          <mx:AxisRenderer

                              axis="{va1}"

                              canDropLabels="true" 

                              verticalAxisTitleAlignment="vertical"

                          />

          </mx:verticalAxisRenderers>