Style
public static class HistogramPlotter.HistoStyle extends java.lang.Object implements Style
Constructor | Description |
---|---|
HistoStyle(java.awt.Color color,
BarStyle.Form barForm,
BarStyle.Placement placement,
boolean cumulative,
Normalisation norm,
Unit unit,
int thick,
float[] dash,
BinSizer sizer,
double phase,
Combiner combiner) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
BinSizer |
getBinSizer() |
Returns the bin sizer.
|
Combiner |
getCombiner() |
Returns the combination mode used for aggregating values into bins.
|
javax.swing.Icon |
getLegendIcon() |
Returns an icon suitable for displaying in a legend for this style.
|
Normalisation |
getNormalisation() |
Returns normalisation mode.
|
Unit |
getUnit() |
Returns the axis unit for density scaling.
|
int |
hashCode() |
|
boolean |
isCumulative() |
Returns cumulative flag.
|
public HistoStyle(java.awt.Color color, BarStyle.Form barForm, BarStyle.Placement placement, boolean cumulative, Normalisation norm, Unit unit, int thick, float[] dash, BinSizer sizer, double phase, Combiner combiner)
color
- bar colourbarForm
- bar formplacement
- bar placementcumulative
- whether to plot cumulative barsnorm
- normalisation mode for the vertical scaleunit
- bin scaling unitthick
- line thickness (only relevant for some forms)dash
- line dash pattern (only relevant for some forms)sizer
- determines bin widthsphase
- bin reference point, 0..1combiner
- bin aggregation modepublic BinSizer getBinSizer()
public boolean isCumulative()
public Normalisation getNormalisation()
public Unit getUnit()
public Combiner getCombiner()
public javax.swing.Icon getLegendIcon()
Style
getLegendIcon
in interface Style
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.