-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: 更新common文档中的英文标题 * docs: 更新common英文文档
- Loading branch information
Showing
4 changed files
with
49 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
#### width | ||
|
||
<description>**可选** _number_</description> | ||
<description>**optional** _number_</description> | ||
|
||
功能描述:设置图表宽度。 | ||
Description: Set the width of the chart. | ||
|
||
默认配置:`400` | ||
Default: `400` | ||
|
||
#### height | ||
|
||
<description>**可选** _number_</description> | ||
<description>**optional** _number_</description> | ||
|
||
功能描述:设置图表高度。 | ||
Description: Set the height of the chart. | ||
|
||
默认配置:`400` | ||
Default: `400` | ||
|
||
#### autoFit | ||
|
||
<description>**可选** _boolean_</description> | ||
<description>**optional** _boolean_</description> | ||
|
||
功能描述:图表是否自适应容器宽高。当 `autoFit` 设置为 true 时,`width` 和 `height` 的设置将失效。 | ||
Description: Whether the chart automatically adjusts to fit the container. If it is set to `true`, `width` and `height` configuration would fail. | ||
|
||
默认配置:`true` | ||
Default: `true` | ||
|
||
#### padding | ||
|
||
<description>**可选** _number[] | number | 'auto'_</description> | ||
<description>**optional** _number[] | number | 'auto'_</description> | ||
|
||
功能描述: 画布的 `padding` 值,或者开启 `auto`。 | ||
Description: Set `padding` value of the canvas. You can also use `auto`. | ||
|
||
#### appendPadding | ||
|
||
<description>**可选** _number[] | number_</description> | ||
<description>**optional** _number[] | number_</description> | ||
|
||
功能描述: 额外增加的 `appendPadding` 值。 | ||
Description: Extra `appendPadding` value. | ||
|
||
#### renderer | ||
|
||
<description>**可选** _string_</description> | ||
<description>**optional** _string_</description> | ||
|
||
功能描述: 设置图表渲染方式为 `canvas` 或 `svg`。 | ||
Description: Set the render way to `canvas` or `svg`. | ||
|
||
默认配置: `canvas` | ||
Default: `canvas` | ||
|
||
#### pixelRatio | ||
|
||
<description>**可选** _number_</description> | ||
<description>**optional** _number_</description> | ||
|
||
功能描述: 设置图表渲染的像素比。 | ||
Description: Set the pixel ratio of the chart. | ||
|
||
默认配置: `window.devicePixelRatio` | ||
Default: `window.devicePixelRatio` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters