mtatsuma / MMM-WeatherChart

Magic Mirror Module for displaying weather chart
MIT License
26 stars 8 forks source link

backgroundColor is not filling up the whole chart #44

Closed MajorC1983 closed 2 years ago

MajorC1983 commented 2 years ago

If I set backgroundColor, I only see a small line above the chart. Not as expected behind the whole chart.

mtatsuma commented 2 years ago

Hi

Could you tell me what value you set for backgroundColor?

MajorC1983 commented 2 years ago

backgroundColor: "rgba(255, 0, 0, 1)" so i see a 2px high solid red line

MajorC1983 commented 2 years ago

it looks like that: Screenshot 2022-02-20 150113

MajorC1983 commented 2 years ago

Screenshot 2022-02-20 151212

mtatsuma commented 2 years ago

Thank you.

Please give me some time to fix it.

mtatsuma commented 2 years ago

I fixed the issue. Please clone the latest module and try it.

$ cd ~/MagicMirror/modules
$ git clone https://github.com/mtatsuma/MMM-WeatherChart.git

The result of my testing

image
MajorC1983 commented 2 years ago

Works perfect. Thank you very much!