Replies: 2 comments 1 reply
-
For the remaining part of yesterday since my initial post, I did get that first X-axis label displaying correctly! I did this by adding an offset of "-1m" to the span of the graph. Today however, we are back to the first label missing. I've double checked the data being reported by the sensor I'm using and it's reporting "live" data right up to 23:59:59, but given what I'm seeing with the Duration and Offset settings it's making me wonder if this is something weird about how Apexcharts is reading and grouping the data? The fact that yesterday afternoon at least I've had to set the duration to 23h59m59s instead of just 1d and that I had to add a -1m offset to the span?! |
Beta Was this translation helpful? Give feedback.
-
did you ever figure out workaround? |
Beta Was this translation helpful? Give feedback.
-
Hi Guys
Have been seeing a weird issue where some of the charts I'm working on are missing the first label on the X-Axis. I've attached an image showing the issue. I know this chart has been customised a fair bit to display this way, but even as a super basic version, the first label is still missing.
The chart in question is a column type chart that shows 7x days worth of total electricity usage (current usage for today and 6x previous days).
I'm using this to group the data from a sensor that just shows daily usage:
group_by: func: last duration: 23h59m59s
Interestingly, if I use 1d as the duration, the last label is often missing. I'm guessing this is something to do with when the last data was received on the last day? Element inspector suggests the label just isn't there on the webpage.
Does anyone have any idea how to get the first label showing?
Beta Was this translation helpful? Give feedback.
All reactions