public class

RrdGraphInfo

extends Object
java.lang.Object
   ↳ org.rrd4j.graph.RrdGraphInfo

Class Overview

Class to represent successfully created Rrd4j graph. Objects of this class are created by method getRrdGraphInfo().

Summary

Public Methods
String dump()
Dumps complete graph information.
int getByteCount()
Returns the number of bytes in the graph file
byte[] getBytes()
Returns graph bytes
String getFilename()
Returns filename of the graph
int getHeight()
Returns total graph height
String getImgInfo()
Returns image information requested by setImageInfo(String) method
String[] getPrintLines()
Returns PRINT lines requested by print(String, org.rrd4j.ConsolFun, String) method.
int getWidth()
Returns total graph width
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String dump ()

Dumps complete graph information. Useful for debugging purposes.

Returns
  • String containing complete graph information

public int getByteCount ()

Returns the number of bytes in the graph file

Returns
  • Length of the graph file

public byte[] getBytes ()

Returns graph bytes

Returns
  • Graph bytes

public String getFilename ()

Returns filename of the graph

Returns
  • filename of the graph. '-' denotes in-memory graph (no file created)

public int getHeight ()

Returns total graph height

Returns
  • total graph height

public String getImgInfo ()

Returns image information requested by setImageInfo(String) method

Returns
  • Image information

public String[] getPrintLines ()

Returns PRINT lines requested by print(String, org.rrd4j.ConsolFun, String) method.

Returns
  • An array of formatted PRINT lines

public int getWidth ()

Returns total graph width

Returns
  • total graph width