Charts on the dashboard are broken when no queries

Right after a fresh installation or even if no queries have been made in the last 24 hours, the charts on the dashboard are broken and the browser's development tool console throws out an error.

I can reproduce the issue. The culprit is

If a single query is available, the issue resolved.
Reason is we assume there are queries

2 Likes