1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

show plotly warnings and errors #55

This commit is contained in:
lana-k
2021-12-19 15:36:46 +01:00
parent 3e3a70430f
commit 816b0e6218

View File

@@ -55,6 +55,12 @@ export default {
return chartHelper.getOptionsFromDataSources(this.dataSources) return chartHelper.getOptionsFromDataSources(this.dataSources)
} }
}, },
created () {
// https://github.com/plotly/plotly.js/issues/4555
plotly.setPlotConfig ({
notifyOnLogging: 1
})
},
mounted () { mounted () {
this.resizeObserver = new ResizeObserver(this.handleResize) this.resizeObserver = new ResizeObserver(this.handleResize)
this.resizeObserver.observe(this.$refs.chartContainer) this.resizeObserver.observe(this.$refs.chartContainer)