Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class org.faceless.graph.AbstractBarGraph
`DISPLAYVALUE_INSIDETOP, DISPLAYVALUE_MIDDLE, DISPLAYVALUE_NONE, DISPLAYVALUE_TOP`

Fields inherited from class org.faceless.graph.Graph
`KEY_BOXED_BOTTOM, KEY_BOXED_LEFT, KEY_BOXED_RIGHT, KEY_BOXED_TOP, KEY_NONE`

Constructor Summary
`MultiBarGraph()`

Method Summary
`void` | `set(String xset, String yset, double val)` Set the value of the specified entry.
`void` | `setColor(String set, Paint color)` Set the color for an entry.

Methods inherited from class org.faceless.graph.AbstractBarGraph
`optionBarDepth, optionBarWidth, optionDisplayValue, optionRoundBars, optionXStretchToZero, optionYStretchToZero`

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`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MultiBarGraph

    public MultiBarGraph()

Method Detail

### 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 against
    `yset` - the position in the X-axis square to plot the value against
    `val` - the value to plot
  Throws:
    `IllegalArgumentException` - if paramater val is infinite.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Big Faceless Organization