Class RMGraphRPGBar
java.lang.Object
com.inductiveautomation.rm.graphing.RMGraphRPG
com.inductiveautomation.rm.graphing.RMGraphRPGBar
- Direct Known Subclasses:
- RMGraphRPGLine
This class generates (and represents) a RPG'd bar graph area.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface for a shape that renders a bar graph from bar graph pieces.static classA BarGraphShape implementation.Nested classes/interfaces inherited from class com.inductiveautomation.rm.graphing.RMGraphRPGRMGraphRPG.GraphShape
- 
Constructor SummaryConstructorsConstructorDescriptionRMGraphRPGBar(RMGraph aGraph, ReportOwner anRptOwner) Creates a bar graph maker.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddBars()Adds the bars to the graph area.voidaddLabel(RMTextShape aLabel, RMGraphPartSeries.LabelPos aPosition, RMGraphSeries.Item seriesItem) Adds an individual label.protected RMParentShapeCreates the graph shape.getBarBounds(int aSeriesIndex, int anItemIndex) Returns the bar bounds for bar at given series and item.Returns the shape used to represent the basic attributes of bars & wedges.getInterval(int anIndex) Returns the individual interval at a given index as a float value.intReturns the number of intervals for this filled graph.Returns the last interval as a float value.intReturns the number of suggested ticks between the intervals of the RPG'd graph.booleanReturns whether graph is vertical.Methods inherited from class com.inductiveautomation.rm.graphing.RMGraphRPGgetGraph, getGraphShape, getObjects, getReportOwner, getSection, getSectionCount, getSections, getSeries, getSeries, getSeriesCount, isMeshed
- 
Constructor Details- 
RMGraphRPGBarCreates a bar graph maker.
 
- 
- 
Method Details- 
createGraphShapeCreates the graph shape.- Specified by:
- createGraphShapein class- RMGraphRPG
 
- 
getIntervalCountpublic int getIntervalCount()Returns the number of intervals for this filled graph.
- 
getIntervalReturns the individual interval at a given index as a float value.
- 
getIntervalLastReturns the last interval as a float value.
- 
getMinorTickCountpublic int getMinorTickCount()Returns the number of suggested ticks between the intervals of the RPG'd graph.
- 
isVerticalpublic boolean isVertical()Returns whether graph is vertical.
- 
addBarspublic void addBars()Adds the bars to the graph area.
- 
getBarBoundsReturns the bar bounds for bar at given series and item.
- 
addLabelpublic void addLabel(RMTextShape aLabel, RMGraphPartSeries.LabelPos aPosition, RMGraphSeries.Item seriesItem) Adds an individual label.
- 
getBarPrototypeReturns the shape used to represent the basic attributes of bars & wedges.
 
-