echarts Can dataZoom slider only use left or right handler? dataZoom可以仅使用一侧的滑动手柄, 另一侧保持固定吗?

xyhw6mcr  于 2022-11-19  发布在  Echarts
关注(0)|答案(5)|浏览(226)

What problem does this feature solve?

dataZoom在坐标轴缩放时, 希望有能保持一侧固定的功能, 仅另一侧缩放.

What does the proposed API look like?

dataZoom: [
  {
    type: 'slider',
    handler: 'left' | 'right' | 'both', // default 'both'
  }
],
vc6uscn9

vc6uscn91#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

z9gpfhce

z9gpfhce2#

@xjhjzxh It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗
TRANSLATED

BODY

What problem does this feature solve?

DataZoom zooms in the axes, hoping to have the function of keeping one side fixed, zooming only on the other side.

What does the proposed API look like?

dataZoom: [
{
type: 'slider',
handler: 'left' | 'right' | 'both', // default 'both'
}
],

vuktfyat

vuktfyat4#

Like this?
https://echarts.apache.org/examples/zh/editor.html?c=grid-multiple

emm.....I want only left handler can be drag, right handler always at the end of slider or hidden.

2izufjch

2izufjch5#

Is this problem solved? I have the same needs

相关问题