1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +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)
}
},
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)