Hello everybody!
I have problems with the color threshold in my graph - I would like to have the negative values red and the positive green. It looks like this:
here is my configuration:
type: custom:apexcharts-card
graph_span: 5h
header:
show: false
title: Energie
show_states: true
colorize_states: true
series:
- entity: sensor.template_ueberschuss_bezug
type: area
curve: smooth
name: Überschuss/Bezug
color: black
color_threshold:
- value: -1
color: red
- value: 0
color: green
stroke_width: 0
opacity: 1
apex_config:
legend:
show: false
height: 245
experimental:
color_threshold: true
any ideas?