Merge pull request #331 from dataease/pr@dev@fix_视图缩放

fix: 视图缩放
This commit is contained in:
XiaJunjie2020 2021-07-26 14:23:15 +08:00 committed by GitHub
commit 9d570916ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,36 +202,36 @@ export const BASE_BAR = {
yAxis: {
type: 'value'
},
series: []
// dataZoom: [
// {
// type: 'slider',
// show: false,
// xAxisIndex: [0],
// start: 1,
// end: 100
// },
// {
// type: 'slider',
// show: false,
// yAxisIndex: [0],
// left: '93%',
// start: 1,
// end: 100
// },
// {
// type: 'inside',
// xAxisIndex: [0],
// start: 1,
// end: 100
// },
// {
// type: 'inside',
// yAxisIndex: [0],
// start: 1,
// end: 100
// }
// ]
series: [],
dataZoom: [
{
type: 'slider',
show: false,
xAxisIndex: [0],
start: 0,
end: 100
},
{
type: 'slider',
show: false,
yAxisIndex: [0],
left: '93%',
start: 0,
end: 100
},
{
type: 'inside',
xAxisIndex: [0],
start: 0,
end: 100
},
{
type: 'inside',
yAxisIndex: [0],
start: 0,
end: 100
}
]
}
export const HORIZONTAL_BAR = {
title: {
@ -258,36 +258,36 @@ export const HORIZONTAL_BAR = {
yAxis: {
data: []
},
series: []
// dataZoom: [
// {
// type: 'slider',
// show: false,
// xAxisIndex: [0],
// start: 1,
// end: 100
// },
// {
// type: 'slider',
// show: false,
// yAxisIndex: [0],
// left: '93%',
// start: 1,
// end: 100
// },
// {
// type: 'inside',
// xAxisIndex: [0],
// start: 1,
// end: 100
// },
// {
// type: 'inside',
// yAxisIndex: [0],
// start: 1,
// end: 100
// }
// ]
series: [],
dataZoom: [
{
type: 'slider',
show: false,
xAxisIndex: [0],
start: 0,
end: 100
},
{
type: 'slider',
show: false,
yAxisIndex: [0],
left: '93%',
start: 0,
end: 100
},
{
type: 'inside',
xAxisIndex: [0],
start: 0,
end: 100
},
{
type: 'inside',
yAxisIndex: [0],
start: 0,
end: 100
}
]
}
export const BASE_LINE = {
@ -316,36 +316,36 @@ export const BASE_LINE = {
yAxis: {
type: 'value'
},
series: []
// dataZoom: [
// {
// type: 'slider',
// show: false,
// xAxisIndex: [0],
// start: 1,
// end: 100
// },
// {
// type: 'slider',
// show: false,
// yAxisIndex: [0],
// left: '93%',
// start: 1,
// end: 100
// },
// {
// type: 'inside',
// xAxisIndex: [0],
// start: 1,
// end: 100
// },
// {
// type: 'inside',
// yAxisIndex: [0],
// start: 1,
// end: 100
// }
// ]
series: [],
dataZoom: [
{
type: 'slider',
show: false,
xAxisIndex: [0],
start: 0,
end: 100
},
{
type: 'slider',
show: false,
yAxisIndex: [0],
left: '93%',
start: 0,
end: 100
},
{
type: 'inside',
xAxisIndex: [0],
start: 0,
end: 100
},
{
type: 'inside',
yAxisIndex: [0],
start: 0,
end: 100
}
]
}
export const BASE_PIE = {