feat(regulatoryPlatForm): 优化图表布局并添加数据缩放功能
This commit is contained in:
parent
1366e8e848
commit
41d13a8193
|
|
@ -129,9 +129,20 @@ export default {
|
||||||
grid: {
|
grid: {
|
||||||
left: '3%',
|
left: '3%',
|
||||||
right: '4%',
|
right: '4%',
|
||||||
bottom: '3%',
|
bottom: '15%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
|
dataZoom: [
|
||||||
|
{
|
||||||
|
type: 'slider',
|
||||||
|
show: true,
|
||||||
|
xAxisIndex: [0],
|
||||||
|
bottom: 5,
|
||||||
|
height: 20,
|
||||||
|
startValue: 0,
|
||||||
|
endValue: 5
|
||||||
|
}
|
||||||
|
],
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'category',
|
type: 'category',
|
||||||
data: [],
|
data: [],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue