Skip to content

[email protected] can't show legend #4993

Answered by hustcc
chi-gao asked this question in Q&A
Discussion options

You must be logged in to vote

在 G2 V3 中,内置了处理双轴图的逻辑,自动生成图例,但是实际上有挺多问题,所以在 V4 中,抽你出来,这部分逻辑封装到 G2Plot 中,可以看这个 DEMO

建议直接使用 G2Plot 的组件,默认就处理了双轴图的图例问题,处理的比 v3 肯定更好。

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chi-gao
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hustcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4019 on May 10, 2023 05:57.