修改echarts
This commit is contained in:
@@ -50,19 +50,16 @@ const initChart = () => {
|
||||
},
|
||||
legend: {
|
||||
...(props.options.xAxis.legend || null),
|
||||
right: 80,
|
||||
right: 20,
|
||||
top: 0,
|
||||
itemGap: 28,
|
||||
itemGap: 10,
|
||||
itemStyle: {},
|
||||
textStyle: {
|
||||
rich: {
|
||||
a: {
|
||||
verticalAlign: 'middle'
|
||||
}
|
||||
},
|
||||
|
||||
fontSize: 12,
|
||||
padding: [2, 0, 0, 0] //[上、右、下、左]
|
||||
}
|
||||
},
|
||||
itemWidth: 15,
|
||||
itemHeight: 10
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
Reference in New Issue
Block a user