You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked if there isn't another feature request opened with the same request
I checked that the feature is not already available in the dev branch
Is your feature request related to a problem? Please describe.
Area line graphs currently always fill the area between the line/value and zero - positive values on the graph will fill "below" the line and negative values will fill "above" the line, both stopping when they reach zero on the y axis. There does not appear to be a way to configure this to make the "center" of an area graph something other than zero.
I would like to make a simple temperature over time area graph that displays temperatures above freezing as "positive" and temperatures below freezing as "negative". I use Fahrenheit temperatures though, so freezing is 32 degrees, not zero. I would like to be able to configure 32 as the "center point" for an area graph instead of zero. Fahrenheit temperatures above freezing would display as "positive" and fill the space below the line until reaching 32 on the y-axis. Fahrenheit temperatures below freezing would display as "negative" and fill above the line until reaching 32 on the y-axis.
Describe the solution you'd like
Add an optional setting to tell area graphs which value on the y-axis to use as the "origin" or "center". Data points above that value would be treated as "positive" and would fill below the line. Data points below that value would be treated as "negative" and fill above the line.
It is possible to visually get the graph to center on a value other than zero using formatter and transform settings, but this causes other issues (like the mouseover sensor values on the graph are no longer correct).
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Checklist
dev
branchIs your feature request related to a problem? Please describe.
Area line graphs currently always fill the area between the line/value and zero - positive values on the graph will fill "below" the line and negative values will fill "above" the line, both stopping when they reach zero on the y axis. There does not appear to be a way to configure this to make the "center" of an area graph something other than zero.
I would like to make a simple temperature over time area graph that displays temperatures above freezing as "positive" and temperatures below freezing as "negative". I use Fahrenheit temperatures though, so freezing is 32 degrees, not zero. I would like to be able to configure 32 as the "center point" for an area graph instead of zero. Fahrenheit temperatures above freezing would display as "positive" and fill the space below the line until reaching 32 on the y-axis. Fahrenheit temperatures below freezing would display as "negative" and fill above the line until reaching 32 on the y-axis.
Describe the solution you'd like
Add an optional setting to tell area graphs which value on the y-axis to use as the "origin" or "center". Data points above that value would be treated as "positive" and would fill below the line. Data points below that value would be treated as "negative" and fill above the line.
Mockup:

Describe alternatives you've considered
Discussed here: https://community.home-assistant.io/t/apexcharts-card-a-highly-customizable-graph-card/272877/4295?page=44
It is possible to visually get the graph to center on a value other than zero using formatter and transform settings, but this causes other issues (like the mouseover sensor values on the graph are no longer correct).
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: