Closed edwardhorsford closed 1 week ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Commenting to keep alive.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.
Commenting to say that this issue still exists. A pity the bot closes it with no way to re-open.
Checklist
Describe the bug When you plot column data with Apex, it sometimes seems to include columns prior to the start - my guess is so that the intended start column is not obscured.
The bug is that if an offset is set, the prior columns shown have the incorrect tooltip.
Here is my graph:![Screenshot 2024-02-22 at 11 43 17](https://github.com/RomRider/apexcharts-card/assets/2204224/cf42e351-932f-4ec5-95b7-3ed140cb48ef)
It is plotted from 48 values in an entity that contains the current day's data.
It's set up using:
This should plot the latter 18 hours of the day from 6am. You can see however that one bar is shown prior to 6am. I don't mind that it's shown, but the tooltip is not for 5:30am, and instead midnight:![Screenshot 2024-02-22 at 11 49 33](https://github.com/RomRider/apexcharts-card/assets/2204224/9bf8028e-839e-4094-a2c5-8ad12f263612)
Several hovers between 5:30am and 7am are incorrect:
I think the column that's plotted is at the right value, but clearly the tooltips are wrong - both the value and the time. I do not observe this if I remove the offset.
My solution for now is to use the data_generator to filter out values prior to 6am so they cannot be plotted.
Version of the card Version: 2.04
To Reproduce This is the configuration I used:
Screenshots Added above
Expected behavior Tooltips should match the data shown
Desktop (please complete the following information):