We have developed the widget card as per attached snapshots, & we are using API method to show values on this card. But card is not able to fetch values in the monthly/yearly average format, it only shows daily live data.
Whereas if we plot similar parameters in the graph using things board built-in time window function, it shows history data.
Please suggest how can we resolve. [enter image description here](https://i.stack.imgur.com/mv4wz.png)
We are reading the data over API in array format, but when we try to read historical values it shows NAN
Ujjwal Bhatnagar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.