Skip to content

negative minvalue not handled correctly #68

@gerhardvilsecker

Description

@gerhardvilsecker

I try to create a thermometer for outside temperature. Any gauge I tried so far (radial and linear) do position needle to lower end of scale even when lower end is -30 degrees Celsius. Example:
Gauge is configured for minValue: -30 and maxValue: 40
Outsidetemperature is currently 0.0 degrees Celsius
Result: needle is positioned at about -30 degrees Celsius on the card (which is the "normal" = 0 starting point of gauges...)

==>I assume gauges cannot handle negative numbers :-(

PS: I used an example config I have found here: https://canvas-gauges.com/documentation/examples/

Screenshot:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions