react-gauge-chart icon indicating copy to clipboard operation
react-gauge-chart copied to clipboard

Feature request: Flag to stop rotation at 100%

Open eirikaho opened this issue 5 years ago • 1 comments

Nice component! :+1:

It would be great if we are able to flag whether the needle should top / be capped at max or just continue to rotate.

Submitted PR https://github.com/Martin36/react-gauge-chart/pull/40

eirikaho avatar Feb 25 '20 07:02 eirikaho

This is what I implemented in my App to prevent this. max(0, min(1, value))

dominicboston avatar Nov 30 '20 23:11 dominicboston