ReportMill 10 API

com.reportmill.shape.graph
Class RMGraphSection

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

public class RMGraphSection
extends java.lang.Object

Represents the data in the sections of a merged or separated graph.


Nested Class Summary
 class RMGraphSection.Item
          An inner class for a section item.
 
Constructor Summary
RMGraphSection(RMGraphRPG aGraphRPG, int anIndex)
          Creates a new graph section.
 
Method Summary
 void addItem(int aSeriesIndex, int anItemIndex)
          Adds an item for the given series and series item.
 RMRect getBounds()
          Returns the bounds of the section.
 RMGraphSection.Item getItem(int anIndex)
          Returns the specific item at the given index.
 int getItemCount()
          Returns the number of section items
 float getMaxValue()
          Returns section maximum value.
 float getMinValue()
          Returns section minimum value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMGraphSection

public RMGraphSection(RMGraphRPG aGraphRPG,
                      int anIndex)
Creates a new graph section.

Method Detail

getItemCount

public int getItemCount()
Returns the number of section items


getItem

public RMGraphSection.Item getItem(int anIndex)
Returns the specific item at the given index.


addItem

public void addItem(int aSeriesIndex,
                    int anItemIndex)
Adds an item for the given series and series item.


getMinValue

public float getMinValue()
Returns section minimum value.


getMaxValue

public float getMaxValue()
Returns section maximum value.


getBounds

public RMRect getBounds()
Returns the bounds of the section.


ReportMill 10 API