Package org.knowm.xchart
Class Histogram
- java.lang.Object
-
- org.knowm.xchart.Histogram
-
public class Histogram extends Object
This class can be used to create histogram- Author:
- timmolter
-
-
Constructor Summary
Constructors Constructor Description Histogram(Collection<? extends Number> data, int numBins)
ConstructorHistogram(Collection<? extends Number> data, int numBins, double min, double max)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMax()
double
getMin()
int
getNumBins()
Collection<? extends Number>
getOriginalData()
List<Double>
getxAxisData()
List<Double>
getyAxisData()
-
-
-
Constructor Detail
-
Histogram
public Histogram(Collection<? extends Number> data, int numBins)
Constructor- Parameters:
data
-numBins
-
-
Histogram
public Histogram(Collection<? extends Number> data, int numBins, double min, double max)
Constructor- Parameters:
data
-numBins
-min
-max
-
-
-