Option to hide "min/max" legends in the statistics graph

I found a way to hide the legends using this module:

and adding the following to the yaml for the statistics graph config:

style:
  .: |
    h1 {
      padding-bottom: 0;
    }
  statistics-chart$ha-chart-base$: |
    .chartLegend { 
      display: none;
    }

A simple option would be a lot easier, but this is working for me in the meantime.

13 Likes