google / google-visualization-issues

288 stars 35 forks source link

Add support for fractional values in google.visualization.Gauge #260

Open orwant opened 9 years ago

orwant commented 9 years ago
What would you like to see us add to this API?

The google.visualization.Gauge requires integer data. It would be nice if
the display could allow for decimal places. I use this gauge to display
amperage (0.0 - 40.0) and right now it displays as 0-400. The gauge part
looks OK because I have the tick marks set properly, but the numerical
value displayed in the bottom of the gauge looks ugly as "382" when it
really means "38.2".

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?

google.visualization.Gauge

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by n8urst2 on 2010-04-18 21:28:34

orwant commented 9 years ago
I am trying to use the DataTable to create a simple Column Graph, and it blows up if
I try to use decimal numbers.  Not sure why floating point values aren't supported,
but an enhancement--or at least a decent explanation--would be quite nice.  

PS Overall I'm very impressed by the API.

Original issue reported on code.google.com by bjhoops1 on 2011-02-07 21:42:36