Skip to content

Stacked graphs with more than one y axis #430

Answered by caiusseverus
caiusseverus asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah I'd already done that to assign each entity to the different y axes. It doesn't affect which row the individual y axes are assigned to though.

I've actually figured out how to do it now - the answer is with the overlaying switch:

Here is the yaml for reference if someone else is looking how to do it:

type: custom:plotly-graph
title: Month Electricity Consumption
hours_to_show: current_month
config:
  displayModeBar: false
layout:
  height: 750
  dragmode: false
  legend:
    orientation: h
    itemsizing: constant
    font:
      size: 8
  grid:
    rows: 2
    columns: 1
    roworder: bottom to top
  xaxis:
    visible: true
    fixedrange: true
  yaxis:
    visible: true
    fixed…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
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