perf: 去除grid多余配置,添加散点图、热力图的grid

This commit is contained in:
奔跑的面条
2022-10-15 16:51:16 +08:00
parent 9c9bc98216
commit fa476b6186
10 changed files with 21 additions and 81 deletions
@@ -33,16 +33,6 @@ export const option = {
type: 'line'
}
},
legend: {
show: true
},
grid: {
show: false,
left: '10%',
top: '60',
right: '10%',
bottom: '60'
},
xAxis: {
show: true,
type: 'category'
@@ -15,16 +15,6 @@ const options = {
type: 'line'
}
},
legend: {
show: true
},
grid: {
show: false,
left: '10%',
top: '60',
right: '10%',
bottom: '60'
},
xAxis: {
show: true,
type: 'category'
@@ -8,16 +8,6 @@ import dataJson from './data.json'
export const includes = ['legend', 'xAxis', 'yAxis', 'grid']
const option = {
legend: {
show: true
},
grid: {
show: false,
left: '10%',
top: '60',
right: '10%',
bottom: '60'
},
tooltip: {
show: true,
trigger: 'axis',
@@ -14,16 +14,6 @@ export const option = {
type: 'line'
}
},
legend: {
show: true
},
grid: {
show: false,
left: '10%',
top: '60',
right: '10%',
bottom: '60'
},
xAxis: {
show: true,
type: 'category'