Example usage for Java org.jfree.data.statistics SimpleHistogramDataset fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleHistogramDataset(Comparable key) Creates a new histogram dataset. |
void | addBin(SimpleHistogramBin bin) Adds a bin to the dataset. |
void | addObservation(double value) Adds an observation to the dataset (by incrementing the item count for the appropriate bin). |
void | addObservations(double[] values) Adds a set of values to the dataset and sends a DatasetChangeEvent to all registered listeners. |
void | clearObservations() Removes all current observation data and sends a DatasetChangeEvent to all registered listeners. |
Object | clone() Returns a clone of the dataset. |
boolean | equals(Object obj) Compares the dataset for equality with an arbitrary object. |
Class> | getClass() Returns the runtime class of this Object . |
int | getItemCount(int series) Returns the number of items in a series. |
double | getYValue(int series, int item) Returns the y-value (as a double primitive) for an item within a series. |
void | removeAllBins() Removes all bins and sends a DatasetChangeEvent to all registered listeners. |
void | setAdjustForBinSize(boolean adjust) Sets the flag that controls whether or not the bin count is divided by the bin size in the #getYValue(int,int) method, and sends a DatasetChangeEvent to all registered listeners. |