0 Replies Latest reply on Aug 19, 2009 2:00 AM by PiyushChitkara

    Clicking on the Chart's Axis and getting the Text

    PiyushChitkara Level 1

      Hi,

       

      All I need to do is, click on the chart's x-axis and get the value of the X-Axis label.

       

      For this I am using this

       

                    <mx:horizontalAxis>
                      <mx:CategoryAxis id="haxis" categoryField="name"/>
                  </mx:horizontalAxis>
                 
                  <mx:horizontalAxisRenderers>
                      <mx:AxisRenderer axis="{haxis}"/>           
                  </mx:horizontalAxisRenderers>    

       

       

      But it seems like AxisRenderer doesnt give me more options like its there in Legends.. 'itemMouseDown' etc.

      Is there a workaround?

       


      Thanks for looking into it,

      Piyush