Setting customSegmentStops does not show correctly
Closed this issue · 3 comments
JerryLMJ commented
JerryLMJ commented
<ReactSpeedometer
className="speedometer"
needleTransition="easeElastic"
needleTransitionDuration={1500}
width={150}
height={100}
ringWidth={20}
value={212.46}
currentValueText="212.46%"
maxValue={300}
minValue={90}
customSegmentStops={[90, 120, 150, 200, 240, 300]}
startColor="#FE4819"
endColor="#6AD72C"
forceRender
/>
palerdot commented
@sudhir451 @JerryLMJ This issue is fixed and released in v0.7.1
. Reference sandbox - https://codesandbox.io/s/jolly-thompson-2k3d7 ... Please upgrade to v0.7.1
which will address this issue. Thanks for bringing attention to this issue ...