|
@@ -684,6 +684,7 @@ export default {
|
|
|
this.totalOneEchartsRate = echarts.init(document.getElementById('comparatorRateBetween'))
|
|
|
// const totalOneEchartsOnline = echarts.init(document.getElementById('comparatorOnlineBetween'))
|
|
|
this.totalOneEcharts.setOption({
|
|
|
+ color: ['#8dcaea'],
|
|
|
legend: {},
|
|
|
tooltip: {},
|
|
|
grid: { containLabel: true },
|
|
@@ -696,7 +697,7 @@ export default {
|
|
|
// Declare several bar series, each will be mapped
|
|
|
// to a column of dataset.source by default.
|
|
|
series: [
|
|
|
- { type: 'bar' }
|
|
|
+ { type: 'bar', barMaxWidth: '70' }
|
|
|
]
|
|
|
})
|
|
|
this.totalOneEchartsMount.setOption({
|
|
@@ -761,6 +762,7 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.totalOneEchartsOnline = echarts.init(document.getElementById('comparatorOnlineBetween'))
|
|
|
this.totalOneEchartsOnline.setOption({
|
|
|
+ color: ['#8dcaea'],
|
|
|
legend: {},
|
|
|
tooltip: {},
|
|
|
grid: { containLabel: true },
|
|
@@ -773,7 +775,7 @@ export default {
|
|
|
// Declare several bar series, each will be mapped
|
|
|
// to a column of dataset.source by default.
|
|
|
series: [
|
|
|
- { type: 'bar' }
|
|
|
+ { type: 'bar', barMaxWidth: '70' }
|
|
|
]
|
|
|
})
|
|
|
window.addEventListener('resize', () => {
|