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

feat(scrollbar): 支持设置与获取当前滚动条的位置 #3639

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

Aarebecca
Copy link
Contributor

@Aarebecca Aarebecca commented Sep 24, 2021

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Description of change

支持设置与获取当前滚动条的位置/Support setting scrollbar ratio and add mouse wheel event listener

使用方式/Usage:

chart.getController('scrollbar').setValue(val)
chart.getController('scrollbar').getValue();

related issues:
#2845

@visiky
Copy link
Member

visiky commented Sep 24, 2021

看过 #3606 没?

@hustcc
Copy link
Member

hustcc commented Oct 8, 2021

这个 pr 最后是增加两个 API 方法吗?

@Aarebecca Aarebecca closed this Oct 8, 2021
@Aarebecca Aarebecca reopened this Oct 8, 2021
@Aarebecca
Copy link
Contributor Author

这个 pr 最后是增加两个 API 方法吗?

对的

@hustcc hustcc merged commit 3c89edf into antvis:master Oct 8, 2021
@github-actions
Copy link

github-actions bot commented Oct 8, 2021

😭 Deploy PR Preview 3c89edf failed. Build logs

🤖 By surge-preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants