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