RomRider / apexcharts-card

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

Option time_delta in combination with extremas #713

Closed michull closed 1 week ago

michull commented 1 month ago

Checklist

Describe the bug The combination of the series option "time_delta: +30min" and "show->extremas: true" results in an wrong position of the extrema points and labels.

Version of the card Version: 2.0.4

To Reproduce This is the configuration I used:

type: custom:apexcharts-card
graph_span: 2h
series:
  - entity: sensor.switchbot_temperature
    time_delta: +30min
    show:
      extremas: true

Screenshots

apex1

Expected behavior The x position of the two extrema points should be also shifted by time_delta.

Desktop (please complete the following information):

Additional context If I use the series option "show->datalabels: true", the time_delta is considered.

apex2
github-actions[bot] commented 1 week ago

:tada: This issue has been resolved in version 2.1.0-dev.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: