Skip to content

Commit

Permalink
feat: Data Zoom scrolls using the mouse (mark II) (apache#28629)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh authored May 22, 2024
1 parent 4fa7619 commit ac53f7f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
]
: [],
};
Expand Down

0 comments on commit ac53f7f

Please sign in to comment.