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的取值 #81

Closed
Hsirius opened this issue Jun 16, 2020 · 2 comments
Closed

🧐[问题]基础柱状图-缩略图能否获得slider的取值 #81

Hsirius opened this issue Jun 16, 2020 · 2 comments

Comments

@Hsirius
Copy link

Hsirius commented Jun 16, 2020

🧐 问题描述 [详细地描述问题,让大家都能理解]

基础柱状图-缩略图能否获得slider的取值呢?

💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]

🚑 其他信息 [如截图等其他信息可以贴在这里]

给当前的chart加了ref,但是也没有找到相应的slider值,请大佬指教

@lxfu1
Copy link
Member

lxfu1 commented Jun 16, 2020

暂时没有,后续会加上。

@lxfu1
Copy link
Member

lxfu1 commented Sep 29, 2020

更新到 1.0 版本,参考: https://charts.ant.design/guide/case#%E4%BA%8B%E4%BB%B6%E7%BB%91%E5%AE%9A

 ref.current.on('slider:valuechanged', (view)=>{
       console.log(view?.event)
    })

@lxfu1 lxfu1 closed this as completed Sep 29, 2020
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