ReportMill 10 API

com.reportmill.shape.graph
Class RMGraphSeries.Item

java.lang.Object
  extended by com.reportmill.shape.graph.RMGraphSeries.Item
Enclosing class:
RMGraphSeries

public static class RMGraphSeries.Item
extends java.lang.Object

A class to represent an individual item inside a graph series, including its key, group, value and bar/wedge shape.


Constructor Summary
RMGraphSeries.Item(java.lang.String aKey, com.reportmill.base.RMGroup aGroup)
          Creates a new series value.
 
Method Summary
 float floatValue()
          Returns the float value for this series value.
 RMShape getBar()
          Returns the bar created for this series value.
 com.reportmill.base.RMGroup getGroup()
          Returns the group.
 java.lang.String getKey()
          Returns the key.
 java.lang.Number getValue()
          Returns the value for this series value.
 void setBar(RMShape aBar)
          Sets the bar created for this series value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMGraphSeries.Item

public RMGraphSeries.Item(java.lang.String aKey,
                          com.reportmill.base.RMGroup aGroup)
Creates a new series value.

Method Detail

getKey

public java.lang.String getKey()
Returns the key.


getGroup

public com.reportmill.base.RMGroup getGroup()
Returns the group.


getValue

public java.lang.Number getValue()
Returns the value for this series value.


floatValue

public float floatValue()
Returns the float value for this series value.


getBar

public RMShape getBar()
Returns the bar created for this series value.


setBar

public void setBar(RMShape aBar)
Sets the bar created for this series value.


ReportMill 10 API