echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Lock one side of the dataZoom slider

Open luanafrisina opened this issue 1 year ago • 1 comments

What problem does this feature solve?

Currently, dataZoom allows users to freely adjust both ends of the slider handle for zooming. However, I was wondering if it would be possible to consider adding an option to lock one end of the slider handle, preventing users from zooming outwards from that end.

What does the proposed API look like?

dataZoom: [{
    zoomLock: true / false,
    leftSliderLock: true / false,
    rightSliderLock: true / false,
 }],

luanafrisina avatar May 23 '24 10:05 luanafrisina