Skip to content

Commit

Permalink
update note
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed Aug 22, 2019
1 parent fdf5b76 commit e470b2e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions lib/components/activeRingChart/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
activeRadius: '55%',
/**
* @description Ring data
* @type {Array}
* @type {Array<Object>}
* @default data = [{ name: '', value: 0 }]
*/
data: [{ name: '', value: 0 }],
Expand All @@ -64,9 +64,10 @@ export default {
*/
activeTimeGap: 3000,
/**
* @description Ring color (hex|rgb|rgba)
* @description Ring color (hex|rgb|rgba|color keywords)
* @type {Array<String>}
* @default color = [Charts Default Color]
* @example color = ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
*/
color: [],
/**
Expand Down Expand Up @@ -195,7 +196,8 @@ export default {
show: false
}
}
]
],
color: mergedConfig.color
}
},
getRealRadius (active = false) {
Expand Down
3 changes: 2 additions & 1 deletion lib/components/percentPond/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ export default {
*/
value: 0,
/**
* @description Colors (Hex|rgb|rgba)
* @description Colors (hex|rgb|rgba|color keywords)
* @type {Array<String>}
* @default colors = ['#00BAFF', '#3DE7C9']
* @example colors = ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
*/
colors: ['#3DE7C9', '#00BAFF'],
/**
Expand Down
3 changes: 2 additions & 1 deletion lib/components/waterLevelPond/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ export default {
*/
waveOpacity: 0.4,
/**
* @description Colors (Hex|rgb|rgba)
* @description Colors (hex|rgb|rgba|color keywords)
* @type {Array<String>}
* @default colors = ['#00BAFF', '#3DE7C9']
* @example colors = ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
*/
colors: ['#3DE7C9', '#00BAFF'],
/**
Expand Down

0 comments on commit e470b2e

Please sign in to comment.