jneilliii / OctoPrint-CustomBackground

10 stars 3 forks source link

Custom 10% Gray or Transparent Backgrounds Don't Fill Graph... #42

Closed puterboy closed 2 years ago

puterboy commented 2 years ago

I turned on the 10% gray background but it only fills the central sqare portion of the graph leaving a large dark (background color) "picture frame" around it -- which looks really bad and wrong visually. I am using 'cover' as my image fill which I would have thought would stretch the background to fill the space. (I am using 'center center' for the background position)

Perhaps this is the expected behavior but it looks awful :)

jneilliii commented 2 years ago

will investigate. these changes were contributed by someone else, so will have to see if the image sizes just don't match up to the actual available size of the graph or not.

jneilliii commented 2 years ago

As mentioned in https://github.com/jneilliii/OctoPrint-FloatingNavbar/issues/14 I think this is actually a bug with PlotlyTempGraph plugin.

image