[X] I updated the card to the latest version available
[X] I cleared the cache of my browser
[ ] I verified that I'm really running the latest version in my browser console (no idea how to do this, sorry...)
[X] I checked if there is another issue opened with the same problem (not 100% sure, I hope I didn't miss it)
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:
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](https://github.com/RomRider/apexcharts-card/assets/13660064/f4bbe9af-5a7a-4a67-8dd8-ec0ec694be13)
One line, correct:![image](https://github.com/RomRider/apexcharts-card/assets/13660064/78bc9fbf-692b-4361-91c5-fe96926f06f9)
Expected behavior No missing parts in graph, colour coding correct
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context /