palantir / plottable

:bar_chart: A library of modular chart components built on D3

Home Page:http://plottablejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.Destroy() throwing node of undefined exception

keshav2k5 opened this issue · comments

ERROR TypeError: Cannot read property 'node' of undefined
at Function.Translator.isEventInside (transformAwareTranslator.js:56)
at Mouse.eventInside (mouseDispatcher.js:167)
at Mouse._measureAndDispatch (mouseDispatcher.js:160)
at HTMLDocument.Mouse._this._eventToProcessingFunction.(:4200/anonymous function) (webpack-internal:///../../../../plottable/build/src/dispatchers/mouseDispatcher.js:30:41)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:4740)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
at ZoneTask.invokeTask [as invoke] (zone.js:496)
at invokeTask (zone.js:1570)

Bug report

Steps to repro:

  1. create a plottable Components
  2. call .destroy()

Sample:
chart = new Plottable.Components
.Table([[yAxis, this.plot], [null, xAxis], [null, miniChart], [null, sparklineXAxis]]);
chart.destroy();

Plottable version:3.8.0
Browser name/version: Chrome v65.0.3325.181
OS name/version: windows 10 pro