RomRider / apexcharts-card

📈 A Lovelace card to display advanced graphs and charts based on ApexChartsJS for Home Assistant
MIT License
1.16k stars 78 forks source link

Option to show Now marker at current hour instead of current minute #594

Closed theCroh closed 11 months ago

theCroh commented 1 year ago

Checklist

Is your feature request related to a problem? Please describe. The current implementation on the Now marker is not clear with discontinuous graphs. An example of this is a graph that shows hourly electricity price. At the end of the hour, the marker moves over the bar of the next hour which is confusing.

Describe the solution you'd like I'd like to be able to set the marker to show at the hour rounded down (i.e. without minutes) so that it would show at the center of the current hour's bar for the whole hour and move only when the hour changes.

Additional context Here's a screenshot where the marker is between 9 and 10 hour bars. In fifteen minutes or so it would be on top of the 10 bar even though the 9 pricing is still valid.

image

github-actions[bot] commented 11 months 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.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 10 days with no activity.