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

Custom Needle Display

Open DenisOlianych opened this issue 4 years ago • 4 comments

Is it possible to resize the needle's width? Or replace the needle with other an element? To show something else instead of a needle?

Thank you for your time.

DenisOlianych avatar Jul 17 '20 17:07 DenisOlianych

@DenisOlianych Right now it is not possible to configure custom needle. Having a custom needle component as a prop will solve this issue. I will take a look at this when I have time. PRs are welcome.

palerdot avatar Jul 31 '20 07:07 palerdot

@DenisOlianych Right now it is not possible to configure custom needle. Having a custom needle component as a prop will solve this issue. I will take a look at this when I have time. PRs are welcome.

Yes, please. Because I’m really need it. Thank you!

DenisOlianych avatar Jul 31 '20 07:07 DenisOlianych

any update?

Rao-Mudasir avatar Jun 02 '23 17:06 Rao-Mudasir

This issue is not prioritized and not actively worked right now. Mainly because, this will lead to security warnings because of DOM injection and right now I'm not sure if this is a reasonable tradeoff for such a feature. PRs and suggestions welcome, but this is not something that will land anytime soon.

palerdot avatar Jun 03 '23 04:06 palerdot