public class RMGraphRPGBar extends RMGraphRPG
Modifier and Type | Class and Description |
---|---|
static interface |
RMGraphRPGBar.BarGraphShape
An interface for a shape that renders a bar graph from bar graph pieces.
|
static class |
RMGraphRPGBar.BarGraphShape2D
A BarGraphShape implementation.
|
RMGraphRPG.GraphShape
Constructor and Description |
---|
RMGraphRPGBar(RMGraph aGraph,
ReportOwner anRptOwner)
Creates a bar graph maker.
|
Modifier and Type | Method and Description |
---|---|
void |
addBars()
Adds the bars to the graph area.
|
void |
addLabel(RMTextShape aLabel,
RMGraphPartSeries.LabelPos aPosition,
RMGraphSeries.Item seriesItem)
Adds an individual label.
|
RMRect |
getBarBounds(int aSeriesIndex,
int anItemIndex)
Returns the bar bounds for bar at given series and item.
|
double |
getBarLabelMaxWidth()
Returns the width available for a bar label.
|
RMShape |
getBarPrototype()
Returns the shape used to represent the basic attributes of bars & wedges.
|
java.lang.Float |
getInterval(int anIndex)
Returns the individual interval at a given index as a float value.
|
int |
getIntervalCount()
Returns the number of intervals for this filled graph.
|
java.lang.Float |
getIntervalLast()
Returns the last interval as a float value.
|
int |
getMinorTickCount()
Returns the number of suggested ticks between the intervals of the RPG'd graph.
|
boolean |
isVertical()
Returns whether graph is vertical.
|
getGraph, getGraphShape, getObjects, getReportOwner, getSection, getSectionCount, getSections, getSeries, getSeries, getSeriesCount, isMeshed
public RMGraphRPGBar(RMGraph aGraph, ReportOwner anRptOwner)
public int getIntervalCount()
public java.lang.Float getInterval(int anIndex)
public java.lang.Float getIntervalLast()
public int getMinorTickCount()
public boolean isVertical()
public void addBars()
public RMRect getBarBounds(int aSeriesIndex, int anItemIndex)
public double getBarLabelMaxWidth()
public void addLabel(RMTextShape aLabel, RMGraphPartSeries.LabelPos aPosition, RMGraphSeries.Item seriesItem)
public RMShape getBarPrototype()