com.googlecode.charts4j
Interface Line


public interface Line

Encapsulates data and plot decorations that will be rendered in a LineChart. Construct with Plots static factory class.

Author:
Julien Chastang (julien.c.chastang at gmail dot com)
See Also:
Data, DataUtil, LineChart

Method Summary
 void setFillAreaColor(Color color)
          Define a fill area color below this plot.
 void setLineStyle(LineStyle lineStyle)
          Set the line style.
 void setPriority(Priority priority)
          Set the priority.
 
Methods inherited from interface com.googlecode.charts4j.Plot
addMarker, addMarkers, addShapeMarker, addShapeMarkers, addTextMarker, setColor, setLegend
 

Method Detail

setLineStyle

void setLineStyle(LineStyle lineStyle)
Set the line style.

Parameters:
lineStyle - The line style to set. Cannot be null.

setPriority

void setPriority(Priority priority)
Set the priority.

Parameters:
priority - for this plot. Cannot be null.

setFillAreaColor

void setFillAreaColor(Color color)
Define a fill area color below this plot. Order is important! If you have multiple plots, you may have your fill areas obscure each other. You may have to experiment to get the result you want.

Parameters:
color - The color of the fill area that will appear below this particular plot. cannot be null.