Skip to content

Commit

Permalink
Merge pull request #3084 from VisActor/docs/richtext-doc-path
Browse files Browse the repository at this point in the history
docs: update richtext docs path
  • Loading branch information
xile611 authored Aug 14, 2024
2 parents d553203 + fa52d91 commit b8d5930
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 20 deletions.
14 changes: 7 additions & 7 deletions docs/assets/guide/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,13 @@
"zh": "自定义 mark",
"en": "Custom Mark"
}
},
{
"path": "Richtext_and_Dom",
"title": {
"zh": "富文本和 Dom 扩展",
"en": "Richtext and dom extension"
}
}
]
},
Expand Down Expand Up @@ -827,13 +834,6 @@
"en": "Function"
}
},
{
"path": "Richtext_and_Dom",
"title": {
"zh": "富文本和 Dom 扩展",
"en": "Richtext and dom extension"
}
},
{
"path": "Chart_Plugins",
"title": {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/en/component/axis-common/axis-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ formatMethod: text => {
};
```

For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/Richtext_and_Dom)
For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string | string[])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Strategies employed in adaptive text computing. Options:
IFormatMethod<[activeDatum: Datum]> | ITextMarkSpec['text'] | ReturnType<IFormatMethod<[activeDatum: Datum]>>;
```

支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} style(Object)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/en/component/label.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ formatMethod: text => {
};
```

For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/Richtext_and_Dom)
For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string)

Expand Down
11 changes: 6 additions & 5 deletions docs/assets/option/en/component/legend-discrete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ Whether or not to enable the checking of the legend, the default is on.

### selectMode(string) = 'multiple'

The check mode of the legend, with optional values:
* `'multiple'` multiple selection mode
* `'single'` single selection mode
* `'focus'` focus selection mode
The check mode of the legend, with optional values:

- `'multiple'` multiple selection mode
- `'single'` single selection mode
- `'focus'` focus selection mode

### scale(string)

Expand Down Expand Up @@ -465,7 +466,7 @@ formatMethod: text => {
};
```

For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/Richtext_and_Dom)
For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#### formatter(string | string[])

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/zh/component/axis-common/axis-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ formatMethod: text => {
};
```

更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string|string[])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
IFormatMethod<[activeDatum: Datum]> | ITextMarkSpec['text'] | ReturnType<IFormatMethod<[activeDatum: Datum]>>;
```

支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} style(Object)

Expand Down
4 changes: 2 additions & 2 deletions docs/assets/option/zh/component/label.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

自 1.7.0 版本支持,文本类型。`1.10.0`版本后,建议使用 `formatMethod` 配置富文本。

富文本的具体使用方式,请参考[富文本教程文档](/vchart/guide/tutorial_docs/Richtext_and_Dom)
富文本的具体使用方式,请参考[富文本教程文档](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

可选:

Expand Down Expand Up @@ -58,7 +58,7 @@ formatMethod: text => {
};
```

更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/zh/component/legend-discrete.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ formatMethod: text => {
};
```
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)
##### style(Object|Function)
Expand Down

0 comments on commit b8d5930

Please sign in to comment.