Read the statement by Michael Teeuw here.
MMM-WeatherChart
-
Hi,
i wanted to try the module today, but i dont work i get some error “del missing” or similar.
Could it be that there is the file package.json missing on the github link, as there are some depencies in node_helper.jsvar http = require('http'); var fs = require('fs'); var del = require('del'); var request = require('request'); var NodeHelper = require("node_helper");
Greets AxLED
-
Hi,
found a solution myself, there is a fork of this module: https://github.com/szech/mmm-weatherchart
Installation:
cd ~/MagicMirror/modules
git clone https://github.com/szech/mmm-weatherchart.git
cd mmm-weatherchart
npm installGreets
AxLED
-
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: