dash-daq icon indicating copy to clipboard operation
dash-daq copied to clipboard

Feature request: Direction indicator needed

Open nickovs opened this issue 4 years ago • 3 comments

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.

nickovs avatar May 25 '20 18:05 nickovs

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

jackparmer avatar Aug 05 '21 23:08 jackparmer

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.

nickovs avatar Aug 05 '21 23:08 nickovs

Any updates on this?

andrew-hossack avatar Jul 20 '23 22:07 andrew-hossack