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

Update legend.md #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update legend.md #28

wants to merge 2 commits into from

Conversation

ShmilyXI
Copy link
Contributor

fix: autoWrap&常见问题

fix: autoWrap&常见问题
1. 隐藏图例
```js
chart.legend(false); // 隐藏全部图例
chart.legend('x', false); // 只隐藏 x 维度对应的图例
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

demo 都用react写法 { visibleLegen ? <legend name="[字段名]"} /> : undefiend }

fix: 隐藏图例使用react方式
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

Successfully merging this pull request may close these issues.

2 participants