0 Replies Latest reply on Jun 4, 2012 1:22 PM by cindy.wang

    How would I dynamically set font/textwrap and number intervals for a category axis?

    cindy.wang

      I'm making a chart that I'm not sure how to dynamically re-size the text font or wrap it (my users will be able to put whatever they want). The only thing I can think of is labelFunction, btu even then I'm not sure.

       

      Here's what it looks like so far: http://i.imgur.com/prozJ.png

       

      As you can see, if the bar choice has a long input, users can barely read it because it becomes smaller horizontally. Is there a way to dynamically resize or wrap this data label?

       

      Also, what about dynamically incrementing data numbers that can range from 1 to 50k+? I know Flex automatically does it, but is there any way to program/control that?

       

      Thank you so much!