Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
required: false,
defaultValue: defaults.labelSkipWidth,
controlType: 'range',
group: 'Labels',
controlOptions: {
unit: 'px',
min: 0,
max: 36,
},
},
{
key: 'labelSkipHeight',
help: 'Skip label if bar height is lower than provided value, ignored if 0.',
type: 'number',
required: false,
defaultValue: defaults.labelSkipHeight,
controlType: 'range',
group: 'Labels',
controlOptions: {
unit: 'px',
min: 0,
max: 36,
},
},
{
key: 'labelTextColor',
help: 'Defines how to compute label text color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.labelTextColor,
controlType: 'inheritedColor',
group: 'Labels',