react-d3-speedometer icon indicating copy to clipboard operation
react-d3-speedometer copied to clipboard

Draggable Needle

Open tsafadi opened this issue 4 years ago • 2 comments

It would be very cool if there would be a prop to make the needle draggable.

tsafadi avatar Jun 14 '21 19:06 tsafadi

Can you please give a bit more context? Do you mean, the needle can be dragged anywhere on the screen? The needle has to stay in a fixed position to give correct details right?

More context would be helpful.

palerdot avatar Jun 15 '21 03:06 palerdot

Sorry for not providing more details. I don't mean to make the needle draggable across the screen, instead, making it possible to grap the needle and rotate it withing -90 and +90 degrees. This can be very usefull for polls and other kinds of user engagements. At the moment, the speedometer can only be used for displaying data but with some tweaks it could als be used as an input. Here is an example.

tsafadi avatar Jun 15 '21 15:06 tsafadi