Read the statement by Michael Teeuw here.
MMM-COVID-19 (Deprecated)
-
@Sean :face_with_tears_of_joy:
No, that’s not enough.
I keep this on my development dashboard -
The World Total doesn’t show numbers anymore, but instead it just comes back with ‘NaN’. How can we fix this?
-
@x5nder
I’ll see. -
@x5nder
There was some invalid data schemes in original source. I fixed urgently now. (But I’ll inspect deeper tomorrow) -
Would it be possible to see only one country? I see tree results when just one country is configured. Would it be possible to remove World total, and the country slideshow below.
-
@najtram
First, setpinned
only one region.
To remove THIRD whole region rotation, setrotateInterval:0
To remove World Total, Hmmmm… There is a trick. add this into yourcss/custom.css
.covid .item.total { display:none; }
-
is it possible to set the third slot to a specific country?
and if possible to add more countries? slot 4? -
@banbutcher
“pinned” is array, so you can add as many as possible in screen. -
pinned: [“Diamond Princess cruise ship, Others”, “Mainland China”, “South Korea”],
-
@Sean
i tried addind a second country with this code:
{ module: "MMM-COVID-19", header: "COVID-19", position: "bottom_left", config:{ scanInterval: 1000 * 60 * 60 * 12, rotateInterval: 0, detailProvince: true, pinned: ["Ireland"], pinned: ["New Zealand"], logProvinceCountry: false, logOnce: true, sortOrder: null, } },
no joy tho with second country!