public static class BarVisualisation.Bar extends Object
Modifier and Type | Field and Description |
---|---|
Float[] |
colour
The colour of the bar
|
double |
endX
Data units where the bar drawing ends
|
double |
startX
Data units where the bar is drawn
|
Float[] |
strokeColour
The stroke colour
|
double |
value
The value (height) of the bar
|
Constructor and Description |
---|
BarVisualisation.Bar(double value,
double startX,
double endX,
Float[] colour)
Default constructor
|
public double value
public double startX
public double endX
public Float[] strokeColour
public BarVisualisation.Bar(double value, double startX, double endX, Float[] colour)
value
- Height of the barstartX
- units of the start of the barendX
- units at the end of the barcolour
- The colour of the bar