ReportMill 10 API

com.reportmill.shape.graph
Class RMGraphSeries

java.lang.Object
  extended by com.reportmill.shape.graph.RMGraphSeries

public class RMGraphSeries
extends java.lang.Object

A class to represent a graph series, contains a list of series items.


Nested Class Summary
static class RMGraphSeries.Item
          A class to represent an individual item inside a graph series, including its key, group, value and bar/wedge shape.
 
Constructor Summary
RMGraphSeries(java.lang.String aTitle, java.lang.String aKey, java.util.List aGroupList)
          Creates a new series.
 
Method Summary
 void addItem(com.reportmill.base.RMGroup aGroup)
          Add item for given key/group.
 float floatValue()
          Returns the total for all values in series.
 RMGraphSeries.Item getItem(int anIndex)
          Returns the individual series item at the given index.
 int getItemCount()
          Returns the number of items in this series.
 java.lang.String getKey()
          Returns the key for this series.
 java.lang.String getTitle()
          Returns the title for this series.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMGraphSeries

public RMGraphSeries(java.lang.String aTitle,
                     java.lang.String aKey,
                     java.util.List aGroupList)
Creates a new series.

Method Detail

getTitle

public java.lang.String getTitle()
Returns the title for this series.


getKey

public java.lang.String getKey()
Returns the key for this series.


addItem

public void addItem(com.reportmill.base.RMGroup aGroup)
Add item for given key/group.


getItemCount

public int getItemCount()
Returns the number of items in this series.


getItem

public RMGraphSeries.Item getItem(int anIndex)
Returns the individual series item at the given index.


floatValue

public float floatValue()
Returns the total for all values in series.


ReportMill 10 API