-
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(v2/column): support grouped and stacked column #1333
Conversation
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?
xField: 'area', | ||
yField: 'sales', | ||
colorField: 'series', | ||
isStack: true, |
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.
nit 默认是 group,可以设置为 stack 是吧?
/** 柱子宽度占比 [0-1] */ | ||
readonly marginRatio?: number; | ||
/** 分组或堆叠内部的间距,像素值 */ | ||
readonly innerPadding?: number; |
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.
nit: 这两个是 v1 已经有的能力吗?
代码没有问题,两个疑问:
|
|
No description provided.