You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original author: c...@laerdal.no (January 24, 2011 10:19:09)
IMO it would be an enhancement if Pie charts would also work when the data values are passed as strings.
e.g.
[{"data":"46153","label":"Series1"},{"data":"12841","label":"Series2"}]
Flot itself can deal with numbers just fine, if they are quoted so I think this would be consitent and makes it easier for integration with libraries such as the Google Analytics Data API (where the values come as strings).
I added a fix for this by altering the fixData function.
It now also checks for the string data type.
Original author: c...@laerdal.no (January 24, 2011 10:19:09)
IMO it would be an enhancement if Pie charts would also work when the data values are passed as strings.
e.g.
[{"data":"46153","label":"Series1"},{"data":"12841","label":"Series2"}]
Flot itself can deal with numbers just fine, if they are quoted so I think this would be consitent and makes it easier for integration with libraries such as the Google Analytics Data API (where the values come as strings).
I added a fix for this by altering the fixData function.
It now also checks for the string data type.
Original issue: http://code.google.com/p/flot/issues/detail?id=455
The text was updated successfully, but these errors were encountered: