org.faceless.graph
Class MultiBarGraph
java.lang.Object
org.faceless.graph.Graph
org.faceless.graph.AxesGraph
org.faceless.graph.AbstractBarGraph
org.faceless.graph.MultiBarGraph
public class MultiBarGraph
- extends AbstractBarGraph
A concrete subclass of AbstractBarGraph that describes Bar Graphs with multiple
datasets plotted next to eachother on a single X axis. Useful to plot the same
type of data as a DepthBarGraph
but in two dimensions.
As the usage of a MultiBarGraph is identical to a DepthBarGraph
, please
see that class for an example.
- Since:
- 1.0.4
Methods inherited from class org.faceless.graph.AxesGraph |
optionAxisStyle, optionBoxColor, optionFloorStyle, optionMaxY, optionMinY, optionXAxisAtZero, optionXAxisLabel, optionXAxisLabelStyle, optionXAxisStyle, optionXAxisTextRotation, optionXFormatter, optionYAxisAtZero, optionYAxisLabel, optionYAxisLabelStyle, optionYAxisStyle, optionYAxisTextRotation, optionYFormatter, optionYWallStyle, optionZAxisStyle, optionZFormatter, optionZWallStyle |
Methods inherited from class org.faceless.graph.Graph |
getDefaultBorderColor, getFontScale, optionDisplayKey, optionFixedAspectRatio, optionKeyBoxStyle, optionKeyStyle, optionSubTitle, optionSubTitleStyle, optionTitle, optionTitleStyle, optionXRotation, optionYRotation, optionZRotation, setDefaultBorderColor, setDefaultColors, setDefaultLineThickness, setFontScale, setLicenseKey, setLightLevel, setLightVector, setPieEdgeDegrees, toCanvas |
MultiBarGraph
public MultiBarGraph()
setColor
public void setColor(String set,
Paint color)
- Set the color for an entry.
set
public void set(String xset,
String yset,
double val)
- Set the value of the specified entry.
- Parameters:
xset
- the entry on the X-axis to plot the value againstyset
- the position in the X-axis square to plot the value againstval
- the value to plot
- Throws:
IllegalArgumentException
- if paramater val is infinite.
Copyright © 2001-2012 Big Faceless Organization