-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: liufu.lf <liufu.lf@antfin.com>
- Loading branch information
Showing
5 changed files
with
166 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#### width | ||
|
||
<description>**可选** _number_</description> | ||
|
||
功能描述:设置图表宽度。 | ||
|
||
默认配置:`400` | ||
|
||
#### height | ||
|
||
<description>**可选** _number_</description> | ||
|
||
功能描述:设置图表高度。 | ||
|
||
默认配置:`400` | ||
|
||
#### autoFit | ||
|
||
<description>**可选** _boolean_</description> | ||
|
||
功能描述:图表是否自适应容器宽高。当 `autoFit` 设置为 true 时,`width` 和 `height` 的设置将失效。 | ||
|
||
默认配置:`true` | ||
|
||
#### padding | ||
|
||
<description>**可选** _number[] | number | 'auto'_</description> | ||
|
||
功能描述: 画布的 `padding` 值,或者开启 `auto`。 | ||
|
||
#### appendPadding | ||
|
||
<description>**可选** _number[] | number_</description> | ||
|
||
功能描述: 额外增加的 `appendPadding` 值。 | ||
|
||
#### renderer | ||
|
||
<description>**可选** _string_</description> | ||
|
||
功能描述: 设置图表渲染方式为 `canvas` 或 `svg`。 | ||
|
||
默认配置: `canvas` | ||
|
||
#### pixelRatio | ||
|
||
<description>**可选** _number_</description> | ||
|
||
功能描述: 设置图表渲染的像素比。 | ||
|
||
默认配置: `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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<tag color="#87d068" text="我是引用"></tag> | ||
|
||
#### width | ||
|
||
<description>**可选** _number_</description> | ||
|
||
功能描述:设置图表宽度。 | ||
|
||
默认配置:`400` | ||
|
||
#### height | ||
|
||
<description>**可选** _number_</description> | ||
|
||
功能描述:设置图表高度。 | ||
|
||
默认配置:`400` | ||
|
||
#### autoFit | ||
|
||
<description>**可选** _boolean_</description> | ||
|
||
功能描述:图表是否自适应容器宽高。当 `autoFit` 设置为 true 时,`width` 和 `height` 的设置将失效。 | ||
|
||
默认配置:`true` | ||
|
||
#### padding | ||
|
||
<description>**可选** _number[] | number | 'auto'_</description> | ||
|
||
功能描述: 画布的 `padding` 值,或者开启 `auto`。 | ||
|
||
#### appendPadding | ||
|
||
<description>**可选** _number[] | number_</description> | ||
|
||
功能描述: 额外增加的 `appendPadding` 值。 | ||
|
||
#### renderer | ||
|
||
<description>**可选** _string_</description> | ||
|
||
功能描述: 设置图表渲染方式为 `canvas` 或 `svg`。 | ||
|
||
默认配置: `canvas` | ||
|
||
#### pixelRatio | ||
|
||
<description>**可选** _number_</description> | ||
|
||
功能描述: 设置图表渲染的像素比。 | ||
|
||
默认配置: `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
Oops, something went wrong.