Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
99ae700f
Commit
99ae700f
authored
Oct 27, 2017
by
nikogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Charts docs default value
parent
9be2358b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/components/Charts/index.md
src/components/Charts/index.md
+6
-6
No files found.
src/components/Charts/index.md
View file @
99ae700f
...
...
@@ -33,7 +33,7 @@ Ant Design Pro 提供的业务中常用的图表类型,都是基于 [G2](https
| 参数 | 说明 | 类型 | 默认值 |
|----------|------------------------------------------|-------------|-------|
| color | 图表颜色 | string |
`
#
rgba(24, 144, 255, 0.2)`
|
| color | 图表颜色 | string |
`rgba(24, 144, 255, 0.2)`
|
| borderColor | 图表边颜色 | string |
`#1890FF`
|
| height | 图表高度 | number | - |
| line | 是否显示描边 | boolean | false |
...
...
@@ -69,7 +69,7 @@ Ant Design Pro 提供的业务中常用的图表类型,都是基于 [G2](https
| color | 图表颜色 | string |
`rgba(24, 144, 255, 0.85)`
|
| height | 图表高度 | number | - |
| hasLegend | 是否显示 legend | boolean |
`false`
|
| margin | 图表内部间距 | array |
\[
32, 0, 32, 4
0
\]
|
| margin | 图表内部间距 | array |
\[
24, 0, 24,
0
\]
|
| percent | 占比 | number | - |
| title | 图表标题 | ReactNode
\|
string | - |
| tooltip | 是否显示 tooltip | boolean | true |
...
...
@@ -83,7 +83,7 @@ Ant Design Pro 提供的业务中常用的图表类型,都是基于 [G2](https
| title | 图表标题 | ReactNode
\|
string | - |
| height | 图表高度 | number | - |
| hasLegend | 是否显示 legend | boolean |
`false`
|
| margin | 图表内部间距 | array |
\[
16, 0, 16,
0
\]
|
| margin | 图表内部间距 | array |
\[
24, 30, 16, 3
0
\]
|
### Gauge
...
...
@@ -91,8 +91,8 @@ Ant Design Pro 提供的业务中常用的图表类型,都是基于 [G2](https
|----------|------------------------------------------|-------------|-------|
| title | 图表标题 | ReactNode
\|
string | - |
| height | 图表高度 | number | - |
| color | 图表颜色 | string |
`#
00b1f8
`
|
| bgColor | 图表北京颜色 | string |
`#
d3f3fe
`
|
| color | 图表颜色 | string |
`#
2F9CFF
`
|
| bgColor | 图表北京颜色 | string |
`#
F0F2F5
`
|
| percent | 进度比例 | number | - |
### WaterWave
...
...
@@ -101,7 +101,7 @@ Ant Design Pro 提供的业务中常用的图表类型,都是基于 [G2](https
|----------|------------------------------------------|-------------|-------|
| title | 图表标题 | ReactNode
\|
string | - |
| height | 图表高度 | number | - |
| color | 图表颜色 | string |
`#1
9AFFA
`
|
| color | 图表颜色 | string |
`#1
890FF
`
|
| percent | 进度比例 | number | - |
### TagCloud
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment