Werk #22440 · Dec 2, 26
Graphs: new rendering and interactions
All time-series graphs in the user interface are now drawn by a new graph rendering engine and share one set of interactions. This covers the service and host graphs, the graphs on the service details page, the graph popup of the graph icon, the prediction graphs and the graph dashboard widgets, including the scatterplot. In Checkmk Pro and higher, it also covers combined graphs, forecast graphs, custom graphs and graph collections.
Related changes: the new custom graph designer (Werk #22447), graphs in notifications, reports and PNG exports (Werk #22505), and the metric endpoints of the REST API (Werk #22905).
Time range and refresh
- One time picker above the graphs sets the time range of all graphs on the page. It offers preset ranges such as Today, Yesterday or This week, the ranges of the global setting Custom graph time ranges, and a custom range with a calendar.
- By default, graphs open on Last 4 h. The time picker uses a 24-hour clock, and its calendar weeks start on Monday. Under Edit profile, each user can choose a different default range, start of the week and refresh interval. Werk #20196 adds these settings to the REST API.
- A live refresh control replaces the pause button and the inspect mode. It shows whether the graphs refresh, at which interval, and when they were last refreshed. Zooming, panning or picking a time range in the past pauses the refresh, and Resume returns the graphs to the live view.
Zoom and pan
- Dragging across a graph zooms into that time range. With the Y-zoom switch in the graph header, or while holding Ctrl or Cmd, dragging zooms into a value range instead.
- The mouse wheel no longer zooms, so scrolling the page leaves the graphs unchanged.
- Reset zoom, or the Home key while the graph has the focus, undoes the zoom.
- Dragging the time axis, or clicking the arrow buttons at its ends, moves the time range back or forward.
- A brush below the graph shows a wider time range than the graph itself. Moving or resizing its selection pans or zooms the graph. The brush replaces the time range previews below the graph.
Legend, tooltip and pin
- The eye icon of a legend entry hides or shows that metric, and Show all and Hide all apply to all metrics. Hovering over a legend entry highlights the metric in the graph.
- Dashboard graph widgets can show a compact legend.
- The tooltip highlights the metric under the mouse pointer and lists the metrics in the order of the legend.
- Clicking a graph sets the pin at that time.
Header and menu
- The graph header shows the data aggregation (Max, Average or Min) whenever the graph shows aggregated data, and switches it from a dropdown.
- The actions of a graph, such as adding it to a dashboard, a report or a custom graph, are in a labelled burger menu that also works with the keyboard.
Removed display options
The Modify display options dialog of the graph views and the graph column properties in the view editor no longer offer Font size, Title format, Show margin round the graph, Show time range previews, Time range synchronization and the title choice Show graph title on graph area. The new rendering engine does not use them. Views that still hold one of these settings keep working, and a graph title set to appear on the graph area appears above the graph. Show controls is now called Show burger menu.
Dashboard graph widgets no longer offer Font size. The update removes the setting from existing widgets.
Reports keep all of these options.
Details
- Class:
- New Features
- Level:
- Major
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions