Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
label: 'depth',
value: 'depth',
},
{
label: 'name',
value: 'name',
},
],
},
},
{
key: 'borderWidth',
help: 'Width of circle border.',
type: 'number',
required: false,
defaultValue: defaults.borderWidth,
controlType: 'lineWidth',
group: 'Style',
},
{
key: 'borderColor',
help: 'Method to compute border color.',
description: `
how to compute border color,
[see dedicated documentation](self:/guides/colors).
`,
type: 'string | object | Function',
required: false,
defaultValue: defaults.borderColor,
controlType: 'inheritedColor',
group: 'Style',
},
value: 'name',
},
{
label: 'd => d.color',
value: 'd => d.color',
},
],
},
},
{
key: 'borderWidth',
scopes: '*',
description: 'Width of circle border.',
type: '{number}',
required: false,
default: defaults.borderWidth,
controlType: 'range',
controlGroup: 'Style',
controlOptions: {
unit: 'px',
min: 0,
max: 10,
},
},
{
key: 'borderColor',
scopes: '*',
description: (
<span>
how to compute border color,{' '}
see dedicated documentation.
</span>