Code Monkey home page Code Monkey logo

Comments (7)

dynasticorpheus avatar dynasticorpheus commented on July 17, 2024 4

@Rocka84 Perhaps you could add an option to have the values at the bottom instead of name which would already help a bit?

from dual-gauge-card.

Rocka84 avatar Rocka84 commented on July 17, 2024

Hi!
Confirmed :-(
Unfortunaltely I have no idea how to fix this within the space constrains. Shrinking the font for example would make the values too small to read.
My only advise would be to drop the unit labels. Maybe you could integrate the unit in the card title, like title: Speed in Mbps.
I'll come back to this issue when I can think of a solution.

from dual-gauge-card.

ciaron23 avatar ciaron23 commented on July 17, 2024

having the same troubles. I think adding the option of font styling would help :3

from dual-gauge-card.

KTibow avatar KTibow commented on July 17, 2024

Also, how about to put it on the top as well? Or instead of side-by-side then vertical.

from dual-gauge-card.

eode avatar eode commented on July 17, 2024

I think having the labels above/below each other instead of (or as well as) name might work nicely.

Rather than:
571.78  356.39
Down     Up
Speed Test

This could be
571.78 Down
356.39 Up
Speed Test

Also, people can round their values to reduce them somewhat.
Another option is to have the reading inside the progress bar for each one, centered (but text color would need to be settable, or calculated for contrast).

from dual-gauge-card.

saper-2 avatar saper-2 commented on July 17, 2024

Or maybe go for few solutions, so user can "pick what want", I'd add options:

  • set font size for each gauge label (maybe custom colors depending on value)
  • set precision of displayed number in label (this is what I basically would want the most 😄 )
  • label layout: column(horizontal-stack)/line(vertical-stack)

If I could set precision to 0.1 (1 digit after comma) it would fit, or make the label stacked vertically ( layout: line(vertical) )
obraz
(this is screenshot with set cardwidth: 350 )

from dual-gauge-card.

Ni3kjm avatar Ni3kjm commented on July 17, 2024

Loving this card thanks, any way to set so different units are used if values exceed set amount to avoid the logger value overlap? E.g. Changing to show value in kW instead of W where I use for solar generation or grid use

from dual-gauge-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.