public class XYValueSeries extends XYSeries
Constructor and Description |
---|
XYValueSeries(String title)
Builds a new XY value series.
|
Modifier and Type | Method and Description |
---|---|
void |
add(double x,
double y)
Adds a new value to the series.
|
void |
add(double x,
double y,
double value)
Adds a new value to the series.
|
void |
clear()
Removes all the values from the series.
|
double |
getMaxValue()
Returns the maximum value.
|
double |
getMinValue()
Returns the minimum value.
|
double |
getValue(int index)
Returns the value at the specified index.
|
void |
remove(int index)
Removes an existing value from the series.
|
add, addAnnotation, addAnnotation, clearAnnotations, clearSeriesValues, getAnnotationAt, getAnnotationCount, getAnnotationX, getAnnotationY, getIndexForKey, getItemCount, getMaxX, getMaxY, getMinX, getMinY, getPadding, getRange, getScaleNumber, getTitle, getX, getXYMap, getY, removeAnnotation, setTitle
public XYValueSeries(String title)
title
- the series title.public void add(double x, double y, double value)
x
- the value for the X axisy
- the value for the Y axisvalue
- the valuepublic void add(double x, double y)
public void remove(int index)
public void clear()
public double getValue(int index)
index
- the indexpublic double getMinValue()
public double getMaxValue()