fix tooltip in history allprintstatus chart

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-03-24 22:28:04 +01:00
1 parent f70a1813f4
commit 721964cf2c
3 files changed
+16 -8

No files matched your search

@@ -29,6 +29,13 @@ export default {
type: 'pie',
data: [],
radius: '50%',
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}]
},
@@ -51,6 +58,7 @@ export default {
createChart() {
if (document.getElementById("historyAllPrintStatus") && this.chart === null) {
this.chart = echarts.init(document.getElementById("historyAllPrintStatus"), null, { renderer: 'svg' })
this.chart.setOption(this.chartOptions)
this.updateChart()
} else
setTimeout(() => {