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

F2 v5.0.30 版本中 syncY 这个参数如何使用? #1910

Open
1 task
LiuJing1014 opened this issue Dec 29, 2023 · 4 comments
Open
1 task

F2 v5.0.30 版本中 syncY 这个参数如何使用? #1910

LiuJing1014 opened this issue Dec 29, 2023 · 4 comments

Comments

@LiuJing1014
Copy link

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

What problem does this feature solve?

添加 syncY 参数可以合并折线图的双Y轴

What does the proposed API look like?

老版本3.8.11 可以直接配置在chart中,但是在v5版本中没看到示例,麻烦给个示例吧,谢谢

@tangying1027
Copy link
Contributor

目前没有这个参数

@LiuJing1014
Copy link
Author

那如果要实现双Y轴,要怎么写呢

@tangying1027
Copy link
Contributor

目前只支持双轴的绘制





<Interval x="genre" y="y" color={'#1677FF'} />
<Line x="genre" y="rate" color={'#F8D31C'} />



对应的tooltip 支持这段时间会加上

@LiuJing1014
Copy link
Author

您的意思是目前只支持render函数中存在一个X轴,一个Y轴,后续会把多Y轴的情况添加进来吗

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