Hi
See the attachment. I am using itemformatstring as given below
but the negative sign replaced by brackets. I want to show with negative sign in tooltip as well as label.
<PERCENT_VALUE:00.##>%(<DATA_VALUE:C>)
How can I do this?
Thanks
Sridhar
Instead of using a format string on the axis label, you'd have to implement IRenderLabel, handle ToString method and manipulate the string in context["DATA_VALUE"] to look the way you like. There's no standard formatting that lets you use -$amounts. There should be plenty of examples in other forum posts if you search for IRenderLabel
Hai
I need to display in currency format like - $ 20,000 not $ - 20,000. How to get this?
Thanks in advance
use $<DATA_VALUE:n>
Hey
The comma seperator not shown. I need that also for negative values. Your solution is working but another issue arised.
That is the default behavior of currency formatting. All negative dollar values are displayed in parentheses. You can use $<DATA_VALUE> instead of <DATA_VALUE:C> to have negative numbers