Bullet chart supporting multiple ranges/measures/markers.
You can fully customize this chart using custom components via
rangeComponent
, measureComponent
and markerComponent
properties.
The responsive alternative of this component is ResponsiveBullet
.
Chart data.
0
Minimum value.
'auto'
Maximum value.
Chart width.
Chart height.
Chart margin.
'horizontal'
How to display items.
false
Reverse chart.
30
define spacing between items.
0.4
define size of measure related to item size, expressed as a ratio.
0.6
define size of markers related to item size, expressed as a ratio.
Define style for common elements such as labels, axes…
Method to compute range border color.
0
Width of range border.
Custom component for ranges.
'seq:cool'
Ranges colors
Method to compute measure border color.
0
Width of measure border.
Custom component for measures.
'seq:red_purple'
Measures colors.
Custom component for markers.
'seq:red_purple'
Markers colors.
'after'
Where to put axis.
'before'
Where to put title.
'middle'
title alignment.
0
title x offset from bullet edge.
0
title y offset from bullet edge.
0
title rotation.
onClick handler for ranges.
onClick handler for measures.
onClick handler for markers.
true
Enable/disable transitions.
'default'
Motion config for react-spring, either a preset or a custom configuration.