|
|
@ -45,6 +45,16 @@ export default {
|
|
|
|
this.chart = echarts.init(this.$el, 'macarons')
|
|
|
|
this.chart = echarts.init(this.$el, 'macarons')
|
|
|
|
|
|
|
|
|
|
|
|
this.chart.setOption({
|
|
|
|
this.chart.setOption({
|
|
|
|
|
|
|
|
title: {
|
|
|
|
|
|
|
|
text: '标题1 ',
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
color: '#000',
|
|
|
|
|
|
|
|
fontSize: 20,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
top: '0%',
|
|
|
|
|
|
|
|
left: '0%',
|
|
|
|
|
|
|
|
},
|
|
|
|
tooltip: {
|
|
|
|
tooltip: {
|
|
|
|
trigger: 'item',
|
|
|
|
trigger: 'item',
|
|
|
|
formatter: '{a} <br/>{b} : {c} ({d}%)'
|
|
|
|
formatter: '{a} <br/>{b} : {c} ({d}%)'
|
|
|
|