Barchart hAxis format property does not work correctly

21 views
Skip to first unread message

Порхачев Василий

unread,
Dec 8, 2017, 4:52:24 AM12/8/17
to Google Visualization API
format: 'none' produces hAxis signs like 'none2000'

the correct is format: '',

that displays numbers with no formatting

Rainy

unread,
Jun 27, 2018, 12:47:34 PM6/27/18
to Google Visualization API
Can confirm this bug still exists and that setting the format as an empty string is a workaround.

Daniel LaLiberte

unread,
Jun 27, 2018, 1:03:04 PM6/27/18
to Google Visualization API
There is always *some* format that is used in converting a number into a string, even if it is the default format, so 'none' might mean 'nothing special'.  The empty string acts like null which suggests something closer to 'nothing specified'.

But we do have some other special format strings, such as 'decimal' and 'percent', so it is not unreasonable to expect 'none' might mean 'default'.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/1850e2ce-f682-41d1-8af9-448d27afe3bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages