mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat: Data Zoom scrolls using the mouse (mark II) (#28629)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
]
|
||||
: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user