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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
An interface for a shape that renders a bar graph from bar graph pieces.static class
A BarGraphShape implementation.Nested classes/interfaces inherited from class com.inductiveautomation.rm.graphing.RMGraphRPG
RMGraphRPG.GraphShape
-
Constructor Summary
ConstructorsConstructorDescriptionRMGraphRPGBar
(RMGraph aGraph, ReportOwner anRptOwner) Creates a bar graph maker. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBars()
Adds the bars to the graph area.void
addLabel
(RMTextShape aLabel, RMGraphPartSeries.LabelPos aPosition, RMGraphSeries.Item seriesItem) Adds an individual label.protected RMParentShape
Creates 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.int
Returns the number of intervals for this filled graph.Returns the last interval as a float value.int
Returns the number of suggested ticks between the intervals of the RPG'd graph.boolean
Returns whether graph is vertical.Methods inherited from class com.inductiveautomation.rm.graphing.RMGraphRPG
getGraph, getGraphShape, getObjects, getReportOwner, getSection, getSectionCount, getSections, getSeries, getSeries, getSeriesCount, isMeshed
-
Constructor Details
-
RMGraphRPGBar
Creates a bar graph maker.
-
-
Method Details
-
createGraphShape
Creates the graph shape.- Specified by:
createGraphShape
in classRMGraphRPG
-
getIntervalCount
public int getIntervalCount()Returns the number of intervals for this filled graph. -
getInterval
Returns the individual interval at a given index as a float value. -
getIntervalLast
Returns the last interval as a float value. -
getMinorTickCount
public int getMinorTickCount()Returns the number of suggested ticks between the intervals of the RPG'd graph. -
isVertical
public boolean isVertical()Returns whether graph is vertical. -
addBars
public void addBars()Adds the bars to the graph area. -
getBarBounds
Returns the bar bounds for bar at given series and item. -
addLabel
public void addLabel(RMTextShape aLabel, RMGraphPartSeries.LabelPos aPosition, RMGraphSeries.Item seriesItem) Adds an individual label. -
getBarPrototype
Returns the shape used to represent the basic attributes of bars & wedges.
-