NuCivic / react-nvd3

React component for NVD3 re-usable charting library
MIT License
136 stars 44 forks source link

Error: <g> attribute transform: Trailing garbage, "…18181818181813, NaN)". #86

Open alphaeadevelopment opened 6 years ago

alphaeadevelopment commented 6 years ago

react: 16.2.0 react-nvd3: 0.5.7 d3: 3.5.17 nvd3: 1.8.6

I created a sandbox for this issue: https://codesandbox.io/s/4292n7pmn7

alphaeadevelopment commented 6 years ago

user error.

issue resolved by making sure that the x and y properties matched the datum.

https://codesandbox.io/s/32p86216jp

ardave commented 6 years ago

Same problem and same solution for me, just now cost me a few hours.

Some project in the dependency chain might benefit from a clearer, more actionable error message.