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

Negative values of "diff" only showing up in edit-mode #694

Open
FlorianWilk opened this issue May 3, 2024 · 0 comments
Open

Negative values of "diff" only showing up in edit-mode #694

FlorianWilk opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@FlorianWilk
Copy link

Describe the bug

I have an apex-card which shows the differences in waterlevel of my cistern. Negative Bars when the water-level goes negative and positive bars when water comes in (when it rains).
In EditMode everything looks perfect, but when i leave and finish editing the chart only shows the positive bars.
I have cleaned my cache multiple times and also on other devices (companion App) i experience the same behaviour.

Version of the card
2.0.4

To Reproduce
This is the configuration I used:

  - type: custom:apexcharts-card
    apex_config:
      chart:
        height: 200px
    graph_span: 1d
    experimental:
      color_threshold: true
    header:
      show: true
      title: Differenz
      show_states: false
    series:
      - entity: sensor.liquid_check_inhalt
        type: column
        name: Inhalt
        group_by:
          func: diff
          start_with_last: true
        color_threshold:
          - value: 0
            color: '#00af00'
            opacity: 1
          - value: 15
            color: '#00afff'

Screenshots
Editmode:
image

clicking "Done":
image

Including the chart with the "raw water level" to show that there really is a decrease in water level at 4:37
image

Expected behavior
It should also show the negative bar in "non editing mode"

Desktop (please complete the following information):

  • Browser Chrome on Linux and Companion APP
@FlorianWilk FlorianWilk added the bug Something isn't working label May 3, 2024
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