Stream chart.
The responsive alternative of this component is
ResponsiveStream
.
See the dedicated guide on how to setup legends for this component.
Chart data.
Keys to use to build each layer.
'id'
Label accessor, used for legends.
Optional formatter for values.
Offset type.
Layers order.
'catmullRom'
Curve interpolation.
Chart width.
Chart height.
Chart margin.
Define style for common elements such as labels, axes…
Define chart's colors.
1
Layers fill opacity.
0
Width of layer border.
Method to compute layer border color.
Define patterns and gradients.
Define rules to apply patterns and gradients
'grid'
, 'axes'
, 'layers'
, 'dots'
, 'slices'
, 'legends'
]Defines the order of layers.
false
Enable/disable x grid.
true
Enable/disable y grid.
Top axis configuration.
Right axis configuration.
Bottom axis configuration.
Left axis configuration.
false
Enable/disable dots.
Custom rendering function for dots.
6
Size of the dots
Method to compute dots color.
0
Width of the dots border.
Method to compute dots border color.
true
Enable/disable interactivity.
Tooltip custom component.
true
Enable/disable stack tooltip ('isInteractive' must also be 'true').
Stack tooltip custom component.
true
Enable/disable transitions.
Motion config for react-spring, either a preset or a custom configuration.
Main element role attribute.
Main element aria-label.
Main element aria-labelledby.
Main element aria-describedby.