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

extremas does not consider the first shown bar #862

Open
imLeeat opened this issue Feb 9, 2025 · 0 comments
Open

extremas does not consider the first shown bar #862

imLeeat opened this issue Feb 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@imLeeat
Copy link

imLeeat commented Feb 9, 2025

Checklist

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

Describe the bug

if you use

 show:
      extremas: true

then it will ignore always the first shown bar, when doint its stuff for the "extremas" feature

Version of the card
Version: 2.1.2

To Reproduce
This is the configuration I used:

``
type: custom:apexcharts-card
update_interval: 1d
cache: true
show:
loading: true
last_updated: true
header:
show: true
title: Max of the last 7days
show_states: true
graph_span: 7d
series:

  • entity: sensor.energy
    type: column
    group_by:
    func: max
    duration: 1d
    statistics:
    type: state
    period: day
    show:
    legend_value: true
    extremas: true
    ``

Screenshots

Image

Expected behavior
also the first shown bar should be considered with extremas

@imLeeat imLeeat added the bug Something isn't working label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant