Ticket #6 (closed enhancement: fixed)

Opened 7 years ago

Last modified 3 months ago

Zoomable graphs

Reported by: jo Assigned to: snide
Priority: high Milestone: Munin 2.0
Component: master Version:
Severity: normal Keywords: None
Cc: None

Description

Support for "zoomable" weekly/monthly/yearly graphs, like rrdcgi.

Attachments

zoomin-0.1.patch (2.1 kB) - added by runesk on 10/21/09 09:10:10.
A patch for zoomin to make right-to-left-select in graphs
zoomin-1.4.0.zip (3.6 kB) - added by muhgatus on 11/30/09 16:38:45.
Modified zoom.js, zoom.php, patch for GraphOld?.pm(1.4.0) included

Change History

12/02/05 12:17:28 changed by janl

Anonymous sourceforge request:

please make available the feature of zooming graphs like in cacti - If i press the mouse over an graph, select a period and release the button, the graph reload with the selected interval so it zooms in for the selected period.

06/19/06 23:47:08 changed by janl

  • owner changed from jo to janl.
  • type set to defect.
  • summary changed from "Zoomable" graphs to Zoomable graphs.

Interestingly rrd 1.2 supports SVG graphics

10/18/06 23:07:53 changed by janl

  • type changed from defect to enhancement.
  • severity changed from trivial to normal.

01/10/07 13:56:31 changed by kjetilk@opera.com

Actually, one would gain a lot by just using SVG, as modern browsers would provide zooming capabilities. You wouldn't get an excerpt, but you could zoom. So, if you could just use the SVG output, that would be great.

Native SVG support is not available on all OSes, but I suspect most Munin users would have it, and it is relatively easy to provide a fallback.

01/15/08 11:59:19 changed by janl

  • priority changed from normal to high.
  • version deleted.

The SVGs produced by both rrd 1.2 and 1.3 are unsuitable for zoomable graphs. To fix rrd 1.3 we first have to patch libcairo the graphics library to support id= attributes on graph features, and then fix rrd 1.3 to use this.

  • The graph itself should have a independent translation matrix
  • The x-axis should be zoomed only along the x-axis
  • The y-axis should be zoomed only along the y-axis
  • Each of them should be enclosed by clip boxes

Then we can zoom the graphs in a sensible manner. The next step is mouse over handling that shows the legend name of the point, the value at the graph point, and the time of collection. And if it's averaged maybe the max reading of the time period of averageing.

Nicolai

12/09/08 12:59:55 changed by mmahut

Is there any progress on this feature? We would really like to see this in next release. Thank you.

06/22/09 17:26:26 changed by insom

http://insom.me.uk/z/2009/06/zoomable-munin-graphs.html

I've gotten zoomable graphs working. It's rough around the edges, but I'd love to see someone pick it up. It certainly suits my purposes right now.

10/20/09 23:39:03 changed by janl

  • status changed from new to assigned.
  • milestone changed from Munin 1.6 to Munin 1.5.

10/21/09 09:10:10 changed by runesk

  • attachment zoomin-0.1.patch added.

A patch for zoomin to make right-to-left-select in graphs

11/30/09 16:38:45 changed by muhgatus

  • attachment zoomin-1.4.0.zip added.

Modified zoom.js, zoom.php, patch for GraphOld?.pm(1.4.0) included

12/04/09 23:15:51 changed by janl

  • owner changed from janl to Steve Schnepp.
  • status changed from assigned to new.
  • milestone changed from Munin 1.5 to Munin 1.4.3.

Since we have a patch (and Steve Schnepp is also working on this) I'm planning to take it into the 1.4 series.

12/07/09 08:34:40 changed by janl

  • owner changed from Steve Schnepp to snide.

(follow-up: ↓ 12 ) 12/21/09 21:54:23 changed by snide

  • status changed from new to assigned.
  • milestone changed from Munin 1.4.3 to Munin 1.5.

(in reply to: ↑ 11 ) 12/21/09 21:56:04 changed by snide

Replying to snide: I'm planning it more for 1.5 than for 1.4, but maybe, who knows :-)

01/08/10 23:09:14 changed by snide

I uploaded a pure Perl patch here : http://munin.projects.linpro.no/attachment/wiki/Munin_other_native_transports

It's a rewrite of my old 1.2 zooming graph one since it was faster this way. I'll have a look at the attached one also to enhance mine and to have the best of both :-)

03/01/10 08:59:50 changed by snide

  • status changed from assigned to closed.
  • resolution set to fixed.

closed by r3376