Skip to content

Commit

Permalink
docs: update docs of wordcloud-shape
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Aug 20, 2024
1 parent 82985b8 commit f7124b7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: word chart
title: 几何轮廓形状词云图
keywords: wordCloud,text,distribution
order: 14-7
cover:
cover: /vchart/preview/word-cloud-chart-word-cloud-shape-geometry_1.12.0.png
option: wordCloudChart
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: word chart
title: 文字轮廓形状词云图
keywords: wordCloud,text,distribution
order: 14-10
cover:
cover: /vchart/preview/word-cloud-chart-word-cloud-shape-text_1.12.0.png
option: wordCloudChart
---

Expand All @@ -18,6 +18,7 @@ This chart forms a word cloud based on text outlines, where the size of the text
- `wordMask` displays the automatically calculated text outline as a background.

## Code Demonstration

```javascript livedemo
const spec = {
type: 'wordCloud',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: word chart
title: 几何轮廓形状词云图
keywords: wordCloud,text,distribution
order: 14-10
cover:
cover: /vchart/preview/word-cloud-chart-word-cloud-shape-geometry_1.12.0.png
option: wordCloudChart
---

Expand All @@ -15,7 +15,7 @@ option: wordCloudChart
## 关键配置

- `maskShape` 属性声明形状词云的轮廓类型为几何形状类型
- `wordMask` 将自动计算的几何形状轮廓作为背景展示
- `wordMask` 将自动计算的几何形状轮廓作为背景展示

## 代码演示

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: word chart
title: 文字轮廓形状词云图
keywords: wordCloud,text,distribution
order: 14-10
cover:
cover: /vchart/preview/word-cloud-chart-word-cloud-shape-text_1.12.0.png
option: wordCloudChart
---

Expand All @@ -15,14 +15,13 @@ option: wordCloudChart
## 关键配置

- `maskShape` 属性声明为形状词云的轮廓类型为文字类型
- `wordMask` 将自动计算的文字轮廓作为背景展示
- `wordMask` 将自动计算的文字轮廓作为背景展示

## 代码演示

```javascript livedemo
const spec = {
type: 'wordCloud',
// 待申请新外网可访问的存储空间后更换
maskShape: {
type: 'text',
text: 'VChart',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f7124b7

Please sign in to comment.