Skip to content

stacked bar-chart like senec-chart #491

Answered by dbuezas
eiderterra asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, I have an idea:

type: custom:plotly-graph
layout:
  barmode: stack
defaults:
  entity:
    period: day
    type: bar
    filters:
      - filter: i>0

entities:
  - entity: sensor.outside_temperature
  - entity: sensor.flur_thermometer_temperature
  - entity: sensor.keller_temperature
    time_offset: 6h # this modifier is specific to this card. By shifting the time, plotly creates a new stack
  - entity: sensor.kitchen_thermometer_temperature
    time_offset: 6h
hours_to_show: 10d

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@eiderterra
Comment options

@dbuezas
Comment options

@dbuezas
Comment options

Answer selected by eiderterra
@eiderterra
Comment options

@dbuezas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants