diff --git a/g3w-admin/qplotly/static/qplotly/js/sidebar.js b/g3w-admin/qplotly/static/qplotly/js/sidebar.js index 3457b2e3d..056680362 100644 --- a/g3w-admin/qplotly/static/qplotly/js/sidebar.js +++ b/g3w-admin/qplotly/static/qplotly/js/sidebar.js @@ -275,9 +275,7 @@ export default ({ await this.$nextTick(); const promises = []; - - console.log(this.charts, this.order) - + // loop through loop plot ids order and draw Plotly Chart this.order.forEach(plotId => { let promise; @@ -293,10 +291,10 @@ export default ({ // no data component setTimeout(() => this.$refs[`${plotId}`][0].appendChild((new Vue.extend({ template: /* html */ ` -
-

Plot [${plotId}] ${ chart.layout && chart.layout.title ? ' - ' + chart.layout.title : ''}

-
-
` +
+

Plot [${plotId}] ${ chart.layout && chart.layout.title ? ' - ' + chart.layout.title : ''}

+
+
` })()).$mount().$el)); } }); @@ -413,7 +411,7 @@ export default ({ layerIds: this.ids, // provided by query result service otherwise is undefined rel: this.rel, // provided by query result service otherwise is undefined }); - + // set charts await this.setCharts({ charts, order });