de.erichseifert.gral.plots
Class BarPlot

java.lang.Object
  extended by de.erichseifert.gral.AbstractDrawable
      extended by de.erichseifert.gral.DrawableContainer
          extended by de.erichseifert.gral.plots.Plot
              extended by de.erichseifert.gral.plots.XYPlot
                  extended by de.erichseifert.gral.plots.BarPlot
All Implemented Interfaces:
Container, DataListener, Drawable, SettingsListener, SettingsStorage, Iterable<Drawable>

public class BarPlot
extends XYPlot

Class that displays data in a bar plot.


Nested Class Summary
 
Nested classes/interfaces inherited from class de.erichseifert.gral.plots.XYPlot
XYPlot.XYLegend, XYPlot.XYPlotArea2D
 
Field Summary
static Settings.Key BAR_WIDTH
          Key for specifying a Number value for the relative width of the bars.
 
Fields inherited from class de.erichseifert.gral.plots.XYPlot
AXIS_X, AXIS_X2, AXIS_Y, AXIS_Y2
 
Fields inherited from class de.erichseifert.gral.plots.Plot
ANTIALISING, BACKGROUND, BORDER, COLOR, LEGEND, LEGEND_LOCATION, LEGEND_MARGIN, TITLE
 
Constructor Summary
BarPlot(DataSource... data)
          Creates a new instance and initializes it with the specified data sources.
 
Method Summary
 
Methods inherited from class de.erichseifert.gral.plots.XYPlot
getAreaRenderer, getLineRenderer, getPointRenderer, refresh, setAreaRenderer, setAxisRenderer, setLineRenderer, setPointRenderer
 
Methods inherited from class de.erichseifert.gral.plots.Plot
add, add, add, clear, contains, dataChanged, draw, get, getAxes, getAxis, getAxisRenderer, getAxisRenderer, getData, getLegend, getPlotArea, getSetting, getTitle, getVisibleData, isVisible, remove, removeAxis, removeSetting, removeSettingDefault, setAxis, setAxisRenderer, setSetting, setSettingDefault, settingChanged, setVisible
 
Methods inherited from class de.erichseifert.gral.DrawableContainer
add, add, getConstraints, getInsets, getLayout, getPreferredSize, iterator, remove, setBounds, setBounds, setInsets, setLayout, size
 
Methods inherited from class de.erichseifert.gral.AbstractDrawable
getBounds, getHeight, getWidth, getX, getY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.erichseifert.gral.Container
getBounds
 

Field Detail

BAR_WIDTH

public static final Settings.Key BAR_WIDTH
Key for specifying a Number value for the relative width of the bars.

Constructor Detail

BarPlot

public BarPlot(DataSource... data)
Creates a new instance and initializes it with the specified data sources.

Parameters:
data - Data to be displayed.


Copyright © 2009-2010. All Rights Reserved.