Class XYDataSeriesFunctionImpl

All Implemented Interfaces:
DataSeries, DataSeriesInternal, XYDataSeries, XYDataSeriesFunction, XYDataSeriesFunctionInternal, XYDataSeriesInternal, PlotExceptionCause, Series, SeriesInternal, Serializable

public class XYDataSeriesFunctionImpl extends AbstractXYDataSeries implements XYDataSeriesFunctionInternal
XYDataSeriesInternal based on a function. By default, this calculates at least 200 data points inside the plots 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.
See Also:
  • Constructor Details

    • XYDataSeriesFunctionImpl

      public XYDataSeriesFunctionImpl(AxesImpl axes, int id, Comparable name, DoubleUnaryOperator function)
      Creates a XYDataSeriesFunction instance.
      Parameters:
      axes - axes on which the function will be plotted
      id - data series id
      name - series name
      function - function to plot
  • Method Details