Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add multiple needles to daq.Gauge #183

Open
Tomer-EVM opened this issue Jan 14, 2024 · 1 comment
Open

[Feature Request] Add multiple needles to daq.Gauge #183

Tomer-EVM opened this issue Jan 14, 2024 · 1 comment

Comments

@Tomer-EVM
Copy link

One common usage of analog gauges is to have a reference (or target) needle, as well as the current value needle.
This easily allows someone to assess whether current performance is nominal.

Each needle would need it's own style in order to differentiate between them.

Currently, one would need to use CSS to create the appearance of multiple needles. It would be great if it was built-in to Dash!

Current:
layout = daq.Gauge( value=400, max=1600, min=0, )

Proposed:
layout = daq.Gauge( value=[400, 600], needle_style={"color": "black", "color": "red"}, max=1600, min=0, )

@Coding-with-Adam Coding-with-Adam transferred this issue from plotly/dash Jan 18, 2024
@Coding-with-Adam
Copy link

That's an interesting feature request. Thanks for the idea, @Tomer-EVM .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants