Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
description: `
how to compute label text color,
[see dedicated documentation](self:/guides/colors).
`,
type: 'string | object | Function',
required: false,
defaultValue: defaults.labelTextColor,
controlType: 'inheritedColor',
group: 'Labels',
},
{
key: 'enableGridX',
help: 'Enable/disable x grid.',
type: 'boolean',
required: false,
defaultValue: defaults.enableGridX,
controlType: 'switch',
group: 'Grid & Axes',
},
{
key: 'enableGridY',
help: 'Enable/disable y grid.',
type: 'boolean',
required: false,
defaultValue: defaults.enableGridY,
controlType: 'switch',
group: 'Grid & Axes',
},
...axesProperties(),
{
key: 'isInteractive',
flavors: ['svg', 'canvas'],
required: false,
default: defaults.labelTextColor,
controlType: 'color',
controlGroup: 'Labels',
controlOptions: {
withCustomColor: true,
},
},
...marginProperties,
{
key: 'enableGridX',
scopes: '*',
description: 'Enable/disable x grid.',
type: '{boolean}',
required: false,
default: defaults.enableGridX,
controlType: 'switch',
controlGroup: 'Grid & Axes',
},
{
key: 'enableGridY',
scopes: '*',
description: 'Enable/disable y grid.',
type: '{boolean}',
required: false,
default: defaults.enableGridY,
controlType: 'switch',
controlGroup: 'Grid & Axes',
},
...axesProperties,
/*——————————————————————————————————————————————————————————————————————————