grafolean / grafolean

Easy to use monitoring system
Other
64 stars 7 forks source link

Can't see pie chart in Top Protocols widget #52

Closed anshel62 closed 1 month ago

anshel62 commented 1 month ago

Hi, Grafolean! Great project, works from box in docker in clean Debian 12. But I can't pie chart in Top Protocols widget. In browser console I can see:

...

and in styles - max-width: 150 px; If I change from max-width: 150 px; to min-width: 150 px; in console all works as expected and I can see pie chart. Please tell me, how to I change <svg viewBox... style to min-width: 150 px; Thank you. ![Uploading screenshot.png…]()

anshel62 commented 1 month ago

screenshot2 solution works for me.

  1. find in /var/lib/docker/overlay2/... file main.7a88f872.chunk.css
  2. cd /var/lib/docker/overlay2/...
  3. zcat main.7a88f872.chunk.css | sed 's/svg{max-width:150px}/svg{min-width:150px}/g' | gzip -c > temp.css
  4. mv temp.css main.7a88f872.chunk.css and reload...
anshel62 commented 1 month ago

solved