de.erichseifert.gral.plots
Class BarPlot
java.lang.Object
de.erichseifert.gral.AbstractDrawable
de.erichseifert.gral.DrawableContainer
de.erichseifert.gral.plots.Plot
de.erichseifert.gral.plots.XYPlot
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.
Constructor Summary |
BarPlot(DataSource... data)
Creates a new instance and initializes it with the specified data sources. |
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 |
BAR_WIDTH
public static final Settings.Key BAR_WIDTH
- Key for specifying a
Number
value for the relative
width of the bars.
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.