-
Notifications
You must be signed in to change notification settings - Fork 605
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
feat(area): add plot area #1361
Conversation
hustcc
commented
Jul 30, 2020
- 面积图
- adaptor 一些是复用 line,一些的自己写。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add tests to make sure this change works as expected?
chart.data(data); | ||
const geometry = chart.area().position(`${xField}*${yField}`); | ||
|
||
if (seriesField) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 seriesField
在其他图形中叫法可能不一致,有 colorField
/stackField
,
我倾向 colorField,或者同时支持 colorField
/stackField
/seriesField
,几个配置同时支持🌚
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个要在发布版本之前确定一个标准了,或者我去问下米法,当初的命名规范是什么?