public class HistogramSeries
extends org.jfree.data.general.AbstractDataset
implements nl.tudelft.simulation.event.EventListenerInterface
(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 and Description |
---|
HistogramSeries(String name,
double[] domain,
double[] range,
int numberOfBins)
constructs a new HistogramSeries
|
Modifier and Type | Method and Description |
---|---|
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(nl.tudelft.simulation.event.EventInterface event) |
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 usedpublic String getName()
public Number getEndXValue(int bin)
bin
- the bin numberpublic Number getEndYValue(int bin)
bin
- the bin numberpublic Number getStartXValue(int bin)
bin
- the bin numberpublic Number getStartYValue(int bin)
bin
- the bin numberpublic int getBinCount()
public Number getXValue(int bin)
bin
- the bin numberpublic Number getYValue(int bin)
bin
- the bin numberpublic void notify(nl.tudelft.simulation.event.EventInterface event)
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
#notify(nl.tudelft.simulation.event.EventInterface)
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.