Skip to content

Commit

Permalink
新增:line 坐标轴线条样式示例说明 (#3207)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper1x authored May 24, 2022
1 parent 65277bd commit fbd4358
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/common/axis.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,28 @@ interface AxisLabelAutoHideCfg {

`markdown:docs/common/line-style.zh.md`

示例(设置 x 轴的 line 坐标轴线条样式):

```ts
{
xAxis: {
line: {
style: {
stroke: 'black',
lineWidth: 2,
lineDash: [4, 5],
strokeOpacity: 0.7,
shadowColor: 'black',
shadowBlur: 10,
shadowOffsetX: 5,
shadowOffsetY: 5,
cursor: 'pointer'
}
}
}
}
```

##### tickLine

<description>**optional** _object_</description>
Expand Down

0 comments on commit fbd4358

Please sign in to comment.