public class RMGraphSeries
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
RMGraphSeries(java.lang.String aTitle,
java.lang.String aKey,
com.reportmill.base.RMGroup aGroupList)
Creates a new series.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(com.reportmill.base.RMGroup aGroup)
Add item for given key/group.
|
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.
|
static java.util.List<RMGraphSeries> |
getSeries(RMGraph aGraph)
Returns the graph series for a given graph.
|
float |
getSeriesTotal()
Returns the total for all values in series.
|
java.lang.String |
getTitle()
Returns the title for this series.
|
public RMGraphSeries(java.lang.String aTitle, java.lang.String aKey, com.reportmill.base.RMGroup aGroupList)
public java.lang.String getTitle()
public java.lang.String getKey()
public void addItem(com.reportmill.base.RMGroup aGroup)
public int getItemCount()
public RMGraphSeries.Item getItem(int anIndex)
public float getSeriesTotal()
public static java.util.List<RMGraphSeries> getSeries(RMGraph aGraph)