google-code-export / rrd4j

Automatically exported from code.google.com/p/rrd4j
Other
1 stars 1 forks source link

Graph with Multiple Vertical Axes #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

https://rrd4j.dev.java.net/servlets/ProjectForumMessageView?forumID=2523&message
ID=37617

FYI:  I originally posted this same question at the above link.

Hello,

I'm trying to create a single graph with multiple metrics 
(ex: CPU%, RAM, response time, throughput).  

Hoping that you can recommend an approach.

Each metric needs to have its own vertical axis.
The horizontal axis will be elapsed time.

JFreeChart includes an example of this kind of graph.
See the attached "JFreeChart-time-series-line-graph-with-
multiple-vertical-axes.PNG" for an example.

1) Could you describe what it would take to do this with 
rrd4j out-of-the box?

2) If a) isn't possible, could you suggest an approach for 
doing this with the data in rrd4j and doing the graphing 
with:

   a) with a _java_ graphing library (perhaps JFreeChart).

   b) with a NON java graphing libary (like     
http://flare.prefuse.org/demo).

Thanks, looking forward to trying rrd4j.

--Erik Ostermuller

Original issue reported on code.google.com by eostermu...@gmail.com on 28 Feb 2011 at 6:14

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by fbacche...@gmail.com on 18 Oct 2011 at 8:07

GoogleCodeExporter commented 9 years ago
an implementation for multiple y axis support, based on version 2.2

Original comment by kelleyas...@gmail.com on 30 Dec 2013 at 6:53

Attachments:

GoogleCodeExporter commented 9 years ago
 kelleyastover, can you provides a patch, some samples and documentation ? A fork on google or github would be very helpful.

Original comment by fbacche...@gmail.com on 1 Jan 2014 at 1:02

GoogleCodeExporter commented 9 years ago
I did a first pass at merging kelleyastover's multi-y patch:

https://github.com/brharrington/rrd4j/tree/multi-y

There were quite a few changes in 2.3 since the patch was made so I'm not 
entirely sure I merged everything correctly, however, the demos (Demo and the 
added MultipleYAxis) run and the images look reasonable at first glance. Output 
from MultipleYAxis demo is attached.

Original comment by brharrin...@netflix.com on 20 Feb 2014 at 5:50

Attachments: