RadialGauge
Last updated
Last updated
This component is used to create a radial gauge.
Find a here
min
number
min value of the gauge
max
number
max value of the gauge
value
number
value of the gauge
colors
Array<{ color: string, stopAt: number }>
colors array. color: name of the color. stopAt: length of color distribution. default is blue, green, yellow, red colors at equal length
label
() => JSX.Element
label no default value
legend
boolean
if true show legend. default is false
tickColor
string
color of the ticks. default is white
className
string
class name(s) for additional styling
styles
React.CSSProperties
additional inline styles
gradient
boolean
if true show gradient colors default is false
thickness
number
thickness of the gauge This value is defend on the radius default is radius * 0.11 max value is radius * 0.25 if you pass a higher value than the max value, max value will be used
largeTick
number
thickness of the large ticks default is 4 min value is 1 max value is 6 if the given value is higher than the max value, max values will be used
smallTick
number
thickness of the small ticks default is 1 min values is 1 max values is 3 if the given values is higher than the max value, max values will be used
backgroundColor
string
backbround color of the gauge default is white
labelColor
string
color of the labels default is #424242
needleColor
string
color of the needle default is gray
min value of the gauge
number
max value of the gauge
number
value of the gauge
number
colors array. color: name of the color. stopAt: length of color distribution.
default is blue, green, yellow, red colors at equal length
Array<{ color: string, stopAt: number }>
label no default value
() => JSX.Element
if true show legend. default is false
boolean
color of the ticks. default is white
string
class name(s) for additional styling
string
additional inline styles
React.CSSProperties
if true show gradient colors default is false
boolean
thickness of the gauge This value is defend on the radius default is radius * 0.11 max value is radius * 0.25
if you pass a higher value than the max value, max value will be used
number
thickness of the large ticks default is 4 min value is 1 max value is 6
if the given value is higher than the max value, max values will be used
number
thickness of the small ticks default is 1 min values is 1 max values is 3
if the given values is higher than the max value, max values will be used
number
backbround color of the gauge default is white
string
color of the labels default is #424242
string
color of the needle default is gray
string