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

maxHeightRatio 和 maxWidthRatio属性无效 #3889

Closed
iwusong opened this issue Apr 21, 2022 · 1 comment
Closed

maxHeightRatio 和 maxWidthRatio属性无效 #3889

iwusong opened this issue Apr 21, 2022 · 1 comment
Labels

Comments

@iwusong
Copy link

iwusong commented Apr 21, 2022

  • G2 Version: 4.1.49 文档中的示例应该是4.1.49吧

  • Platform:windows chrome 100.0.4896.127(正式版本) (64 位)

  • Mini Showcase(like screenshots):
    image

  • CodePen Link: 文档中的示例链接 的 legend 配置中加入 maxHeightRatio:0.5
    预期 legend 的高度是会有缩减的 ,这个属性是这样理解的吗 , maxHeight:200 是有效的,但是maxHeightRatio无效

@visiky visiky added the Legend label Apr 26, 2022
@hustcc
Copy link
Member

hustcc commented Dec 6, 2022

maxHeightRatio 是参考图表高度的比例来计算的。

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

No branches or pull requests

3 participants