Skip to content

Skipping x-axis values where y-value is non-existing, rangebreaks #159

Answered by dbuezas
Joc007 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Joc,
I didn't know about rangebreaks, nice finding!
I played with it a bit and I first missed the fact that rangebreaks is actually an array:

layout:
  xaxis:
    rangebreaks:
      - pattern: day of week
        bounds: # this will hide Saturdays and Sundays.
          - sat
          - mon

Regarding "older" data, try using long term statistics:

- entity: sensor.thing
  statistic: mean

More here

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants