From 816b0e621884e7485a9aba84484d4494a35a37e9 Mon Sep 17 00:00:00 2001 From: lana-k Date: Sun, 19 Dec 2021 15:36:46 +0100 Subject: [PATCH] show plotly warnings and errors #55 --- src/views/Main/Workspace/Tabs/Tab/DataView/Chart/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/Main/Workspace/Tabs/Tab/DataView/Chart/index.vue b/src/views/Main/Workspace/Tabs/Tab/DataView/Chart/index.vue index 9ba8e8c..4603750 100644 --- a/src/views/Main/Workspace/Tabs/Tab/DataView/Chart/index.vue +++ b/src/views/Main/Workspace/Tabs/Tab/DataView/Chart/index.vue @@ -55,6 +55,12 @@ export default { return chartHelper.getOptionsFromDataSources(this.dataSources) } }, + created () { + // https://github.com/plotly/plotly.js/issues/4555 + plotly.setPlotConfig ({ + notifyOnLogging: 1 + }) + }, mounted () { this.resizeObserver = new ResizeObserver(this.handleResize) this.resizeObserver.observe(this.$refs.chartContainer)