Subtract one entiry value from another #384
Unanswered
plandregan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the below Pie chart, with 4 power items being monitored.
The 5th value is total consumed. What I am trying to do is the 5th item be the total - the 4 devices.
How do you subtract one from another. I was thinking of Transform but it doesnt seem to have any maths functions
type: custom:apexcharts-card
experimental:
color_threshold: true
chart_type: pie
graph_span: 24h
now:
show: false
color: red
label: Now
span:
start: day
series:
name: Fridge
color: red
group_by:
func: last
duration: 5m
stroke_width: 2
show:
extremas: false
header_color_threshold: true
name: SummerHouse
show:
in_chart: true
group_by:
func: last
duration: 10m
color: orange
stroke_width: 2
name: Dryer
show:
in_chart: true
group_by:
func: last
duration: 10m
color: green
stroke_width: 2
name: FishPond
show:
in_chart: true
group_by:
func: last
duration: 10m
color: steelblue
stroke_width: 2
name: Total
show:
in_chart: true
group_by:
func: last
duration: 10m
color: blue
stroke_width: 2
Beta Was this translation helpful? Give feedback.
All reactions