Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
type: 'number',
required: false,
defaultValue: dotDefaults.labelYOffset,
controlType: 'range',
controlOptions: {
unit: 'px',
min: -24,
max: 24,
},
},
{
key: 'enableGridX',
help: 'Enable/disable x grid.',
type: 'boolean',
required: false,
defaultValue: defaults.enableGridX,
controlType: 'switch',
group: 'Grid & Axes',
},
{
key: 'gridXValues',
group: 'Grid & Axes',
help: 'Specify values to use for vertical grid lines.',
type: 'Array',
required: false,
},
{
key: 'enableGridY',
help: 'Enable/disable y grid.',
type: 'boolean',
required: false,
defaultValue: defaults.enableGridY,