Skip to content

Meter Widget Arcs for Reverse Needle direction #804

Open
@PrometheusTransport

Description

@PrometheusTransport

Describe the bug

Meter Widget Arcs behave unexpectedly when swapping min/max for needle movements that are increasing counter-clockwise.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Meter Widget
  2. Set "min" to a number (eg 100) larger than than "max" (eg 0). This way the needle direction of movement is counter-clockwise when increasing values.
  3. Add a colored arc indicator with start value (eg 100) larger than end value (eg 50)
  4. Arc does not cover the range from 50 to 100

Expected behavior
Arc should cover the defined range of 50 to 100.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • EEZStudio Version 0.21.0

** LVGL version (if used)**

  • 8.x or 9.x

Additional context
If there is a different way to define a meter widget such that increasing values cause counter-clockwise movement plz advise

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions