I want the bar to show different colors depending on the values, but for example now I have a low value, that is, it should look red and it should look orange.
what am I doing wrong?
type: custom:apexcharts-card
graph_span: 30d
span:
end: day
header:
show: true
title: Pasos Diarios
show_states: true
colorize_states: true
series:
- entity: sensor.pasosdiarios
name: Diarios
type: column
yaxis_id: izq
unit: ' Pasos'
color_threshold:
- value: 0
color: red
- value: 5000
color: orange
- value: 7500
color: yellow
- value: 10000
color: lightgreen
- value: 12500
color: darkgreen
group_by:
func: last
duration: 1d
show:
extremas: true