Class TransformedXYDataSeries<T extends XYDataSeriesInternal>

java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
com.illumon.iris.db.plot.datasets.xy.TransformedXYDataSeries<T>
All Implemented Interfaces:
DataSeries, DataSeriesInternal, ValidatingDataSeries, XYDataSeries, XYDataSeriesInternal, XYErrorBarDataSeries, XYErrorBarDataSeriesInternal, PlotExceptionCause, Series, SeriesInternal, Serializable
Direct Known Subclasses:
TransformedIntervalXYDataSeries, TransformedOHLCDataSeries, TransformedXYDataSeries.TransformedXYDataSeriesSnapshot

public class TransformedXYDataSeries<T extends XYDataSeriesInternal> extends AbstractSeriesInternal implements XYDataSeriesInternal, XYErrorBarDataSeriesInternal
XYDataSeriesInternal with optional transforms on its x and y data.
See Also:
  • Field Details

  • Constructor Details

    • TransformedXYDataSeries

      public TransformedXYDataSeries(T series, DoubleUnaryOperator xTransform, DoubleUnaryOperator yTransform)
      Creates a TransformedXYDataSeries instance.

      The xTransform is applied to x values during getX(int) calls. The yTransform is similarly applied during getY(int) calls.

      A null transform is treated as the identity function.

      Parameters:
      series - data
      xTransform - transform applied to x values
      Throws:
      com.fishlib.base.verify.RequirementFailure - series must not be null
    • TransformedXYDataSeries

      public TransformedXYDataSeries(T series, DoubleUnaryOperator xTransform, DoubleUnaryOperator yTransform, boolean isSnapshot)
      Creates a TransformedXYDataSeries instance.

      The xTransform is applied to x values during getX(int) calls. The yTransform is similarly applied during getY(int) calls.

      A null transform is treated as the identity function.

      Parameters:
      series - data
      xTransform - transform applied to x values
      yTransform - transform applied to y values
      isSnapshot - indicates if this is a snapshot
      Throws:
      com.fishlib.base.verify.RequirementFailure - series must not be null
  • Method Details

    • copy

      public TransformedXYDataSeries copy(AxesImpl axes)
      Description copied from interface: SeriesInternal
      Create a copy of the series on a different set of axes.
      Specified by:
      copy in interface DataSeriesInternal
      Specified by:
      copy in interface SeriesInternal
      Specified by:
      copy in interface XYDataSeriesInternal
      Specified by:
      copy in interface XYErrorBarDataSeriesInternal
      Parameters:
      axes - new axes.
      Returns:
      copy of the series on a different set of axes.
    • validate

      public void validate() throws PlotIllegalStateException
      Description copied from interface: ValidatingDataSeries
      Validate the data series.
      Specified by:
      validate in interface ValidatingDataSeries
      Throws:
      PlotIllegalStateException
    • chart

      public ChartImpl chart()
      Description copied from interface: DataSeriesInternal
      Gets the chart on which this data will be plotted.
      Specified by:
      chart in interface DataSeriesInternal
      Returns:
      chart on which this data will be plotted
    • size

      public int size()
      Description copied from interface: DataSeriesInternal
      Gets the size of this data set.
      Specified by:
      size in interface DataSeriesInternal
      Returns:
      size of this data set
    • getLineColor

      public Paint getLineColor()
      Description copied from interface: DataSeriesInternal
      Gets the line color.
      Specified by:
      getLineColor in interface DataSeriesInternal
      Returns:
      line color
    • getErrorBarColor

      public Paint getErrorBarColor()
      Description copied from interface: DataSeriesInternal
      Gets the color of the error bars.
      Specified by:
      getErrorBarColor in interface DataSeriesInternal
      Returns:
      error bar color
    • getSeriesColor

      public Paint getSeriesColor()
      Description copied from interface: DataSeriesInternal
      Gets the series color.
      Specified by:
      getSeriesColor in interface DataSeriesInternal
      Returns:
      series color
    • getLineStyle

      public LineStyle getLineStyle()
      Description copied from interface: DataSeriesInternal
      Gets the line style.
      Specified by:
      getLineStyle in interface DataSeriesInternal
      Returns:
      line style
    • getPointsVisible

      public Boolean getPointsVisible()
      Description copied from interface: DataSeriesInternal
      Gets whether points are visible.
      Specified by:
      getPointsVisible in interface DataSeriesInternal
      Returns:
      whether points are visible
    • getLinesVisible

      public Boolean getLinesVisible()
      Description copied from interface: DataSeriesInternal
      Gets whether lines are visible.
      Specified by:
      getLinesVisible in interface DataSeriesInternal
      Returns:
      whether lines are visible
    • getGradientVisible

      public boolean getGradientVisible()
      Description copied from interface: DataSeriesInternal
      Gets whether the bar gradient is visible.
      Specified by:
      getGradientVisible in interface DataSeriesInternal
      Returns:
      whether the bar gradient is visible
    • getX

      public double getX(int i)
      Description copied from interface: XYDataSeriesInternal
      Gets the x value of the data point at index i.
      Specified by:
      getX in interface XYDataSeriesInternal
      Parameters:
      i - index
      Returns:
      x value of this data point at index i
    • getY

      public double getY(int i)
      Description copied from interface: XYDataSeriesInternal
      Gets the y value of the data point at index i.
      Specified by:
      getY in interface XYDataSeriesInternal
      Parameters:
      i - index
      Returns:
      x value of this data point at index i
    • getStartX

      public double getStartX(int i)
      Specified by:
      getStartX in interface XYDataSeriesInternal
    • getEndX

      public double getEndX(int i)
      Specified by:
      getEndX in interface XYDataSeriesInternal
    • getStartY

      public double getStartY(int i)
      Specified by:
      getStartY in interface XYDataSeriesInternal
    • getEndY

      public double getEndY(int i)
      Specified by:
      getEndY in interface XYDataSeriesInternal
    • drawXError

      public boolean drawXError()
      Specified by:
      drawXError in interface XYDataSeriesInternal
    • drawYError

      public boolean drawYError()
      Specified by:
      drawYError in interface XYDataSeriesInternal
    • getPointSize

      public Double getPointSize(int i)
      Description copied from interface: XYDataSeriesInternal
      Gets the size of the data point at index i.
      Specified by:
      getPointSize in interface XYDataSeriesInternal
      Parameters:
      i - index
      Returns:
      size of this data point at index i
    • getPointColor

      public Paint getPointColor(int i)
      Description copied from interface: XYDataSeriesInternal
      Gets the color of the data point at index i.
      Specified by:
      getPointColor in interface XYDataSeriesInternal
      Parameters:
      i - index
      Returns:
      color of this data point at index i
    • getPointLabel

      public String getPointLabel(int i)
      Description copied from interface: XYDataSeriesInternal
      Gets the label of the data point at index i.
      Specified by:
      getPointLabel in interface XYDataSeriesInternal
      Parameters:
      i - index
      Returns:
      label of this data point at index i
    • getXRange

      public org.jfree.data.Range getXRange()
      Description copied from interface: XYDataSeriesInternal
      Gets the x range of this dataset. Should never return null.
      Specified by:
      getXRange in interface XYDataSeriesInternal
      Returns:
      x range of this dataset
    • getYRange

      public org.jfree.data.Range getYRange()
      Description copied from interface: XYDataSeriesInternal
      Gets the y range of this dataset. Should never return null.
      Specified by:
      getYRange in interface XYDataSeriesInternal
      Returns:
      y range of this dataset
    • getPointShape

      public Shape getPointShape(int i)
      Description copied from interface: XYDataSeriesInternal
      Gets the shape of the data point at index i.
      Specified by:
      getPointShape in interface XYDataSeriesInternal
      Parameters:
      i - index
      Returns:
      shape of this data point at index i
    • getPointLabelFormat

      public String getPointLabelFormat()
      Description copied from interface: DataSeriesInternal
      Gets the point label format.
      Specified by:
      getPointLabelFormat in interface DataSeriesInternal
      Returns:
      point label format
    • getXToolTipPattern

      public String getXToolTipPattern()
      Description copied from interface: DataSeriesInternal
      Gets the tooltip format for x-values.
      Specified by:
      getXToolTipPattern in interface DataSeriesInternal
      Returns:
      x-value tooltip format
    • getYToolTipPattern

      public String getYToolTipPattern()
      Description copied from interface: DataSeriesInternal
      Gets the tooltip format for y-values.
      Specified by:
      getYToolTipPattern in interface DataSeriesInternal
      Returns:
      y-value tooltip format
    • createSnapshot

      public TransformedXYDataSeries createSnapshot()
      Description copied from interface: DataSeriesInternal
      Returns a snapshot of this dataset which will not update.
      Specified by:
      createSnapshot in interface DataSeriesInternal
      Specified by:
      createSnapshot in interface XYDataSeriesInternal
    • sort

      public void sort(DoubleIntegerConsumer onAdd, DoubleIntegerConsumer onRemove, DoubleIntegerConsumer onModify)
      Specified by:
      sort in interface XYDataSeriesInternal
    • linesVisible

      public TransformedXYDataSeries linesVisible(Boolean visible)
      Description copied from interface: DataSeries
      Sets whether lines are visible.
      Specified by:
      linesVisible in interface DataSeries
      Parameters:
      visible - line visibility
      Returns:
      this data series.
    • pointsVisible

      public TransformedXYDataSeries pointsVisible(Boolean visible)
      Description copied from interface: DataSeries
      Sets whether points are visible.
      Specified by:
      pointsVisible in interface DataSeries
      Parameters:
      visible - point visibility
      Returns:
      this data series.
    • gradientVisible

      public TransformedXYDataSeries gradientVisible(boolean visible)
      Description copied from interface: DataSeries
      Sets whether bar gradients are visible.
      Specified by:
      gradientVisible in interface DataSeries
      Parameters:
      visible - bar gradient visibility
      Returns:
      this data series.
    • lineColor

      public TransformedXYDataSeries lineColor(Paint color)
      Description copied from interface: DataSeries
      Defines the default line color.
      Specified by:
      lineColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this data series.
    • lineColor

      public TransformedXYDataSeries lineColor(int color)
      Description copied from interface: DataSeries
      Defines the default line color.
      Specified by:
      lineColor in interface DataSeries
      Parameters:
      color - color palette index
      Returns:
      this data series.
    • lineColor

      public TransformedXYDataSeries lineColor(String color)
      Description copied from interface: DataSeries
      Defines the default line color.
      Specified by:
      lineColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this data series.
    • errorBarColor

      public TransformedXYDataSeries errorBarColor(Paint color)
      Description copied from interface: DataSeries
      Sets the error bar Paint for this dataset.
      Specified by:
      errorBarColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this DataSeries
    • errorBarColor

      public TransformedXYDataSeries errorBarColor(int color)
      Description copied from interface: DataSeries
      Sets the error bar Paint for this dataset.
      Specified by:
      errorBarColor in interface DataSeries
      Parameters:
      color - index of the color in the series color palette
      Returns:
      this DataSeries
    • errorBarColor

      public TransformedXYDataSeries errorBarColor(String color)
      Description copied from interface: DataSeries
      Sets the error bar Paint for this dataset.
      Specified by:
      errorBarColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this DataSeries
    • lineStyle

      public TransformedXYDataSeries lineStyle(LineStyle style)
      Description copied from interface: DataSeries
      Sets the line style.
      Specified by:
      lineStyle in interface DataSeries
      Parameters:
      style - style
      Returns:
      this data series.
    • pointSize

      public TransformedXYDataSeries pointSize(int factor)
      Description copied from interface: DataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      factor - point size
      Returns:
      this data series.
    • pointSize

      public TransformedXYDataSeries pointSize(long factor)
      Description copied from interface: DataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      factor - point size
      Returns:
      this data series.
    • pointSize

      public TransformedXYDataSeries pointSize(double factor)
      Description copied from interface: DataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      factor - point size
      Returns:
      this data series.
    • pointSize

      public TransformedXYDataSeries pointSize(Number factor)
      Description copied from interface: DataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      factor - point size
      Returns:
      this data series.
    • pointSize

      public TransformedXYDataSeries pointSize(IndexableData<Double> factors)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      public TransformedXYDataSeries pointSize(int... factors)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      public TransformedXYDataSeries pointSize(long... factors)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      public TransformedXYDataSeries pointSize(double... factors)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      public <T extends Number> TransformedXYDataSeries pointSize(T[] factors)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Type Parameters:
      T - data type of the factors
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      public TransformedXYDataSeries pointSize(Table t, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Parameters:
      t - table containing factors to multiply the default size (1) by
      columnName - column in t containing size scaling factors. The size data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointSize

      public TransformedXYDataSeries pointSize(SelectableDataSet sds, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Specified by:
      pointSize in interface XYDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table) containing factors to multiply the default size (1) by
      columnName - column in sds containing size scaling factors. The size data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(Paint color)
      Description copied from interface: DataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this data series.
    • pointColor

      public TransformedXYDataSeries pointColor(int color)
      Description copied from interface: DataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this data series.
    • pointColor

      public TransformedXYDataSeries pointColor(String color)
      Description copied from interface: DataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this data series.
    • pointColor

      public <T extends Paint> TransformedXYDataSeries pointColor(IndexableData<T> colors)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Type Parameters:
      T - data type of the colors
      Parameters:
      colors - colors. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(Paint... colors)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Parameters:
      colors - colors. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColorInteger

      public TransformedXYDataSeries pointColorInteger(IndexableData<Integer> colors)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColorInteger in interface XYDataSeries
      Parameters:
      colors - colors. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(int... colors)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Parameters:
      colors - color palette indices. The color for data point i comes from index i. A value of 3 corresponds to the 3rd color from the color pallette.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(Integer... colors)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Parameters:
      colors - color palette indices. The color for data point i comes from index i. A value of 3 corresponds to the 3rd color from the color pallette.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(String... colors)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Parameters:
      colors - color names. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(Table t, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Parameters:
      t - table containing colors
      columnName - column in t containing colors. The color data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointColor

      public TransformedXYDataSeries pointColor(SelectableDataSet sds, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface XYDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table) containing colors
      columnName - column in sds containing colors. The color data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointColorByY

      public <T extends Paint> TransformedXYDataSeries pointColorByY(Function<Double,T> colors)
      Description copied from interface: DataSeries
      Sets the point color for a data point based upon the y-value.
      Specified by:
      pointColorByY in interface DataSeries
      Parameters:
      colors - function from the y-value of data points to Paint
      Returns:
      this DataSeries
    • pointColorByY

      public <T extends Paint> TransformedXYDataSeries pointColorByY(groovy.lang.Closure<T> colors)
      Description copied from interface: DataSeries
      Sets the point color for a data point based upon the y-value.
      Specified by:
      pointColorByY in interface DataSeries
      Parameters:
      colors - function from the y-value of data points to Paint
      Returns:
      this DataSeries
    • pointLabel

      public TransformedXYDataSeries pointLabel(Object label)
      Description copied from interface: DataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Specified by:
      pointLabel in interface DataSeries
      Parameters:
      label - label
      Returns:
      this XYDataSeries
    • pointLabel

      public TransformedXYDataSeries pointLabel(IndexableData<?> labels)
      Description copied from interface: XYDataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Specified by:
      pointLabel in interface XYDataSeries
      Parameters:
      labels - labels
      Returns:
      this XYDataSeries
    • pointLabel

      public TransformedXYDataSeries pointLabel(Object... labels)
      Description copied from interface: XYDataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Specified by:
      pointLabel in interface XYDataSeries
      Parameters:
      labels - labels
      Returns:
      this XYDataSeries
    • pointLabel

      public TransformedXYDataSeries pointLabel(Table t, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Specified by:
      pointLabel in interface XYDataSeries
      Parameters:
      t - table containing labels
      columnName - column in t containing labels. The label data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointLabel

      public TransformedXYDataSeries pointLabel(SelectableDataSet sds, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Specified by:
      pointLabel in interface XYDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table) containing labels
      columnName - column in sds containing labels. The color data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointShape

      public TransformedXYDataSeries pointShape(String shape)
      Description copied from interface: DataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface DataSeries
      Parameters:
      shape - shape
      Returns:
      this DataSeries
    • pointShape

      public TransformedXYDataSeries pointShape(Shape shape)
      Description copied from interface: DataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface DataSeries
      Parameters:
      shape - shape
      Returns:
      this DataSeries
    • pointShape

      public TransformedXYDataSeries pointShape(IndexableData<String> shapes)
      Description copied from interface: XYDataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface XYDataSeries
      Parameters:
      shapes - shapes
      Returns:
      this XYDataSeries
    • pointShape

      public TransformedXYDataSeries pointShape(String... shapes)
      Description copied from interface: XYDataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface XYDataSeries
      Parameters:
      shapes - shapes
      Returns:
      this XYDataSeries
    • pointShape

      public XYDataSeries pointShape(Shape... shapes)
      Description copied from interface: XYDataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface XYDataSeries
      Parameters:
      shapes - shapes
      Returns:
      this XYDataSeries
    • pointShape

      public TransformedXYDataSeries pointShape(Table t, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface XYDataSeries
      Parameters:
      t - table containing shapes
      columnName - column in t containing shapes. The shape data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointShape

      public TransformedXYDataSeries pointShape(SelectableDataSet sds, String columnName)
      Description copied from interface: XYDataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface XYDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table) containing shapes
      columnName - column in sds containing shapes. The color data for point i comes from row i.
      Returns:
      this XYDataSeries
    • pointLabelFormat

      public TransformedXYDataSeries pointLabelFormat(String format)
      Description copied from interface: DataSeries
      Sets the point label format.

      Use {0} where the data series name should be inserted, {1} for the x-value and {2} y-value e.g. "{0}: ({1}, {2})" will display as Series1: (2.0, 5.5).

      Specified by:
      pointLabelFormat in interface DataSeries
      Parameters:
      format - format
      Returns:
      this data series.
    • xToolTipPattern

      public TransformedXYDataSeries xToolTipPattern(String format)
      Description copied from interface: DataSeries
      Sets the x-value tooltip format.
      Specified by:
      xToolTipPattern in interface DataSeries
      Parameters:
      format - format
      Returns:
      this data series.
    • yToolTipPattern

      public TransformedXYDataSeries yToolTipPattern(String format)
      Description copied from interface: DataSeries
      Sets the y-value tooltip format.
      Specified by:
      yToolTipPattern in interface DataSeries
      Parameters:
      format - format
      Returns:
      this data series.
    • onClose

      public void onClose()
      Description copied from interface: SeriesInternal
      Series shut down after the plot is closed.
      Specified by:
      onClose in interface SeriesInternal