antoniolago / react-gauge-component

React gauge component for data visualization.
https://antoniolago.github.io/react-gauge-component/
MIT License
132 stars 19 forks source link

Multiple Pointers/values #48

Open jlaustill opened 3 months ago

jlaustill commented 3 months ago

Is it possible to have multiple arrows for different values? For example. I have compound turbos, and I want to show the back pressure, as well as the pressure after each turbo on the same gauge with different color arrows.

If this isn't possible, would you expect a PR for it?

antoniolago commented 3 months ago

I don't think it's impossible, doable for sure, but it would significally increase complexity, wouldn't work for grafana so there's that (which I don't think is an issue), maybe we can accept pointers and value as list additionally to the current implementation (2 types and we toggle between behaviors depending if it's a list or something like that)

As I mentioned in another issue, currently I'm trying to finish my graduation so time is currently scarse for me :( But I would gladly review any PRs incoming.