0 Replies Latest reply on Oct 13, 2006 7:58 AM by ThorLoki

    How do I format default column chart y-axis?


      I have a column chart, which has an array of XML from a webservice as its data provider. For the x-axis, I can bind it to part of that data and I know how to format the x-axis labels. However, the data is a bunch of number values, and I am letting Flex build the chart's y-axis by default, which picks a suitable range of numbers to display my data. I need to format the numbers it chooses so they have commas and dollar signs. But when I try to do a labelFunction on the verticalAxis object, I only have access to the data in my dataProvider, not the numbers which the Flex chart is automatically using. How do I access those numbers that the chart has drawn for the y-axis by default and format them? There doesn't seem to be an object for that.