Skip to content
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

fix(docs): add axis missing property labelOpacity #6059

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions site/docs/spec/component/axis.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ chart.interval().axis('x', {}).axis('y', {});
| 属性 | 描述 | 类型 | 默认值 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------- |
| label | 是否显示刻度值 | `boolean` | - |
| labelOpacity | 刻度值透明度 | `number` | `(datum, index, data)=>number` | - |
| labelFilter | 刻度值过滤 | `(datum, index, data)=> boolean` | - |
| labelFormatter | 刻度值线格式化 | `DisplayObject` | `(datum, index, data, Vector)=> DisplayObject` | - |
| transform | 刻度值转换,避免文本之间发生重叠。当前支持超长文本缩略、重叠刻度值隐藏、自动旋转 | `Transform[]` | - |
Expand All @@ -157,8 +158,8 @@ chart.interval().axis('x', {}).axis('y', {});
| labelFontSize | 刻度值文字大小 | `number` | `(datum, index, data)=>number` | - |
| labelFontFamily | 刻度值文字字体 | `string` | `(datum, index, data)=>string` | - |
| labelFontWeight | 刻度值字体粗细 | `number` |`(datum, index, data)=>number` | - |
| labelFill | 刻度值字体颜色 | `string` | `(datum, index, data)=>string` | - |
| labelFillOpacity | 刻度值文本透明度 | `number` | `(datum, index, data)=>number` | - |
| labelFill | 刻度值字体颜色 | `string` | `(datum, index, data)=>string` | - |
| labelFillOpacity | 刻度值文本透明度 | `number` | `(datum, index, data)=>number` | - |
| labelStroke | 刻度值文本描边颜色 | `string` | `(datum, index, data)=>string` | - |
| labelStrokeOpacity | 刻度值文本描边透明度 | `number` | `(datum, index, data)=>number` | - |

Expand Down
Loading