|
|
@@ -75,7 +75,7 @@ export default { |
|
|
|
this.chart = echarts.init(document.getElementById(this.id)); |
|
|
|
this.chart.setOption({ |
|
|
|
grid: { |
|
|
|
top: adjust(10), |
|
|
|
top: adjust(20), |
|
|
|
left: adjust(28), |
|
|
|
bottom: adjust(18), |
|
|
|
right: adjust(12), |
|
|
@@ -147,7 +147,9 @@ export default { |
|
|
|
show: true, |
|
|
|
fontSize: adjust(7), |
|
|
|
color: "#eee8", |
|
|
|
position: "top", |
|
|
|
position: "topRight", |
|
|
|
rotate: 90, |
|
|
|
offset: [5, 0] |
|
|
|
}, |
|
|
|
itemStyle: { |
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
|
|
|