Werk #12785: Fix "A negative value is not valid." in "Problem notification" Main Dashboard

Component Setup
Title Fix "A negative value is not valid." in "Problem notification" Main Dashboard
Date Apr 30, 2021
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.0.0p5 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Chromium based browsers showed an error message in the developer tools:

Error: <rect> attribute width: A negative value is not valid.

This error was provoked by a broken windowing function in the python implementation and is now fixed.

Furthermore the calculation of the windowing function was adapted: Before the first and last Bar was not a full sized window based on the current time. Now all time windows have the same duration.

To the list of all Werks