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.labelOffset,
type: 'number',
controlType: 'range',
group: 'Labels',
controlOptions: {
unit: 'px',
min: -80,
max: 80,
},
},
{
key: 'labelRotation',
help: 'Label rotation.',
required: false,
defaultValue: defaults.labelRotation,
type: 'number',
controlType: 'angle',
group: 'Labels',
controlOptions: {
min: -180,
max: 180,
step: 5,
},
},
{
key: 'labelTextColor',
help: 'Labels color.',
description: `
How to compute label text color,
[see dedicated documentation](self:/guides/colors).
`,