public interface LineChart
| Modifier and Type | Method and Description |
|---|---|
int |
getNumPoints()
Returns the number of points in this line chart
|
java.awt.Paint |
getPaint()
Returns the paint (color) that should be used for the line.
|
java.awt.Stroke |
getStroke()
Returns the stroke that should be used for the line.
|
java.awt.Shape |
getTickShape()
Returns the shape that should be painted as the tick marks.
|
double |
getValue(int index)
Returns the value at the given index
|
int getNumPoints()
double getValue(int index)
index - The indexjava.lang.IndexOutOfBoundsException - May be thrown if the index is
smaller than 0 or not smaller than getNumPoints()java.awt.Paint getPaint()
null, then the line will not be
painted.java.awt.Stroke getStroke()
null, then the line will not be painted.java.awt.Shape getTickShape()
null, then no tick shape will be
painted.Copyright © 2019. All Rights Reserved.