Skip to content

Commit

Permalink
fix(docs): add axis missing property labelOpacity (#6059)
Browse files Browse the repository at this point in the history
* fix(docs): typo axis `labelOpacity`

* fix(docs): add axis `labelOpacity`
  • Loading branch information
Jungzl authored Jan 26, 2024
1 parent 2f0f0e0 commit 9e35333
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 9e35333

Please sign in to comment.