Werk #17226: Fix ValueErrors when rendering graphs

Component User interface
Title Fix ValueErrors when rendering graphs
Date Aug 5, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In certain cases, rendering graphs crashed with a ValueError such as

Traceback (most recent call last):
  ...
  File "...", line 615, in _compute_labels_from_api
    raise ValueError((min_y, max_y))
ValueError: (0.0, 1.75828125)

To the list of all Werks