public static class ChartHistogram.Builder extends Chart.Builder<ChartHistogram.Builder>
Constructor and Description |
---|
Builder(java.lang.String title,
StyleChart style) |
Modifier and Type | Method and Description |
---|---|
ChartHistogram.Builder |
addBin(double lower,
double upper,
double yValue)
Add a single bin
|
ChartHistogram |
build() |
setGridWidth, setGridWidth, setXMax, setXMin, setYMax, setYMin, showLegend, suppressAxisHorizontal, suppressAxisVertical
public Builder(java.lang.String title, StyleChart style)
public ChartHistogram.Builder addBin(double lower, double upper, double yValue)
lower
- Lower (minimum/left) value for the bin (x axis)upper
- Upper (maximum/right) value for the bin (x axis)yValue
- The height of the binpublic ChartHistogram build()