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

Color_threshold missing parts & incorrect colouring #699

Closed davyvr closed 2 months ago

davyvr commented 2 months ago

Checklist

Describe the bug On a graph with 2 lines on it, the one with color_threshold function has missing parts and color coding is not correct. This behaviour disappears when the second line is removed.

Version of the card Version: 2.0.4

To Reproduce This is the configuration I used: type: custom:apexcharts-card experimental: color_threshold: true graph_span: 24h show: last_updated: true header: standard_format: false show: true show_states: true colorize_states: true yaxis:

Screenshots Two lines, one of them missing parts: image

One line, correct: image

Expected behavior No missing parts in graph, colour coding correct

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context /

davyvr commented 2 months ago

My apologies, after a restart of Home Assistant it seems to be working. Probably didn't have the latest version running.