Monitorix icon indicating copy to clipboard operation
Monitorix copied to clipboard

Feature: mouseover information

Open Saentist opened this issue 3 years ago • 6 comments

Is there can be implemented information on mouse over graph?

This is example of how date/time is show on pointing graph. https://sourceforge.net/p/webminstats/git/ci/master/tree/sysstats/display.js moving left/right show exact time where mouse point.

It will be very interesting if both projects collaborate each other.

Saentist avatar Jan 23 '22 13:01 Saentist

I'd like to see a functional example.

mikaku avatar Feb 02 '22 20:02 mikaku

Screen recording. rec4

Saentist avatar Feb 02 '22 21:02 Saentist

I expected a functional example of this tool on a Monitorix graph. Anyway, I don't see any special advantage as the grid in the image let's you know the exact time of each point.

Perhaps this tool is more useful on images where there is no grid, or when there is a big gap between grid lines.

mikaku avatar Feb 04 '22 10:02 mikaku

As it show time can show values.

Saentist avatar Feb 04 '22 10:02 Saentist

As it show time can show values.

Sure, but from where is supposed to get the values?

AFAIK this JS code runs in the browser, so it can not read the .rrd files unless there is a special HTTP call in the Monitorix CGI with specific parameters to read the contents of an .rrd file. Excuse me if this sounds wrong, but I cannot interpret what this JS code does.

mikaku avatar Feb 04 '22 10:02 mikaku

https://github.com/tjfontaine/javascript-rrd

Saentist avatar Feb 04 '22 14:02 Saentist