Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缩略轴 slider 支持配置位置 #3313

Closed
1 task
AlbertAZ1992 opened this issue Mar 5, 2021 · 1 comment
Closed
1 task

缩略轴 slider 支持配置位置 #3313

AlbertAZ1992 opened this issue Mar 5, 2021 · 1 comment

Comments

@AlbertAZ1992
Copy link
Member

AlbertAZ1992 commented Mar 5, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

老版本 slider 通过 interact 创建,可以通过绑定 dom 改变位置。
现在新版本 slider 改成了 option 配置,且默认固定在 图表底部 ,没法调整(比如放到图表上方):

const [x1, y1] = directionToPosition(this.view.viewBBox, bbox, DIRECTION.BOTTOM);

What does the proposed API look like?

options.direction

@hustcc
Copy link
Member

hustcc commented Mar 9, 2021

感谢反馈,4.x 中将 slider 直接内置,目前的 slider 暂时还不支持横向的样式。

@hustcc hustcc closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants