Re: [opennms-devel] Generating Graphs using JRobin
Gabe Ash <gabriel.ash <at> riskmetrics.com>
2007-08-07 13:46:04 GMT
Thanks, this seems to be what I'm looking for; It was hard going through
this stuff with no direction. I was trying to use JRobin by itself, but
it doesn't appear to be able to make graphs on its own (I have a
tutorial that references saveAsPNG in addition to render, but saveAsPNG
doesn't exist and render doesn't do what I want it to).
Gabe
-----Original Message-----
From: opennms-devel-bounces <at> lists.sourceforge.net
[mailto:opennms-devel-bounces <at> lists.sourceforge.net] On Behalf Of DJ
Gregor
Sent: Monday, August 06, 2007 9:04 PM
To: OpenNMS Code Development and Bugs
Subject: Re: [opennms-devel] Generating Graphs using JRobin
On Mon, 6 Aug 2007 09:13:11 -0400, "Gabe Ash"
<gabriel.ash <at> riskmetrics.com> said:
> I am using StoreByGroup for my RRD's, and want to write a tool to
> replace KSC Reporting. However, I'm having trouble implementing
JRobin's
> graphing feature. I see a saveImage() method and a render(Graphics g)
> method, but I cannot call saveImage() and render seems to require that
I
> use applets, which I'm not terribly keen on. I have been flipping
> through the OpenNMS source trying to find where it handles drawing
> graphs. I was hoping you guys might point me in the right direction.
Hi Gabe,
Is there a reason why you aren't using RrdStrategy (so your code works
with JRobin, RRDTool, or anything else that comes along RRD-ish in the
future that we decide to implement)? Here are the methods available on
RrdStrategy today:
http://opennms.svn.sourceforge.net/viewvc/opennms/opennms/trunk/opennms-
rrd/opennms-rrd-api/src/main/java/org/opennms/netmgt/rrd/RrdStrategy.jav
a?view=markup
If there are additional features that you want that aren't available on
the RrdStrategy/JRobinRrdStrategy, we'll happily accept patches to add
these features.
In any case, I'd be curious to know if there is
anything missing there that you need. For the record, here's my thought
on where I want this to go:
http://blogs.opennms.org/dj/?p=5
Lastly, here's JRobinRrdStrategy:
http://opennms.svn.sourceforge.net/viewvc/opennms/opennms/trunk/opennms-
rrd/opennms-rrd-jrobin/src/main/java/org/opennms/netmgt/rrd/jrobin/JRobi
nRrdStrategy.java?view=markup
- djg
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of
this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel