Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
max: 10,
},
},
{
key: 'cellBorderColor',
scopes: '*',
description: (
<span>
how to compute cell border color,{' '}
see dedicated documentation.
</span>
),
help: 'Method to compute cell border color.',
type: '{string|Function}',
required: false,
default: defaults.cellBorderColor,
controlType: 'color',
controlGroup: 'Style',
controlOptions: {
withCustomColor: true,
},
},
/*——————————————————————————————————————————————————————————————————————————
Labels
————————————————————————————————————————————————————————————————————————————*/
{
key: 'enableLabels',
scopes: '*',
description: 'Enable/disable labels.',
type: '{boolean}',
required: false,
defaultValue: defaults.cellBorderWidth,
type: 'number',
controlType: 'lineWidth',
group: 'Style',
},
{
key: 'cellBorderColor',
help: 'Method to compute cell border color.',
description: `
how to compute cell border color,
[see dedicated documentation](self:/guides/colors).
`,
type: 'string | object | Function',
required: false,
defaultValue: defaults.cellBorderColor,
controlType: 'inheritedColor',
group: 'Style',
},
{
key: 'enableLabels',
help: 'Enable/disable labels.',
type: 'boolean',
required: false,
defaultValue: defaults.enableLabels,
controlType: 'switch',
group: 'Labels',
},
{
key: 'labelTextColor',
help: 'Method to compute label text color.',
description: `