mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
perf: 去除grid多余配置,添加散点图、热力图的grid
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user