public class LineCharts
extends java.lang.Object
LineChart instances| Modifier and Type | Method and Description |
|---|---|
static double |
computeMax(java.lang.Iterable<? extends LineChart> lineCharts)
Compute the maximum of the given
LineCharts. |
static double |
computeMax(LineChart lineChart)
Returns the maximum
value of the given
line chart. |
static double |
computeMin(java.lang.Iterable<? extends LineChart> lineCharts)
Compute the minimum of the given
LineCharts. |
static double |
computeMin(LineChart lineChart)
Returns the minimum
value of the given
line chart. |
static LineChart |
createFromList(java.util.List<? extends java.lang.Number> list,
java.awt.Paint paint)
Create a simple
LineChart that is a view on the given
list. |
static LineChart |
createFromList(java.util.List<? extends java.lang.Number> list,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Shape tickShape)
Create a simple
LineChart that is a view on the given
list. |
public static LineChart createFromList(java.util.List<? extends java.lang.Number> list, java.awt.Paint paint)
LineChart that is a view on the given
list. This means that changes in the given list will be visible in
the returned chart.null, then
0.0 will be used as the value.list - The listpaint - The paint for the line chart. If this is null,
then nothing will be paintedLineChartpublic static LineChart createFromList(java.util.List<? extends java.lang.Number> list, java.awt.Paint paint, java.awt.Stroke stroke, java.awt.Shape tickShape)
LineChart that is a view on the given
list. This means that changes in the given list will be visible in
the returned chart.null, then
0.0 will be used as the value.list - The listpaint - The paint for the line chart. If this is null,
then nothing will be paintedstroke - The stroke for the line chart. If this is
null, then no line will be painted.tickShape - The tick shape. If this is null, then
no ticks will be paintedLineChartpublic static double computeMin(LineChart lineChart)
value of the given
line chart. Returns POSITIVE_INFINITY if the chart is
empty.lineChart - The LineChartpublic static double computeMax(LineChart lineChart)
value of the given
line chart. Returns NEGATIVE_INFINITY if the chart is
empty.lineChart - The LineChartpublic static double computeMin(java.lang.Iterable<? extends LineChart> lineCharts)
LineCharts. If the given
sequence is empty, or none of its elements as any points, then
POSITIVE_INFINITY will be returned.lineCharts - The LineChartspublic static double computeMax(java.lang.Iterable<? extends LineChart> lineCharts)
LineCharts. If the given
sequence is empty, or none of its elements as any points, then
NEGATIVE_INFINITY will be returned.lineCharts - The LineChartsCopyright © 2018. All Rights Reserved.