Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
borderWidth: AreaBumpDefaultProps.borderWidth,
activeBorderWidth: AreaBumpDefaultProps.activeBorderWidth,
inactiveBorderWidth: AreaBumpDefaultProps.inactiveBorderWidth,
borderColor: AreaBumpDefaultProps.borderColor,
borderOpacity: AreaBumpDefaultProps.borderOpacity,
activeBorderOpacity: AreaBumpDefaultProps.activeBorderOpacity,
inactiveBorderOpacity: AreaBumpDefaultProps.inactiveBorderOpacity,
startLabel: 'id',
startLabelPadding: AreaBumpDefaultProps.startLabelPadding,
startLabelTextColor: AreaBumpDefaultProps.startLabelTextColor,
endLabel: 'id',
endLabelPadding: AreaBumpDefaultProps.endLabelPadding,
endLabelTextColor: AreaBumpDefaultProps.endLabelTextColor,
enableGridX: AreaBumpDefaultProps.enableGridX,
axisTop: {
enable: true,
tickSize: 5,
tickPadding: 5,
tickRotation: 0,
legend: '',
legendPosition: 'middle',
legendOffset: -36,
},
axisBottom: {
enable: true,
tickSize: 5,
tickPadding: 5,
tickRotation: 0,
legend: '',
legendPosition: 'middle',
{
key: 'endLabelTextColor',
help: 'Method to compute end label text color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.endLabelTextColor,
controlType: 'inheritedColor',
group: 'Labels',
},
{
key: 'enableGridX',
group: 'Grid & Axes',
help: 'Enable/disable x grid.',
type: 'boolean',
required: false,
defaultValue: defaults.enableGridX,
controlType: 'switch',
},
...axesProperties({ exclude: ['right', 'left'] }),
{
key: 'isInteractive',
group: 'Interactivity',
type: 'boolean',
help: 'Enable/disable interactivity.',
required: false,
defaultValue: defaults.isInteractive,
controlType: 'switch',
},
{
key: 'onMouseEnter',
group: 'Interactivity',
type: '(serie, event) => void',