xAxis range help #419
-
TL;DR I need help with this part:
I have a sensor with a list attribute I am trying to get to display right. The span is always 48 hours but I can tweak the number of entries in the list to have a datapoint for every hour, every 2nd hour, every 6th hour etc
This is how the list looks with data for every 3rd hour
notice that the last entry is 3 hours shy of going the full 48 hours, so ideally I would like to add that number of hours to the last range of the graph. I would like to use the attribute of the chosen interval for this.
I am unsure how to achieve what I want, because the start and end range depends on when the data of the sensor was updated or more specifically the data in the sensor. Not necessarily the current time of day.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I solved it
to one of my entities to store the start and end as variables.
to layout->xaxis |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I solved it
I added:
to one of my entities to store the start and end as variables.
Then I added
to layout->xaxis