Class RMGraphSection
- java.lang.Object
- 
- com.inductiveautomation.rm.graphing.RMGraphSection
 
- 
 public class RMGraphSection extends java.lang.ObjectRepresents the data in the sections of a merged or separated graph.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classRMGraphSection.ItemAn inner class for a section item.
 - 
Constructor SummaryConstructors Constructor Description RMGraphSection(RMGraphRPG aGraphRPG, int anIndex)Creates a new graph section.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItem(int aSeriesIndex, int anItemIndex)Adds an item for the given series and series item.RMRectgetBounds()Returns the bounds of the section.RMGraphSection.ItemgetItem(int anIndex)Returns the specific item at the given index.intgetItemCount()Returns the number of section itemsfloatgetMaxValue()Returns section maximum value.floatgetMinValue()Returns section minimum value.static java.util.ListgetSections(RMGraphRPG aGraphRPG)Returns the list of sections for the graph.floatgetSectionTotal()Returns the total for all values in series.
 
- 
- 
- 
Constructor Detail- 
RMGraphSectionpublic RMGraphSection(RMGraphRPG aGraphRPG, int anIndex) Creates a new graph section.
 
- 
 - 
Method Detail- 
getItemCountpublic int getItemCount() Returns the number of section items
 - 
getItempublic RMGraphSection.Item getItem(int anIndex) Returns the specific item at the given index.
 - 
addItempublic void addItem(int aSeriesIndex, int anItemIndex)Adds an item for the given series and series item.
 - 
getMinValuepublic float getMinValue() Returns section minimum value.
 - 
getMaxValuepublic float getMaxValue() Returns section maximum value.
 - 
getSectionTotalpublic float getSectionTotal() Returns the total for all values in series.
 - 
getBoundspublic RMRect getBounds() Returns the bounds of the section.
 - 
getSectionspublic static java.util.List getSections(RMGraphRPG aGraphRPG) Returns the list of sections for the graph.
 
- 
 
-