修改echarts上下左右边离
myChart.setOption({
tooltip: {
trigger: ‘axis’
},
grid: {
x: 20,
y: 20,
x2: 20,
y2: 50 //距离下边的距离
},
toolbox: {
}
myChart.setOption({
tooltip: {
trigger: ‘axis’
},
grid: {
x: 20,
y: 20,
x2: 20,
y2: 50 //距离下边的距离
},
toolbox: {
}