org.achartengine.model
Class XYMultipleSeriesDataset

java.lang.Object
  extended by org.achartengine.model.XYMultipleSeriesDataset
All Implemented Interfaces:
java.io.Serializable

public class XYMultipleSeriesDataset
extends java.lang.Object
implements java.io.Serializable

A series that includes 0 to many XYSeries.

See Also:
Serialized Form

Constructor Summary
XYMultipleSeriesDataset()
           
 
Method Summary
 void addAllSeries(java.util.List<XYSeries> series)
          Adds all the provided XY series to the list.
 void addSeries(int index, XYSeries series)
          Adds a new XY series to the list.
 void addSeries(XYSeries series)
          Adds a new XY series to the list.
 void clear()
          Removes all the XY series from the list.
 XYSeries[] getSeries()
          Returns an array of the XY series.
 XYSeries getSeriesAt(int index)
          Returns the XY series at the specified index.
 int getSeriesCount()
          Returns the XY series count.
 void removeSeries(int index)
          Removes the XY series from the list.
 void removeSeries(XYSeries series)
          Removes the XY series from the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XYMultipleSeriesDataset

public XYMultipleSeriesDataset()
Method Detail

addSeries

public void addSeries(XYSeries series)
Adds a new XY series to the list.

Parameters:
series - the XY series to add

addSeries

public void addSeries(int index,
                      XYSeries series)
Adds a new XY series to the list.

Parameters:
index - the index in the series list
series - the XY series to add

addAllSeries

public void addAllSeries(java.util.List<XYSeries> series)
Adds all the provided XY series to the list.

Parameters:
series - the XY series to add

removeSeries

public void removeSeries(int index)
Removes the XY series from the list.

Parameters:
index - the index in the series list of the series to remove

removeSeries

public void removeSeries(XYSeries series)
Removes the XY series from the list.

Parameters:
series - the XY series to be removed

clear

public void clear()
Removes all the XY series from the list.


getSeriesAt

public XYSeries getSeriesAt(int index)
Returns the XY series at the specified index.

Parameters:
index - the index
Returns:
the XY series at the index

getSeriesCount

public int getSeriesCount()
Returns the XY series count.

Returns:
the XY series count

getSeries

public XYSeries[] getSeries()
Returns an array of the XY series.

Returns:
the XY series array


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.