mirror of https://github.com/apache/superset.git
feat: Data Zoom scrolls using the mouse (mark II) (#28629)
This commit is contained in:
parent
4fa7619b1f
commit
ac53f7fea9
|
@ -633,6 +633,18 @@ export default function transformProps(
|
|||
bottom: TIMESERIES_CONSTANTS.zoomBottom,
|
||||
yAxisIndex: isHorizontal ? 0 : undefined,
|
||||
},
|
||||
{
|
||||
type: 'inside',
|
||||
yAxisIndex: 0,
|
||||
zoomOnMouseWheel: false,
|
||||
moveOnMouseWheel: true,
|
||||
},
|
||||
{
|
||||
type: 'inside',
|
||||
xAxisIndex: 0,
|
||||
zoomOnMouseWheel: false,
|
||||
moveOnMouseWheel: true,
|
||||
},
|
||||
]
|
||||
: [],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue