We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7192eec commit 8b98e78Copy full SHA for 8b98e78
1 file changed
panel/models/echarts.ts
@@ -57,7 +57,9 @@ export class EChartsView extends HTMLBoxView {
57
58
override render(): void {
59
if (this._chart != null) {
60
- (window as any).echarts.dispose(this._chart)
+ try {
61
+ (window as any).echarts.dispose(this._chart)
62
+ } catch (e) {}
63
}
64
super.render()
65
this.container = div({style: {height: "100%", width: "100%"}})
0 commit comments