Skip to content

Commit

Permalink
feat(plots): add WorlCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-qing-hai committed Oct 10, 2023
1 parent a70f167 commit d63b105
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/plots/src/core/plots/wordCloud/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ export class WordCloud extends Plot<WordCloudOptions> {
public type = 'WordCloud';

/**
* 获取 水波图 默认配置项
* 获取 词云图 默认配置项
* 供外部使用
*/
static getDefaultOptions(): Partial<WordCloudOptions> {
return { type: 'view', children: [{ type: 'wordCloud' }] };
}

/**
* 获取 水波图 默认配置
* 获取 词云图 默认配置
*/
protected getDefaultOptions() {
return WordCloud.getDefaultOptions();
}

/**
* 水波图适配器
* 词云图适配器
*/
protected getSchemaAdaptor(): (params: Adaptor<WordCloudOptions>) => void {
return adaptor;
Expand Down

0 comments on commit d63b105

Please sign in to comment.