Long term statistics looks like square waves

I was just looking at my long term data but I see it has taken a square wave shape. Could this be due to a specific setting?
I am using MariaDB for a long time and didn’t recal that I had this problem before.

Yeah that’s not right. There are no settings to change long term statistics behaviour other than your purge_keep_days, which you seem to have set to 4 days, which is fine.

A power sensor of mine for comparison:

This is what I would expect yours to look like.

For some reason you seem to have lost the hourly statistics and only have the daily stats.

Any “FIX ISSUE” buttons in Developer Tools → Statistics you can press?

No “FIX ISSUE” button related to this but If you get only the long term statistics view without the short term then I got this result:

But as soon if I get both short and long term view then it looks like this:

So the hourly based long term stats are there but it has a problem when short and long term stats are used in a single chart.

By the way purge_keep_days is set to 14 days

I can’t reproduce this but someone else has the same issue.