update note

This commit is contained in:
jiaming743 2019-08-22 14:42:51 +08:00
parent fdf5b76fe0
commit e470b2ed8a
3 changed files with 9 additions and 5 deletions

View File

@ -47,7 +47,7 @@ export default {
activeRadius: '55%', activeRadius: '55%',
/** /**
* @description Ring data * @description Ring data
* @type {Array} * @type {Array<Object>}
* @default data = [{ name: '', value: 0 }] * @default data = [{ name: '', value: 0 }]
*/ */
data: [{ name: '', value: 0 }], data: [{ name: '', value: 0 }],
@ -64,9 +64,10 @@ export default {
*/ */
activeTimeGap: 3000, activeTimeGap: 3000,
/** /**
* @description Ring color (hex|rgb|rgba) * @description Ring color (hex|rgb|rgba|color keywords)
* @type {Array<String>} * @type {Array<String>}
* @default color = [Charts Default Color] * @default color = [Charts Default Color]
* @example color = ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
*/ */
color: [], color: [],
/** /**
@ -195,7 +196,8 @@ export default {
show: false show: false
} }
} }
] ],
color: mergedConfig.color
} }
}, },
getRealRadius (active = false) { getRealRadius (active = false) {

View File

@ -72,9 +72,10 @@ export default {
*/ */
value: 0, value: 0,
/** /**
* @description Colors (Hex|rgb|rgba) * @description Colors (hex|rgb|rgba|color keywords)
* @type {Array<String>} * @type {Array<String>}
* @default colors = ['#00BAFF', '#3DE7C9'] * @default colors = ['#00BAFF', '#3DE7C9']
* @example colors = ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
*/ */
colors: ['#3DE7C9', '#00BAFF'], colors: ['#3DE7C9', '#00BAFF'],
/** /**

View File

@ -90,9 +90,10 @@ export default {
*/ */
waveOpacity: 0.4, waveOpacity: 0.4,
/** /**
* @description Colors (Hex|rgb|rgba) * @description Colors (hex|rgb|rgba|color keywords)
* @type {Array<String>} * @type {Array<String>}
* @default colors = ['#00BAFF', '#3DE7C9'] * @default colors = ['#00BAFF', '#3DE7C9']
* @example colors = ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
*/ */
colors: ['#3DE7C9', '#00BAFF'], colors: ['#3DE7C9', '#00BAFF'],
/** /**