public class AreaSeries extends Series
AbstractLineSeries
, one on top of eachother,
with the space under each line filled. So, for example, to plot two sets of data:
LineSeries series1 = new LineSeries("First"); series1.set(0,0); series1.set(5,5); LineSeries series2 = new LineSeries("Second"); series1.set(0,2); series1.set(5,4); AreaSeries series = new AreaSeries("Both"); series.add(series1); series.add(series2);
Constructor and Description |
---|
AreaSeries(String name)
Create a new AreaSeries
|
Modifier and Type | Method and Description |
---|---|
void |
add(AbstractLineSeries series)
Add a LineSeries to this Series
|
void |
setPreAccumulated(boolean on)
Sets whether the values in the Line series have already been totaled up.
|
addBox, addLine, addMarker, getName, outputToSeries, outputToSeriesFunction, setFloatingPointX, setFloatingPointY, setStyle, toString
public AreaSeries(String name)
name
- the name of the Seriespublic void setPreAccumulated(boolean on)
on
- whether to consider the values in the series as already accumulated. Default is falsepublic void add(AbstractLineSeries series)
series
- the series to addIllegalArgumentException
- if this series has already been addedCopyright © 2001-2016 Big Faceless Organization