|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.general.AbstractDataset
nl.tudelft.simulation.jstats.charts.histogram.HistogramSeries
public class HistogramSeries
The serie defines a histogram series containing the entries of a set.
(c) copyright 2002-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Constructor Summary | |
---|---|
HistogramSeries(String name,
double[] domain,
double[] range,
int numberOfBins)
constructs a new HistogramSeries |
Method Summary | |
---|---|
int |
getBinCount()
returns the number of bins in the histogram |
Number |
getEndXValue(int bin)
returns the maxX value for bin |
Number |
getEndYValue(int bin)
returns the maxY value |
String |
getName()
returns the name of the serie |
Number |
getStartXValue(int bin)
returns the minimumX value |
Number |
getStartYValue(int bin)
returns the minimumY value |
Number |
getXValue(int bin)
returns the x value |
Number |
getYValue(int bin)
returns the Y value |
void |
notify(EventInterface event)
|
Methods inherited from class org.jfree.data.general.AbstractDataset |
---|
addChangeListener, clone, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistogramSeries(String name, double[] domain, double[] range, int numberOfBins)
name
- the name of the datasetdomain
- the domain of the serierange
- the range of the serienumberOfBins
- the number of bins to be usedMethod Detail |
---|
public String getName()
public Number getEndXValue(int bin)
bin
- the bin number
public Number getEndYValue(int bin)
bin
- the bin number
public Number getStartXValue(int bin)
bin
- the bin number
public Number getStartYValue(int bin)
bin
- the bin number
public int getBinCount()
public Number getXValue(int bin)
bin
- the bin number
public Number getYValue(int bin)
bin
- the bin number
public void notify(EventInterface event)
notify
in interface EventListenerInterface
#notify(nl.tudelft.simulation.event.EventInterface)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |