Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Position of numbers in Radial gauge #65

Open
Protoncek opened this issue Apr 20, 2024 · 0 comments
Open

Position of numbers in Radial gauge #65

Protoncek opened this issue Apr 20, 2024 · 0 comments

Comments

@Protoncek
Copy link

Protoncek commented Apr 20, 2024

Hi!
I'm struggling with pretty small gauge in Home Assistant - i can't position numbers closer to ticks (away from center). Is there any command/setting for that? See picture - i'd like numbers to be just under ticks, not so near needle center. Is this possible? I've went through pretty much all commands i've found. I think my problem is that i have small gauge, and it's inside Home Assistant's picture elements:

          - type: custom:canvas-gauge-card
            entity: sensor.temperatura_dviznega_voda
            card_height: 90
            gauge:
              type: radial-gauge
              width: 90
              height: 90
              colorMinorTicks: white
              colorMajorTicks: white
              colorNumbers: white
              fontNumbersSize: 35
              borderShadowWidth: 0
              borderOuterWidth: 0
              borderMiddleWidth: 0
              borderInnerWidth: 0
              borders: false
              minValue: 20
              maxValue: 80
              startAngle: 90
              ticksAngle: 180
              valueBox: false
              majorTicks:
                - '20'
                - '40'
                - '60'
                - '80'
              minorTicks: 4
              strokeTicks: false
              colorNeedle: black
              colorNeedleEnd: brown
              needleShadow: true
              colorPlate: transparent
              highlights:
                - from: 70
                  to: 80
                  color: darkred

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant