plottable icon indicating copy to clipboard operation
plottable copied to clipboard

.Destroy() throwing node of undefined exception

Open keshav2k5 opened this issue 6 years ago • 0 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

keshav2k5 avatar Apr 03 '18 11:04 keshav2k5