Java org.jfree.data.statistics SimpleHistogramDataset fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.statistics SimpleHistogramDataset fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.statistics SimpleHistogramDataset.

The text is from its open source code.

Constructor

SimpleHistogramDataset(Comparable key)
Creates a new histogram dataset.

Method

voidaddBin(SimpleHistogramBin bin)
Adds a bin to the dataset.
voidaddObservation(double value)
Adds an observation to the dataset (by incrementing the item count for the appropriate bin).
voidaddObservations(double[] values)
Adds a set of values to the dataset and sends a DatasetChangeEvent to all registered listeners.
voidclearObservations()
Removes all current observation data and sends a DatasetChangeEvent to all registered listeners.
Objectclone()
Returns a clone of the dataset.
booleanequals(Object obj)
Compares the dataset for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
intgetItemCount(int series)
Returns the number of items in a series.
doublegetYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
voidremoveAllBins()
Removes all bins and sends a DatasetChangeEvent to all registered listeners.
voidsetAdjustForBinSize(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.