esphome / esphome/feature-requests

Add support for "filled" graphs in the graph component

Open
#2,183 0 comments 1 reaction 0 assignees View on GitHub
component: graph
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Add an option to the [graph component](https://esphome.io/components/display/index.html#graph-component) to allow drawing a "filled" graph i.e. where the whole graph area is filled with a colour, rather than drawing just a line.

**Please describe your use case for this integration and alternatives you've tried:**

For some kind of displays/visualisations it's much more impactful/readable from a distance to show a filled chart. See example below of something I've implemented manually to draw on an epaper display.
![IMG_1587](https://user-images.githubusercontent.com/255737/228011578-6ecb055d-ea4e-45f5-b915-42865a7a3bff.jpeg)

**Additional context**

Obviously this is only easy to implement when showing a single trace. With multiple traces the layering might be hard to figure out. But I guess in an initial version this option can be restricted to graphs containing only one trace, by validating the YAML input?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.