How to set custom spacing to horizontal axis in Flex charts

I am trying to set my own pitch (spacing) to the horizontal axis of a horizontal chart. The chart gets its data from the grid. There is a lot of data in the grid and it renders accurately, but due to the fact that there are so many data points that the horizontal axis is screwed on. I wanted to step along the horizontal axis so you know when you see the graph without hovering over the data point! thanks for any help! -Ali


Flexi comment block

+2


a source to share


1 answer


people heylo! I solved the mystery !!! just add horrizontalAxisRenderers to your chart and set the canDropLabels property to true!

  <mx:horizontalAxisRenderers>
                <mx:AxisRenderer axis="{horiAxis_B}" canDropLabels="true"/>
            </mx:horizontalAxisRenderers>

      



axis is the name of the axis
you made !! but if you still have questions, you can always contact me here: Alimsyed.com

+2


a source







All Articles