Class RMGraphRPG
- java.lang.Object
-
- com.inductiveautomation.rm.graphing.RMGraphRPG
-
- Direct Known Subclasses:
RMGraphRPGBar
,RMGraphRPGPie
public abstract class RMGraphRPG extends java.lang.Object
A shape class for a generated RMGraph.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RMGraphRPG.GraphShape
An interface to identify generated graph shapes.
-
Constructor Summary
Constructors Constructor Description RMGraphRPG(RMGraph aGraph, ReportOwner anRptOwner)
Creates a new RMGraphRPG for a graph and a report owner.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract RMParentShape
createGraphShape()
Creates the graph shape.RMGraph
getGraph()
Returns the source graph.RMParentShape
getGraphShape()
Returns the graph shape.RMGroup
getObjects()
Returns the graph objects.ReportOwner
getReportOwner()
Returns the ReportOwner.RMGraphSection
getSection(int anIndex)
Returns the individual section at the given index.int
getSectionCount()
Returns the number of sections in this graph.java.util.List<RMGraphSection>
getSections()
Returns the graph sections.java.util.List<RMGraphSeries>
getSeries()
Returns the list of series.RMGraphSeries
getSeries(int anIndex)
Returns the individual series at the given index.int
getSeriesCount()
Returns the number of series in this graph.boolean
isMeshed()
Returns whether section layout is meshed.
-
-
-
Constructor Detail
-
RMGraphRPG
public RMGraphRPG(RMGraph aGraph, ReportOwner anRptOwner)
Creates a new RMGraphRPG for a graph and a report owner.
-
-
Method Detail
-
getGraph
public RMGraph getGraph()
Returns the source graph.
-
getReportOwner
public ReportOwner getReportOwner()
Returns the ReportOwner.
-
getGraphShape
public RMParentShape getGraphShape()
Returns the graph shape.
-
createGraphShape
protected abstract RMParentShape createGraphShape()
Creates the graph shape.
-
isMeshed
public boolean isMeshed()
Returns whether section layout is meshed.
-
getObjects
public RMGroup getObjects()
Returns the graph objects.
-
getSeriesCount
public int getSeriesCount()
Returns the number of series in this graph.
-
getSeries
public RMGraphSeries getSeries(int anIndex)
Returns the individual series at the given index.
-
getSeries
public java.util.List<RMGraphSeries> getSeries()
Returns the list of series.
-
getSectionCount
public int getSectionCount()
Returns the number of sections in this graph.
-
getSection
public RMGraphSection getSection(int anIndex)
Returns the individual section at the given index.
-
getSections
public java.util.List<RMGraphSection> getSections()
Returns the graph sections.
-
-