Home › forums › Report Bugs › yValueFormatString consider 0 as non value
This topic contains 2 replies, has 2 voices, and was last updated by javadevmtl 2 years, 5 months ago.
It seems that yValueFormatString when using # as formater that 0 is considered as a non value. I assume this is the same for the other valueFormatStrings functions.
Here is the fiddle: http://jsfiddle.net/TA9g5/2/
See the first column. You would expect it to print 0.00 but instead it prints .00
# is a placeholder for non-zero values. In case you want zero to be displayed, you should use “#0.##”. Here is a fiddle showing the same. http://jsfiddle.net/TA9g5/4/
Thanks though if I recall it says for the # formater in the docs “if a digit is present”. I suppose anything above a 0 is considered a digit and zero is not?
You must be logged in to reply to this topic.
ASP.NET MVC Charts
ContactSales EnquiriesSupport ForumTwitter Support Handle