rrdService.util
Class StackGraphicObject

java.lang.Object
  |
  +--rrdService.util.GraphicObject
        |
        +--rrdService.util.AeraGraphicObject
              |
              +--rrdService.util.StackGraphicObject
All Implemented Interfaces:
java.io.Serializable

public class StackGraphicObject
extends AeraGraphicObject

The class StackGraphicObject Does the same as LINE?, but the graph gets stacked on top of the previous LINE?, AREA or STACK graph. Depending on the type of the previous graph, the STACK will be either a LINE? or an AREA. This obviously implies that the first STACK must be preceded by an AREA or LINE? -- you need something to stack something onto in the first place ;)

Note, that when you STACK onto *UNKNOWN* data, rrdtool will not draw any graphics ... *UNKNOWN* is not zero ... if you want it to zero then you might want to use a CDEF argument with IF and UN functions to turn *UNKNOWN* into zero ...

Version:
1.0 date : 15/07/2001
Author:
Damien Pellier
See Also:
StackGraphicObject, Comment, Serialized Form

Fields inherited from class rrdService.util.AeraGraphicObject
virtualName
 
Fields inherited from class rrdService.util.GraphicObject
color, legend
 
Constructor Summary
StackGraphicObject(java.lang.String virtualName)
          Constructor of StackGraphicObject
StackGraphicObject(java.lang.String virtualName, java.awt.Color color)
          Constructor of StackGraphicObject
StackGraphicObject(java.lang.String virtualName, java.awt.Color color, java.lang.String legend)
          Constructor of StackGraphicObject
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this stack graphic object
 
Methods inherited from class rrdService.util.AeraGraphicObject
getVirtualName, setVirtualName
 
Methods inherited from class rrdService.util.GraphicObject
getColor, getLegend, setColor, setLegend
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

StackGraphicObject

public StackGraphicObject(java.lang.String virtualName)
Constructor of StackGraphicObject
Parameters:
virtualName - the virtual name to print on graphic

StackGraphicObject

public StackGraphicObject(java.lang.String virtualName,
                          java.awt.Color color)
Constructor of StackGraphicObject
Parameters:
virtualName - the virtual name to print on graphic
color - the color of the text on graphic

StackGraphicObject

public StackGraphicObject(java.lang.String virtualName,
                          java.awt.Color color,
                          java.lang.String legend)
Constructor of StackGraphicObject
Parameters:
virtualName - the virtual name to print on graphic
color - the color of the text on graphic
legend - the legend of the text on graphic
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this stack graphic object
Overrides:
toString in class AeraGraphicObject

Copyright 1885-2001 FIRMENICH SA, Geneva

Submit a bug or feature
Copyright 1885-2001 FIRMENICH SA, Geneva,
All Rights Reserved.