Incorrect summation in a stacked bar chart #537
Unanswered
eiderterra
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Yeah if the indices don't align this happens. The only way I can think of is to prepend a data point to all traces with the same time value (the oldest data point), then resample them. At some point I'll add a filter to "align" traces |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hello everyone,

In my diagram for PV generation, the sum is calculated incorrectly if not all data is available in the displayed time range. I think it is due to the assignment of i(0), but I don't know how to correct this. Even with the help of chatgpt I have not found a solution. Maybe someone of you has an idea!
here it is still correct:
here it is wrong:
Code:
I would be happy about a solution.
Greetings from the north of Germany
Beta Was this translation helpful? Give feedback.
All reactions