Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:apexcharts-card
- experimental:
- color_threshold: true
- graph_span: 5d
- span:
- start: day
- offset: ''
- header:
- show: true
- title: Græspollen
- show_states: true
- colorize_states: true
- all_series_config:
- float_precision: 0
- series:
- - entity: sensor.graespollen
- name: Seneste pollental
- type: column
- unit: ' ppcm '
- show:
- in_header: raw
- color_threshold:
- - value: 0
- color: 4caf50
- - value: 1
- color: ffeb3b
- - value: 2
- color: red
- data_generator: |
- return entity.attributes.prognose
- .map(e => [new Date(e.date).getTime(),e.value])
- apex_config:
- chart:
- height: 400px
- title:
- text: Prognose
- align: Center
- yaxis:
- min: 0
- max: 3
- show: false
- tooltip:
- enabled: false
Add Comment
Please, Sign In to add comment