Skip to content

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