google / google-visualization-issues

288 stars 35 forks source link

Bug: Sankey Diagram Fails to draw many 0s in dataTable #1718

Open orwant opened 9 years ago

orwant commented 9 years ago
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.

1. High number of 0's in data, Sankey diagram fails to draw with errors:
'Unexpected value NaN parsing y attribute.'

http://jsfiddle.net/asgallant/7wYP2/

Tested in OS X: FF 31.0, Chrome 37.0.

By changing the numbers in the data, the Sankey diagram will render.

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

Sankey

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)

Yes

What operating system and browser are you using?

OS X

*********************************************************
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 james.patrick93 on 2014-09-03 12:20:52

orwant commented 9 years ago
Sorry wrong jsfiddle link, heres the updated one: http://jsfiddle.net/7wYP2/154/

Original issue reported on code.google.com by james.patrick93 on 2014-09-03 12:22:25