Replies: 1 comment
-
I am new to apexcharts-cards (BTW, it looks great and very flexible!), but looking at the code and making some guesses, would what I am describing be possible if the apexcharts-card/src/apexcharts-card.ts Lines 237 to 238 in 6601972 then data_generator could be passed this collection as an additional argument? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to access the values of other series in the charts in a data_generator?
I think the easiest way to describe this is through an example. In the following code, I have two series (representing heat generated and electricity consumption from a heat pump) which are aggregated using group_by and diff. I would like to be able to calculate the COP (heat/electricity) using the aggregated series, so the ratio is calculated for each element of the aggregated series.
Beta Was this translation helpful? Give feedback.
All reactions