You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
The Svg node is the most interesting one I've been playing so far for creating custom visualizations (which is super requested and cool).
In this case, I'm trying to visualize the weight of people using a smart sole.
I created the svg in inkscape, and successfully uploaded in the svg dashboard node.
I'm uploading you just the dashabord nodes, and repeat here the code.
The problem is, that I'm totally unable to show the sole as central and zoomed in in the dashabord group. If I put proportioned dimensions, the sole is rendered not correctly (super tiny).
Due to a lack of free time, I cannot rework your example. But I think you should have a look at the viewbox. You have a drawing size of 800x2000, but your viewbox is "0 0 800 400", which means you only view a part of your drawing (i.e. 800x400 at location (0,0)).
Thanks for the help.
I will try different proportions, but of I put the correct one the drawing becomes super tiny.
Will try to post here a picture, away from keyboard at the moment.
Thanks for now!
Ah yes, unitless numbers for SVG presentation attributes (like width, height, ...) are treated as px. I see in this StackOverflow discussion that they use 100% instead of 100.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Svg node is the most interesting one I've been playing so far for creating custom visualizations (which is super requested and cool).
In this case, I'm trying to visualize the weight of people using a smart sole.
I created the svg in inkscape, and successfully uploaded in the svg dashboard node.
I'm uploading you just the dashabord nodes, and repeat here the code.
The problem is, that I'm totally unable to show the sole as central and zoomed in in the dashabord group. If I put proportioned dimensions, the sole is rendered not correctly (super tiny).
Any help?
Copy of svg here
The text was updated successfully, but these errors were encountered: