Read the statement by Michael Teeuw here.
MMM-WeatherChart
-
If you replace grayscale with hue-rotate(190deg) in the mmm-weatherchart.js. You get the colors partially back and still have whitelines.
if (this.config.negativeImage) {
img.style[“-webkit-filter”] = “invert(100%) hue-rotate(190deg)”;
} -
@Stellanova said in MMM-WeatherChart:
img.style[“-webkit-filter”] = “invert(100%) hue-rotate(190deg)”;
Hi,
is there a possibility to increase the size?
Thanks a lot
Regards -
Yes, But it will get fuzzy since the original image is only 828 × 272 pixels in size.
increase by 25%
.MMM-WeaterChart img{ width: 1035px !important; height: 340px !important; }
(To be clear, this go in to the custom.css file, not changing the module files)
-
@broberg
hmm
seems to me not working
Strange is also that the editor does not “hightlight” the functions.mmm-weatherchart img{ width: 1035px; height: 340px; }
-
@Vauxdvihl the module name is case sensitive
So
.mmm-weathermodule
is not the same as.MMM-WeatherModule
And you might have to add !important after the height and width for it to override the height specified in the module.
-
@broberg
Yes i know ;-)
Look …i though it would be the correct way -
It is, nevermind the above post then.
but do try the
!important
addition, it is sometimes needed when the size is defined in the document and not in the css files. -
I need help with mmm-weatherchart:
-
@prototype0815 I reqplied in your other topic with instructions to download my fixed repo that resolves both problems… black screen and no image shown
-
Hi friends,
i have seen in the dev mode that the modules gets the png from color from
here:
www.yr.no/place/Germany/Bavaria/Pöcking/meteogram.pngCan i use it also in color in the mm?
Thanks a lot
Regards