com.jinsight.jetchart
Class SeriesBase

java.lang.Object
  extended bycom.jinsight.jetchart.SeriesBase

public class SeriesBase
extends java.lang.Object

This class implements the properties and methods of a series base. A series base is a line drawn across the chart area where the base of certain types of series, as bar series and area series, rest on. It is only visible if its value is equal to zero, in which case it is painted perpendicularly to the scale axis and starting at the scale origin(0). When visible the series base helps identify the positive and negative chart regions.

A series base has no public constructor, and can only be accessed through getter methods implemented in classes ScatterGraph and GraphSet.

See Also:
ScatterGraph, GraphSet

Constructor Summary
SeriesBase()
           
 
Method Summary
protected  void finalize()
           
 void setColor(java.awt.Color color)
          Sets the color of a series base.
 void setEnabled(boolean isEnabled)
          Enables/disables a series base.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeriesBase

public SeriesBase()
Method Detail

setColor

public void setColor(java.awt.Color color)
Sets the color of a series base. Default color is black.

Parameters:
color - A Color object.

setEnabled

public void setEnabled(boolean isEnabled)
Enables/disables a series base. By default a series base is always displayed.

Parameters:
isEnabled - A boolean value.

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable