The Bump chart can be used to show the ranking of several series over time. It is quite similar to line charts, but instead of graphing some measure on the y-axis, it only shows the ranking of each serie at a given time.
If you'd like to show the ranking and also graph the y-axis values, you can also you use the AreaBump component.
The responsive alternative of this component is ResponsiveBump
.
Chart data.
Chart width.
Chart height.
Chart margin.
'smooth'
Line interpolation.
0.6
X padding.
0.5
X outer padding.
0.5
Y outer padding.
Define style for common elements such as labels, axes…
Define chart's colors.
2
Line width.
4
Line width for active series.
1
Line width for inactive series.
1
Opacity.
1
Opacity for active series.
0.3
Opacity for inactive series.
false
Start label, use a boolean to enable/disable, or a function to customize its text.
16
Start label padding.
Method to compute start label text color, or a function to customize its text.
true
End label, use a boolean to enable/disable, or a function to customize its text.
16
End label padding.
Method to compute end label text color.
6
Point size.
8
Point size for active series.
4
Point size for inactive series.
Method to compute point fill color.
0
Point border width.
0
Point border width for active series.
0
Point border width for inactive series.
Method to compute point border color.
true
Enable/disable x grid.
true
Enable/disable y grid.
Top axis configuration.
Right axis configuration.
Bottom axis configuration.
Left axis configuration.
true
Enable/disable interactivity.
false
Use a voronoi mesh to detect mouse interactions.
false
Display mesh used to detect mouse interactions (voronoi cells).
onMouseEnter handler.
onMouseMove handler.
onMouseLeave handler.
onClick handler.
Custom line tooltip component, used when useMesh
is false
.
Custom point tooltip component, used when useMesh
is true
.
true
Enable/disable transitions.
'gentle'
Motion config for react-spring, either a preset or a custom configuration.