com.odesys.chart.linechart
Interface Line

All Superinterfaces:
Series
All Known Implementing Classes:
DefaultLine

public interface Line
extends Series

Line is the data Series interface used by the LineChartModel. It extends the generic Series interface to add line style.


Field Summary
static int CIRCLE
          This style causes the points of the line to be drawn as circles.
static int NONE
          Plan line style.
static int SQUARE
          This style causes the points of the line to be drawn as squares.
static int TRIANGLE
          This style causes the points of the line to be drawn as triangles.
 
Method Summary
 int getStyle()
          Gets the style of this Line.
 void setStyle(int style)
          Sets the style of this Line.
 
Methods inherited from interface com.odesys.chart.Series
elements, getColor, getLabel, getModel, getSize, setColor, setLabel
 

Field Detail

NONE

public static final int NONE
Plan line style.

CIRCLE

public static final int CIRCLE
This style causes the points of the line to be drawn as circles.

SQUARE

public static final int SQUARE
This style causes the points of the line to be drawn as squares.

TRIANGLE

public static final int TRIANGLE
This style causes the points of the line to be drawn as triangles.
Method Detail

getStyle

public int getStyle()
Gets the style of this Line.
Returns:
The style of this Line.

setStyle

public void setStyle(int style)
Sets the style of this Line.