Skip to content

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

@Tomer-EVM

Description

@Tomer-EVM

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, )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions