benkeen / d3pie

A configurable pie chart lib and generator built on d3.js
MIT License
370 stars 203 forks source link

Cannot read property 'hs' of undefined #152

Closed rajesh-tammina closed 6 years ago

rajesh-tammina commented 6 years ago

I have implemented d3pie chart in angular 2 component . when destroy the piechart using chart.destroy() function which gives an exception on console. i.e

EXCEPTION: Cannot read property 'hs' of undefined ErrorHandler.handleError @ error_handler.js:50 next @ application_ref.js:346 schedulerFn @ async.js:91 SafeSubscriber.__tryOrUnsub @ Subscriber.js:223 SafeSubscriber.next @ Subscriber.js:172 Subscriber._next @ Subscriber.js:125 Subscriber.next @ Subscriber.js:89 Subject.next @ Subject.js:55