com.odesys.chart
Interface Series

All Known Subinterfaces:
Line
All Known Implementing Classes:
DefaultSeries

public interface Series

The common interface of all data series.


Method Summary
 java.util.Enumeration elements()
          Returns an Enumeration of the elements of this Series.
 java.awt.Color getColor()
          Gets the color of this Series.
 java.lang.String getLabel()
          Gets the label of this Series.
 ChartModel getModel()
          Gets the ChartModel this Series belongs to.
 int getSize()
          Gets the number of the elements in this Series.
 void setColor(java.awt.Color color)
          Sets the color of this Series.
 void setLabel(java.lang.String label)
          Sets the label of this Series.
 

Method Detail

getColor

public java.awt.Color getColor()
Gets the color of this Series.

setColor

public void setColor(java.awt.Color color)
Sets the color of this Series.

getLabel

public java.lang.String getLabel()
Gets the label of this Series.

setLabel

public void setLabel(java.lang.String label)
Sets the label of this Series.

getSize

public int getSize()
Gets the number of the elements in this Series.

elements

public java.util.Enumeration elements()
Returns an Enumeration of the elements of this Series.

getModel

public ChartModel getModel()
Gets the ChartModel this Series belongs to.