Skip to content

Commit

Permalink
update bar config node
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed Nov 26, 2019
1 parent 929ff9f commit 2a00837
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/config/bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
*/
Expand Down

0 comments on commit 2a00837

Please sign in to comment.