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

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

Introduction

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

The text is from its open source code.

Constructor

HistogramDataset()
Creates a new (empty) dataset with a default type of HistogramType .FREQUENCY.

Method

voidaddChangeListener(DatasetChangeListener listener)
Registers an object to receive notification of changes to the dataset.
voidaddSeries(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.
voidaddSeries(Comparable key, double[] values, int bins, double minimum, double maximum)
Adds a series to the dataset.
Objectclone()
Returns a clone of the dataset.
booleanequals(Object obj)
Tests this dataset for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
NumbergetEndX(int series, int item)
Returns the end value for a bin.
doublegetEndXValue(int series, int item)
Returns the end x-value (as a double primitive) for an item within a series.
intgetItemCount(int series)
Returns the number of data items for a series.
intgetSeriesCount()
Returns the number of series in the dataset.
ComparablegetSeriesKey(int series)
Returns the key for a series.
NumbergetStartX(int series, int item)
Returns the start value for a bin.
doublegetStartXValue(int series, int item)
Returns the start x-value (as a double primitive) for an item within a series.
doublegetXValue(int series, int item)
Returns the x-value (as a double primitive) for an item within a series.
NumbergetY(int series, int item)
Returns the y-value for a bin (calculated to take into account the histogram type).
doublegetYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
voidsetType(HistogramType type)
Sets the histogram type and sends a DatasetChangeEvent to all registered listeners.