Skip to content

Commit 76fbd6a

Browse files
committed
fix(dual-axes): 修改双轴图 annotations 文档
1 parent d0055e1 commit 76fbd6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/plots/dual-axes.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The configuration for Xaxis and Yaxis is the same, since DualAxes are biaxes, an
126126
```ts
127127
{
128128
yField: ['pv', 'uv'],
129-
yAxis: {
129+
annotations: {
130130
pv: [
131131
{
132132
type: 'line',

docs/api/plots/dual-axes.zh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ xAxis、yAxis 配置相同,由于 DualAxes 是双轴, annotations 类型是
125125
```ts
126126
{
127127
yField: ['pv', 'uv'],
128-
yAxis: {
128+
annotations: {
129129
pv: [
130130
{
131131
type: 'line',

0 commit comments

Comments
 (0)