| Constructor and Description |
|---|
DataPointLine(double... y)
Constructor with only the y values.
|
DataPointLine(double[] x,
double[] y)
Constructor with x and y values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
paintOn(GraphicContext gc,
PaintInstructions instructions)
Paints the current content onto the graphic context.
|
addRefreshListener, color, getColor, removeRefreshListener, setColorpublic DataPointLine(double... y)
y - the values for ypublic DataPointLine(double[] x,
double[] y)
x - the values for xy - the values for ypublic void paintOn(GraphicContext gc, PaintInstructions instructions)
Drawablegc - graphic context; coordinates are relative to the Chartinstructions - additional instructions like the area to paint onCopyright © 2020. All rights reserved.