plotly / dash-daq

Control components for Dash
MIT License
141 stars 40 forks source link

Feature request: Direction indicator needed #107

Open nickovs opened 4 years ago

nickovs commented 4 years ago

One component that is notably missing from Dash DAQ is a circular direction indicator to show, rotationally, which way something is facing. This would be like the current gauge component but without any gap at the bottom. This is useful for everything from robot control to weather gauges. While this can be faked with some sort of radial Plotly plot there are a number of problems with that approach, including inconsistent styling and less efficient value updates.

It would be helpful to be able to set the markers not just as numbers (0, 90, 180, 270) but also as text (0, π/2, π, 3π/2, 2π, or N, NE, E, SE, S, SW, W, NW).

Sadly my JavaScript skills are not up to creating this from scratch but if the maintainers would consider this for a future release it would be much appreciated.

jackparmer commented 3 years ago

Like a compass? Good idea. Are there any examples that you could link?

nickovs commented 3 years ago

I quite like this direction compass on SyncFusion.

AnyChart has a wind direction gauge, although it's not that pretty.

There's a pure CSS direction gauge on codepen.io.

andrew-hossack commented 1 year ago

Any updates on this?