org.faceless.graph
Class TowerBarGraph
java.lang.Object
org.faceless.graph.Graph
org.faceless.graph.AxesGraph
org.faceless.graph.AbstractBarGraph
org.faceless.graph.TowerBarGraph
public class TowerBarGraph
- extends AbstractBarGraph
A concrete subclass of AbstractBarGraph that describes "Towered" Bar Graphs -
i.e. each bar consists of several colored blocks, stacked on top of eachother.
As the usage of a TowerBarGraph is identical to a DepthBarGraph
, please
see that class for an example.
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 |
TowerBarGraph
public TowerBarGraph()
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 tower to plot the value againstval
- the value to plot.
- Throws:
IllegalArgumentException
- if paramater val is infinite.
Copyright © 2001-2012 Big Faceless Organization