forked from github/dataease
Merge pull request #286 from dataease/pr@dev@refactor_坐标轴图表滚轮缩放优化
refactor: 坐标轴图表滚轮缩放优化
This commit is contained in:
commit
e2051479bd
@ -205,7 +205,31 @@ export const BASE_BAR = {
|
|||||||
series: [],
|
series: [],
|
||||||
dataZoom: [
|
dataZoom: [
|
||||||
{
|
{
|
||||||
type: 'inside'
|
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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -237,7 +261,31 @@ export const HORIZONTAL_BAR = {
|
|||||||
series: [],
|
series: [],
|
||||||
dataZoom: [
|
dataZoom: [
|
||||||
{
|
{
|
||||||
type: 'inside'
|
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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -271,7 +319,31 @@ export const BASE_LINE = {
|
|||||||
series: [],
|
series: [],
|
||||||
dataZoom: [
|
dataZoom: [
|
||||||
{
|
{
|
||||||
type: 'inside'
|
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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user