diff --git a/src/config/bar.js b/src/config/bar.js index 4f7a723..da233ad 100644 --- a/src/config/bar.js +++ b/src/config/bar.js @@ -176,15 +176,18 @@ export const barConfig = { */ barStyle: {}, /** - * @description Independent color for each bar + * @description Independent color mode + * When set to true, independent color mode is enabled * @type {Boolean} * @default independentColor = false */ independentColor: false, /** * @description Independent colors + * Only effective when independent color mode is enabled + * Default value is the same as the color in the root configuration + * Two-dimensional color array can produce gradient colors * @type {Array} - * @default independentColor = [] * @example independentColor = ['#fff', '#000'] * @example independentColor = [['#fff', '#000'], '#000'] */