-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
docs: component-axis 文档改造 #6644
base: v5
Are you sure you want to change the base?
Conversation
louhaojie99
commented
Mar 12, 2025
•
edited
Loading
edited
- 文档结构
- 构成元素示例图
- Items 配置项总览表格
- Item 配置项使用代码示例
- 坐标轴(Axis)里原有的必有全面的示例代码写在了图表示例中。
Walkthrough本次 PR 对 component-axis 文档进行了全面改造,增加了概述、构成元素、使用方式等部分,并提供了详细的配置项说明和示例代码,旨在提升文档的可读性和实用性。 Changes
|
|
||
坐标轴可以在 Mark 层级配置。在 G2 中每个标记(Mark)都有自己的坐标轴。如果标记对应比例尺是同步的,那么坐标轴也会合并。 | ||
|
||
```js | ||
```ts |
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.
The change from JavaScript to TypeScript in code examples is significant. Ensure that all examples are correctly updated to TypeScript syntax to prevent any potential errors for users following these examples.
|
||
### 构成元素 | ||
|
||
 |
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.
这张图来源于G2Plot - 坐标轴 - Axis 做了修改上传到对应图床中。
Pull Request Test Coverage Report for Build 13851003714Details
💛 - Coveralls |
5d47ddd
to
937a13a
Compare
937a13a
to
f3e631f
Compare