Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option time_delta in combination with extremas #713

Closed
3 of 4 tasks
michull opened this issue Jun 7, 2024 · 1 comment
Closed
3 of 4 tasks

Option time_delta in combination with extremas #713

michull opened this issue Jun 7, 2024 · 1 comment
Labels
bug Something isn't working released on @dev

Comments

@michull
Copy link

michull commented Jun 7, 2024

Checklist

  • I updated the card to the latest version available
  • I cleared the cache of my browser
  • I verified that I'm really running the lastest version in my browser console
  • I checked if there is another issue opened with the same problem

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):

  • Browser: Firefox
  • Version: 126

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

@michull michull added the bug Something isn't working label Jun 7, 2024
github-actions bot pushed a commit that referenced this issue Jul 4, 2024
## [2.1.0-dev.2](v2.1.0-dev.1...v2.1.0-dev.2) (2024-07-04)

### Bug Fixes

* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](f7ab3e8)), closes [#713](#713)
* display was wrong when using server time + serie offset ([84357f9](84357f9)), closes [#579](#579)
Copy link

github-actions bot commented Jul 4, 2024

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

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Jul 9, 2024
## [2.1.0](v2.0.4...v2.1.0) (2024-07-09)

### Features

* Add change type for statistics ([#555](#555)) ([608fbe5](608fbe5)), closes [#552](#552)
* **locales:** Support for new locales ([2fca527](2fca527))
* **series:** Direct support for dashed lines ([29aad77](29aad77)), closes [#413](#413)
* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](12cb893)), closes [#74](#74)
* **series:** support for `monotoneCubic` curves ([998cb99](998cb99))
* **series:** Support for stack group of columns ([2935b4e](2935b4e)), closes [#673](#673) [#550](#550)
* **statistics:** add weekly statistics period ([#680](#680)) ([e923126](e923126))
* support for server time ([55c8f97](55c8f97)), closes [#709](#709) [#579](#579)

### Bug Fixes

* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](f7ab3e8)), closes [#713](#713)
* display was wrong when using server time + serie offset ([84357f9](84357f9)), closes [#579](#579)
* **series:** fix `in_legend` for apexcharts.js v3.50.0 ([221b0a5](221b0a5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released on @dev
Projects
None yet
Development

No branches or pull requests

1 participant