public class

RrdGraph

extends Object
implements RrdGraphConstants
java.lang.Object
   ↳ org.rrd4j.graph.RrdGraph

Class Overview

Class which actually creates Rrd4j graphs (does the hard work).

Summary

[Expand]
Inherited Constants
From interface org.rrd4j.graph.RrdGraphConstants
Public Constructors
RrdGraph(RrdGraphDef gdef)
Creates graph from the corresponding RrdGraphDef object.
Public Methods
RrdGraphInfo getRrdGraphInfo()
Returns complete graph information in a single object.
void render(Graphics g)
Renders this graph onto graphing device
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RrdGraph (RrdGraphDef gdef)

Creates graph from the corresponding RrdGraphDef object.

Parameters
gdef Graph definition
Throws
IOException Thrown in case of I/O error

Public Methods

public RrdGraphInfo getRrdGraphInfo ()

Returns complete graph information in a single object.

Returns
  • Graph information (width, height, filename, image bytes, etc...)

public void render (Graphics g)

Renders this graph onto graphing device

Parameters
g Graphics handle