-
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
[双轴图] 更新配置项 & 拆分demo #1473
[双轴图] 更新配置项 & 拆分demo #1473
Conversation
geometryConfigs 要不要改成 geometryOptions?因为我们的概念中都是 Options,现在又有一个叫 config 的,不太好!最好我们代码中都搜不到 config 这个词 |
可以呀,我想的是跟随geometry 的,比如 lineOption,以及 color,label,都放在 geometryConfigs(geometryOptions)里。其他的组件配置,例如 yAixs,animate,放在BiaxOption 里 |
import { ColumnOptions } from '../column/types'; | ||
|
||
export enum AxisType { | ||
Left = 'Left', |
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.
这个也可以小写~后面再改!
|
||
readonly geometryOptions?: GeometryConfig[]; | ||
|
||
readonly yAxis?: Options['yAxis'][]; |
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.
对外暴露的 types,都要写清楚注释。后面分支改。
还有两个小问题,代码风格的。分支合并了,后面再改! |
* feat: add baseCombo & dualline * fix: 部分lint 错误 * fix: npm run fix * fix: 删除无用变量 * feat: push geogemtry 拆分方式 * feat: lint * fix: lint * fix: github test 失败 * feat: 双轴图打平 * feat: line * feat: 更改双轴图引用 * feat: test 用例 * fix: lint * feat: fix lint * fix: fix 不必要的提交 * fix: merge * fix: typescript * feat: 更改 cr 问题 * feat: 更新文档及柱线混合图 * feat: 同步部分测试用例 * fix: eslint * fix: 简化 demo * fix: tslint * fix: demo 链接 * feat: 1. 更新 Option 2. 拆分 Demo 3.拆分部分方法 * feat: 补充 label demo * feat: 更新 test * feat: 合并 field adaptor * feat: 更改 geometryConfigs 值 geometryOptions * feat: 更改双轴图命名 * feat: 更改双轴图命名 * feat: 更改双轴图名字 * feat: 引用 common 文档 Co-authored-by: aiyin.lzy <nadia.lzy@antfin.com>
* feat: add baseCombo & dualline * fix: 部分lint 错误 * fix: npm run fix * fix: 删除无用变量 * feat: push geogemtry 拆分方式 * feat: lint * fix: lint * fix: github test 失败 * feat: 双轴图打平 * feat: line * feat: 更改双轴图引用 * feat: test 用例 * fix: lint * feat: fix lint * fix: fix 不必要的提交 * fix: merge * fix: typescript * feat: 更改 cr 问题 * feat: 更新文档及柱线混合图 * feat: 同步部分测试用例 * fix: eslint * fix: 简化 demo * fix: tslint * fix: demo 链接 * feat: 1. 更新 Option 2. 拆分 Demo 3.拆分部分方法 * feat: 补充 label demo * feat: 更新 test * feat: 合并 field adaptor * feat: 更改 geometryConfigs 值 geometryOptions * feat: 更改双轴图命名 * feat: 更改双轴图命名 * feat: 更改双轴图名字 * feat: 引用 common 文档 Co-authored-by: aiyin.lzy <nadia.lzy@antfin.com>
0821 所做更改
本次修改包括