I’m still lost in this. How can it be that for a day overview it works just fine??
The day view uses an hourly utility meter sensor, so an hourly total_increasing with ApexCharts configured with:
graph_span: 24h
span:
start: day
The month view uses the same type of utility meter sensor, only on a daily basis with ApexCharts configured with:
graph_span: 1month
span:
end: month
The daily overview has no future datapoints. So if I look at this right now, at 11AM, there are no datapoints up until 12PM tonight. But the graph gets stretched out over the whole day and creates perfect graphs. As soon as I got to the monthly overview, the graph isn’t stretched out properly and gets squished together. I’ve scrolled through the whole topic, I can’t seriously be the only and first one to run into this issue…
Daily overview, with no future data points, but it scales perfectly over the whole day:
Monthly overview, which scales perfectly, but we’re looking at the previous month:
Monthly overview, which scales like BS, should essentially be the exact same as daily overview where the graph would just start at the most left point and not having a spacing issue where it centers the bars: