Page 3 of 3
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Tuesday 11 August 2020 11:45
by Vomera
Works like a charm, thank you so much

Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Sunday 18 October 2020 16:47
by Chris12
Is the Corona feature currently broken? in the last 2 beta's I do not get a graph anymore. I'm now running beta 3.6.4
Looked at my previous working code but culd not see any strange things.
Code: Select all
//Corona COVID-19
blocks['corona_graph'] = {
title:'',
type: 'corona',
countryCode: 'NL',
startDate: '01/03/2020',
graph: 'bar',
datasetColors: ['LightGreen','Orange','Purple', 'Red'],
stacked: true,
toolTipStyle: true,
height: '350px',
zoom: 'x'
}
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Sunday 18 October 2020 23:44
by EdwinK
Can't get it to work either. O well, something to sort out tomorrow.
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Monday 19 October 2020 9:40
by Lokonli
The server that provides the Corona data is down.
Let's wait a few days: it might come back. Otherwise we have to find an alternative server.
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Monday 19 October 2020 13:29
by HansieNL
Lokonli wrote: Monday 19 October 2020 9:40
The server that provides the Corona data is down.
Let's wait a few days: it might come back. Otherwise we have to find an alternative server.
Isn’t it better to kill the Corona virus and get rid off the block?

Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Monday 19 October 2020 17:54
by EdwinK
HansieNL wrote: Monday 19 October 2020 13:29
Lokonli wrote: Monday 19 October 2020 9:40
The server that provides the Corona data is down.
Let's wait a few days: it might come back. Otherwise we have to find an alternative server.
Isn’t it better to kill the Corona virus and get rid off the block?
That would be nice if we can do that

Unfortunately, we can't do so yet.
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Wednesday 21 October 2020 6:29
by lzwfkv
Lokonli wrote: Monday 19 October 2020 9:40
The server that provides the Corona data is down.
Let's wait a few days: it might come back. Otherwise we have to find an alternative server.
It didn't come back yet; therefore i tried an old provider used in coronavirus block and it still seems to work.
I have replaced (commented out):
https://cvtapi.nl/v2/
with
https://covid-tracker-us.herokuapp.com/v2/
in cornavirus.js.
Re: Dashticz Coronavirus reporting
Posted: Wednesday 21 October 2020 10:44
by Thiso
How to reduce the fontsize of the blocks? Mine are way to big.
Struggling to find the correct fields to add in the custom.css
Re: Dashticz Coronavirus reporting
Posted: Wednesday 21 October 2020 18:02
by HansieNL
- Spoiler: show
Thiso wrote: Wednesday 21 October 2020 10:44
How to reduce the fontsize of the blocks? Mine are way to big.
Struggling to find the correct fields to add in the custom.css
@Thiso Can you post the code you use for the blocks? Than I'll take a look.
Re: Dashticz Coronavirus reporting
Posted: Thursday 22 October 2020 8:15
by Thiso
HansieNL wrote: Wednesday 21 October 2020 18:02
- Spoiler: show
Thiso wrote: Wednesday 21 October 2020 10:44
How to reduce the fontsize of the blocks? Mine are way to big.
Struggling to find the correct fields to add in the custom.css
@Thiso Can you post the code you use for the blocks? Than I'll take a look.
- Spoiler: show
-
blocks['coronavirus_global_confirmed'] = {
report: 'confirmed',
type: 'corona',
width: 3
}
blocks['coronavirus_global_deaths'] = {
type: 'corona',
report: 'Deaths',
width: 3
}
blocks['coronavirus_gb_confirmed'] = {
type: 'corona',
countryCode:'BE',
report: 'Confirmed',
width: 3
}
blocks['coronavirus_gb_deaths'] = {
type: 'corona',
countryCode:'BE',
report: 'Deaths',
width: 3
}
blocks['coronavirus_gb_ratio'] = {
type: 'corona',
countryCode:'BE',
report: 'Ratio',
width: 3
}
blocks['coronavirus_gb_doubling'] = {
type: 'corona',
countryCode:'BE',
report: 'Doubling',
width: 3
}
Nothing special there to change the font size or icon size. I though that had to be through custom.css.
I find it hard to figure out for each of the modules how to handle them with custom.css. I typically just search the internet or try to dive in the code to find out myself. This is what I tried, sadly not working:
- Spoiler: show
-
.block_coronavirus_global_confirmed .countryCode {
font-size: 10px;
}
.block_coronavirus_global_deaths .data {
font-size: 10px;
}
I looks ugly like this:

