Skip to content

Commit

Permalink
docs: autoChart
Browse files Browse the repository at this point in the history
  • Loading branch information
neoddish committed Nov 21, 2020
1 parent b67b50c commit 8f0172b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ava-site/docs/api/chart-advisor/autoChart.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ Theme of the chart styles.

Detailed configs of the chart.

#### options.refine

on/off design rules

#### options.chartRuleConfigs

Custom configs for chart rules.

#### options.noDataContent

To render content without data, you need to provide a `render` and `destroy` method for user rendering and destruction.
Expand Down
8 changes: 8 additions & 0 deletions packages/ava-site/docs/api/chart-advisor/autoChart.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ autoChart(container, data, options);

图表配置,你可以手动指定图表类型,和图表配置,可以直接从配置面板中拷贝出来作为 config 配置

#### options.refine

设计规则开关

#### options.chartRuleConfigs

自定义推荐规则配置

#### options.noDataContent

在没有数据的情况下渲染的内容,你需要提供一个 render 和 destroy 方法来用户渲染和销毁。 默认展示'暂无数据', 示例
Expand Down

0 comments on commit 8f0172b

Please sign in to comment.