Currently, I am utilizing NVD3 with Angular Directive (angular-nvd3) to create a simple line chart with basic data.
Initially, everything works perfectly. However, when disabling one set of data, an error occurs:
Error: Invalid value for <g> attribute transform="translate(NaN,NaN)"
To showcase the issue, I have created a sample plunker: http://plnkr.co/edit/e4D619?p=preview
You can replicate the problem by disabling any set and observing the error in the console. Resizing the window, then enabling/disabling the set will trigger the error again. Disabling useInteractiveGuideline can help prevent these errors.
At this point, I'm unsure if the problem lies within nvd3, d3, or the dataset itself. Any advice or suggestions would be greatly appreciated.