public interface XYDataSeriesFunction extends XYDataSeries
XYDataSeries
based on a function.
By default, this calculates at least 200 data points inside the plot's existing range.
The number of points can be increased for a finer grained plot, or decreased if less resolution is needed.
The points are recomputed as the Chart
's x-range changes.Modifier and Type | Method and Description |
---|---|
XYDataSeriesFunction |
funcNPoints(int npoints)
Sets the number of data points in this dataset.
|
XYDataSeriesFunction |
funcRange(double xmin,
double xmax)
Sets the data range for this series.
|
XYDataSeriesFunction |
funcRange(double xmin,
double xmax,
int npoints)
Sets the data range and number of points for this series.
|
pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize
gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
XYDataSeriesFunction funcRange(double xmin, double xmax)
xmin
- range minimumxmax
- range maximumXYDataSeriesFunction funcRange(double xmin, double xmax, int npoints)
xmin
- range minimumxmax
- range maximumnpoints
- number of data pointsIllegalArgumentException
- xmin
must not be less than xmax
xmin
and xmax
must be normal. See DoubleFpPrimitives.isNormal(double)
npoints
must non-negativeXYDataSeriesFunction funcNPoints(int npoints)
npoints
- number of pointsIllegalArgumentException
- npoints
must be non-negative.