- Screenshot 2020-10-22 081407.png (195.12 KiB) Viewed 885 times
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Thursday 22 October 2020 8:53
by Chris12
lzwfkv wrote: Wednesday 21 October 2020 6:29
Lokonli wrote: Monday 19 October 2020 9:40
The server that provides the Corona data is down.
Let's wait a few days: it might come back. Otherwise we have to find an alternative server.
It didn't come back yet; therefore i tried an old provider used in coronavirus block and it still seems to work.
I have replaced (commented out):
https://cvtapi.nl/v2/
with
https://covid-tracker-us.herokuapp.com/v2/
in cornavirus.js.
Thanks! that's works fine for now

Re: Dashticz Coronavirus reporting
Posted: Thursday 22 October 2020 13:51
by HansieNL
- Spoiler: show
Thiso wrote: Thursday 22 October 2020 8:15
HansieNL wrote: Wednesday 21 October 2020 18:02
- Spoiler: show
Thiso wrote: Wednesday 21 October 2020 10:44
How to reduce the fontsize of the blocks? Mine are way to big.
Struggling to find the correct fields to add in the custom.css
@Thiso Can you post the code you use for the blocks? Than I'll take a look.
- Spoiler: show
-
blocks['coronavirus_global_confirmed'] = {
report: 'confirmed',
type: 'corona',
width: 3
}
blocks['coronavirus_global_deaths'] = {
type: 'corona',
report: 'Deaths',
width: 3
}
blocks['coronavirus_gb_confirmed'] = {
type: 'corona',
countryCode:'BE',
report: 'Confirmed',
width: 3
}
blocks['coronavirus_gb_deaths'] = {
type: 'corona',
countryCode:'BE',
report: 'Deaths',
width: 3
}
blocks['coronavirus_gb_ratio'] = {
type: 'corona',
countryCode:'BE',
report: 'Ratio',
width: 3
}
blocks['coronavirus_gb_doubling'] = {
type: 'corona',
countryCode:'BE',
report: 'Doubling',
width: 3
}
Nothing special there to change the font size or icon size. I though that had to be through custom.css.
I find it hard to figure out for each of the modules how to handle them with custom.css. I typically just search the internet or try to dive in the code to find out myself. This is what I tried, sadly not working:
- Spoiler: show
-
.block_coronavirus_global_confirmed .countryCode {
font-size: 10px;
}
.block_coronavirus_global_deaths .data {
font-size: 10px;
}
I looks ugly like this:
Screenshot 2020-10-22 081407.png
@Thiso can you try with following code if it does what you want:
Code: Select all
.coronavirus.block_report .title {
font-size: 10px !important;
}
.coronavirus.block_report .report {
font-size: 12px !important;
}
Re: Dashticz Coronavirus - Features, Fixes & Updates
Posted: Thursday 22 October 2020 18:46
by Lokonli
lzwfkv wrote: Wednesday 21 October 2020 6:29
Lokonli wrote: Monday 19 October 2020 9:40
The server that provides the Corona data is down.
Let's wait a few days: it might come back. Otherwise we have to find an alternative server.
It didn't come back yet; therefore i tried an old provider used in coronavirus block and it still seems to work.
I have replaced (commented out):
https://cvtapi.nl/v2/
with
https://covid-tracker-us.herokuapp.com/v2/
in cornavirus.js.
Thanks for finding the new server!
I've updated this in the latest beta (3.6.5)