Currently no, these thresholds are card-wide.
Imho these thresholds (especially with fill) for more than 1 sensor might be like “too much info” & confusing.
I have a graph I am trying to create that has two y-axes and I would like to overlay with a state map. The first y-axis is a humidity value. The second y-axis is a humidity derivative sensor I have created. I have that working fine, but I would also like to overlay when the exhaust fan is running on the graph. I cannot figure out how to show that on the same graph. I currently have it as a secondary graph below using a custom stack-in card. Is there a way to show the three on the same graph where the gray fill is just overlaid over the other sensors.
Short answer: no, not with this card, since you’re talking about having 3 y-axes in reality. This might be easier with the Apex chart.
But you could hack it… You haven’t posted your config so I’ll make some necessary assumptions. Give the humidity axis a fixed lower and upper bound of 0% and 100% respectively. Make a template sensor of the exhaust fan’s state that’s 0% for off and 100% for on. You can now plot those two on the same axis.
Indeed, which is, with only two axes, I know that humidity is 0-100% so they can scale the overlay to be binary 0 or 100 (these values don’t matter in this case since its purely visual), and the secondary axis can then display the other series.
After trying the suggestions from both of you neither fixed it and hiding the fill actually made it worse. I decided to use inspector to dig through the css and found a conflicting .graph { section in my theme. After removing that, it’s fixed.
“With my all due respect”, you should have at least explain people here what was a reason of your issue.
You neither posted a code for your card nor shown an origin of your issue.
Not to mention a fact that the very issue is unclear - either you were talking about a NORMAL fill below the graph line or about ABNORMAL fill above the graph line (which only may occur in case of presence of the 2nd graph w/o line):
Asking a question and then saying “ok, nevermind, I sorted out” w/o sharing details about a reason is not cool. Not meant to be rude, sorry if offended.
Yes, I jumped the gun and didn’t think. My apologies. It was the abnormal fill that I was having troubles with. My theme file had conflicting css with the graph causing the oddity. Removing the css from the theme file fixed it.
Greetings,
so i have 3 sensors.
1.Electricity usage from grid
2.Electricity usage of the home
3.Solar production
How can i make this graph like this one, colors below the solar production is a different color for the electricity usage and above solar production is electricity usage from grid.
Perhaps look at the Apex Charts custom card. You’ll have a lot more control. I can’t tell you how exactly to do that, but look at the examples where a series is one colour when positive and another when negative. This might get you in the right direction.