Page 1 of 1
Graphs do not show data from the last month
Posted: Wednesday 23 December 2020 17:00
by Nefsolive
Hello,
Some graphs do not show data from the last month and others do.
Does anyone know how to fix? Or it is not possible for some virtual devices not to send values!
Thanks
Regards
Re: Graphs do not show data from the last month
Posted: Wednesday 23 December 2020 17:30
by Lokonli
How did you define the graph?
Sent from my SM-A320FL using Tapatalk
Re: Graphs do not show data from the last month
Posted: Monday 28 December 2020 18:28
by Nefsolive
Lokonli wrote: ↑Wednesday 23 December 2020 17:30
How did you define the graph?
Sent from my SM-A320FL using Tapatalk
I define like this;
Code: Select all
blocks['chuva'] = {
title: 'Chuva Corrente',
devices: [1455],
toolTipStyle: true,
datasetColors: ['#E2F4AD'],
graph: 'bar',
buttonsBorder: '#ccc',
buttonsColor: '#ccc',
buttonsFill: 'transparent',
buttonsIcon: 'white',
buttonsPadX: 10,
buttonsPadY: 5,
buttonsMarginX: 5,
buttonsMarginY: 2,
buttonsRadius: 5,
buttonsShadow: 'rgba(2, 117, 216, 0.2)',
buttonsSize: 12,
buttonsText: ['Últimas Horas', 'Hoje', 'Último Mês'],
graphTypes : ['v'],
legend: true,
legend: {
'v_1455': 'mm/h de Chuva'
}
}
with this ex code graph, i can´t see last month.
Re: Graphs do not show data from the last month
Posted: Monday 28 December 2020 19:21
by Nefsolive
Hello Lokonli,
I resolve to see the last month!
I just need input v_max and v_min graphTypes and legend.
Ty