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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user