| | |
| | import { defaultProps, svgDefaultProps } from '@nivo/stream' |
| |
|
| | export default { |
| | label: defaultProps.label, |
| | valueFormat: { format: '', enabled: false }, |
| | margin: { |
| | top: 50, |
| | right: 110, |
| | bottom: 50, |
| | left: 60, |
| | }, |
| | axisTop: { |
| | enable: false, |
| | tickSize: 5, |
| | tickPadding: 5, |
| | tickRotation: 0, |
| | legend: '', |
| | legendOffset: 36, |
| | truncateTickAt: 0, |
| | }, |
| | axisRight: { |
| | enable: false, |
| | tickSize: 5, |
| | tickPadding: 5, |
| | tickRotation: 0, |
| | legend: '', |
| | legendOffset: 0, |
| | truncateTickAt: 0, |
| | }, |
| | axisBottom: { |
| | enable: true, |
| | tickSize: 5, |
| | tickPadding: 5, |
| | tickRotation: 0, |
| | legend: '', |
| | legendOffset: 36, |
| | truncateTickAt: 0, |
| | }, |
| | axisLeft: { |
| | enable: true, |
| | tickSize: 5, |
| | tickPadding: 5, |
| | tickRotation: 0, |
| | legend: '', |
| | legendOffset: -40, |
| | truncateTickAt: 0, |
| | }, |
| | enableGridX: true, |
| | enableGridY: false, |
| | curve: 'catmullRom', |
| | offsetType: defaultProps.offsetType, |
| | order: 'none', |
| | colors: { scheme: 'nivo' }, |
| | fillOpacity: defaultProps.fillOpacity, |
| | borderWidth: defaultProps.borderWidth, |
| | borderColor: { |
| | theme: 'background', |
| | }, |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | enableDots: defaultProps.enableDots, |
| | dotSize: 8, |
| | dotColor: { from: 'color' }, |
| | dotBorderWidth: 2, |
| | dotBorderColor: { from: 'color', modifiers: [['darker', 0.7]] }, |
| | animate: svgDefaultProps.animate, |
| | motionConfig: svgDefaultProps.motionConfig, |
| | isInteractive: defaultProps.isInteractive, |
| | enableStackTooltip: true, |
| | } |
| |
|