Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
id: string | number,
x: number,
y: number
}>
\`\`\`
`,
type: 'object[]',
required: true,
},
{
key: 'xDomain',
group: 'Base',
help: 'Defines the x values domain.',
type: '[number, number]',
required: false,
defaultValue: defaults.xDomain,
},
{
key: 'yDomain',
group: 'Base',
help: 'Defines the y values domain.',
type: '[number, number]',
required: false,
defaultValue: defaults.yDomain,
},
{
key: 'width',
enableControlForFlavors: ['api'],
description: `
not required if using
\`\`.
`,
y: {number}
}>
`}
),
type: '{Object}',
required: true,
},
{
key: 'xDomain',
scopes: '*',
description: 'Defines the x values domain.',
type: '{[number, number]}',
required: false,
default: defaults.xDomain,
},
{
key: 'yDomain',
scopes: '*',
description: 'Defines the y values domain.',
type: '{[number, number]}',
required: false,
default: defaults.yDomain,
},
{
key: 'width',
scopes: ['api'],
docScopes: '*',
description: (
<span>
not required if using </span>