Example usage for Java org.jfree.data.statistics HistogramDataset fields, constructors, methods, implement or subclass
The text is from its open source code.
HistogramDataset() Creates a new (empty) dataset with a default type of HistogramType .FREQUENCY. |
void | addChangeListener(DatasetChangeListener listener) Registers an object to receive notification of changes to the dataset. |
void | addSeries(Comparable key, double[] values, int bins) Adds a series to the dataset, using the specified number of bins, and sends a DatasetChangeEvent to all registered listeners. |
void | addSeries(Comparable key, double[] values, int bins, double minimum, double maximum) Adds a series to the dataset. |
Object | clone() Returns a clone of the dataset. |
boolean | equals(Object obj) Tests this dataset for equality with an arbitrary object. |
Class> | getClass() Returns the runtime class of this Object . |
Number | getEndX(int series, int item) Returns the end value for a bin. |
double | getEndXValue(int series, int item) Returns the end x-value (as a double primitive) for an item within a series. |
int | getItemCount(int series) Returns the number of data items for a series. |
int | getSeriesCount() Returns the number of series in the dataset. |
Comparable | getSeriesKey(int series) Returns the key for a series. |
Number | getStartX(int series, int item) Returns the start value for a bin. |
double | getStartXValue(int series, int item) Returns the start x-value (as a double primitive) for an item within a series. |
double | getXValue(int series, int item) Returns the x-value (as a double primitive) for an item within a series. |
Number | getY(int series, int item) Returns the y-value for a bin (calculated to take into account the histogram type). |
double | getYValue(int series, int item) Returns the y-value (as a double primitive) for an item within a series. |
void | setType(HistogramType type) Sets the histogram type and sends a DatasetChangeEvent to all registered listeners. |