This content has been marked as final. Show 6 replies
How about using a NumberFormatter with the useNegativeSign="false" property?
The issue with useNegativeSign is that when it is set to false negative numbers appear in parens.
This may help:
Unfortunately, it did what I expected (at least in my chart). All my data is negative. I have inverted the y-axis on my chart so that the lowest numbers are the highest points (i.e. a value of 1 is the highest peak on the chart). I am doing this to show rankings. I achieve this by using negative numbers.
What I would like to do is mask the y-axis so that the minus sign disappears, but the numbers stay in an inverted order. I am trying to think if there is a way to do a string manipulation on the y-axis and strip the "-" sign.
So far every tutorial I have read has the same results; once the "-" is removed Flex looks at the numbers as positive and re-orders them.
Hmmm... my chart retains its negative value. Can you possibly post simplified yet complete code including your data so I can see what you see?
OK, I'm dyslexic. I have been looking at this chart for so long I think I flipped the y-axis back in my brain.
Your right it worked.
I need a drink!