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

Sizing Issue - Maybe I'm missing something obvious... #268

Open
IAmOrion opened this issue Aug 18, 2023 · 0 comments
Open

Sizing Issue - Maybe I'm missing something obvious... #268

IAmOrion opened this issue Aug 18, 2023 · 0 comments

Comments

@IAmOrion
Copy link

IAmOrion commented Aug 18, 2023

Really like this code, using it to build a smart meter IHD layout - the problem is, for the life of me, I can not figure out how to make the 2 gauges in use the same size!!

Screenshot 2023-08-18 at 03 35 51

The LEFT side is the size I want both to be - the canvas is 380 x 190, that's the size it's rendering. The RIGHT side, no matter what I do, no matter what CSS I change, no matter was gauge script option I change, the canvas is always 300 x 150 for the donut gauge.

What am I doing wrong!?? Any hekp greatly appreciated.

MTIA

Edit: just to clarify, the wrappers and container divs etc are the same sizes, it's literally the canvas rendering size that's the issue. I can adjust the css in the inspector after it's rendered, but nothing I do will make it that size correctly so to speak

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