public class Bar extends Shape
| Constructor and Description |
|---|
Bar(double[][] data,
double width,
java.awt.Color color)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Bar |
of(double[] x)
Creates a bar plot.
|
static Bar |
of(int[] x)
Creates a bar plot.
|
void |
paint(Graphics g)
Draws the shape.
|