Closed kklisura closed 9 years ago
Discrete Bar chart having a single value entry throws an "Invalid value for attribute x="NaN"" error. Really annoying.
Reproducible on livecode @ nvd3.org on Discrete Bar chart with following data set:
[ { key: "Cumulative Return", values: [ { "label" : "A" , "value" : -29.765957771107 } ] } ]
This should be fixed in my latest fork code:
https://github.com/liquidpele/nvd3/tree/development
Discrete Bar chart having a single value entry throws an "Invalid value for attribute x="NaN"" error. Really annoying.
Reproducible on livecode @ nvd3.org on Discrete Bar chart with following data set: