Stacked surface areas on y-axis #380
fpdragon
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
... has done the trick. Here is my solution:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a diagram with different power consumptions and it shows up correctly as different lines in one graph.
However, what I am trying to get is a stacket surface graph that each device consumption is stacked up to that one before.
In the end, the maximum value shall be the sum of all devices.
Here is what I currently have:
I found that there is this attribute called
stackgroup
in some plotly examples.Given to this example
it should do the trick as shown:

However I was not able to adopt this to my code.
I changed for example:
And the lines are changing to be shown with a surface below.
However, "Konvektoren" is not added on top of "Wärmepumpe" which would be the behavior I am wishing. "Konvektoren" is still measured from the 0 of the y axis.
So it seems that the signal word "stackgroup" is known but the two entitys may have no relationship to each othe? I don't know.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions