Closed sizeight closed 9 years ago
For nvd3 1.1.14b, I have changed nvd3.js attached, seems like ok. hope help you.
Thanks @menes127, I tested and it seems to fix the problem.
will this be fixed in next releaes? BTW: using "useInteractiveGuideline(true)" won't raise errors with d3v3 3.3.10/11
This one has been bugging me for months now so submitting a pull request based on @menes127 suggestion which seems to do the trick.
This looks to still be an issue in the stackedAreaChart example if you use regular tooltips and not the guideline. Interestingly I couldn't reproduce errors with the lineChart though...
Okay, I think https://github.com/novus/nvd3/pull/880 will fix this, although I'd like a better solution eventually, please let me know if anyone still has issues with it!
Rendering a chart with the 2 series below causes a JS error with D3V3 but works fine with D2V2. The 2 series have the exact same 5th value of 1.07, and this causes the error. Error message: Uncaught TypeError: Cannot read property 'data' of undefined