Interface XYDataSeries

All Superinterfaces:
DataSeries, Serializable, Series
All Known Subinterfaces:
Figure, IntervalXYDataSeries, IntervalXYDataSeriesInternal, OHLCDataSeries, OHLCDataSeriesInternal, XYDataSeriesFunction, XYDataSeriesFunctionInternal, XYDataSeriesInternal, XYErrorBarDataSeries, XYErrorBarDataSeriesInternal
All Known Implementing Classes:
AbstractXYDataSeries, FigureImpl, FigureWidget, IntervalXYDataSeriesArray, OHLCDataSeriesArray, OHLCDataSeriesSwappableTableArray, OHLCDataSeriesTableArray, ScatterPlotMatrix, TransformedIntervalXYDataSeries, TransformedIntervalXYDataSeries.TransformedIntervalXYDataSeriesSnapshot, TransformedOHLCDataSeries, TransformedOHLCDataSeries.TransformedOHLCDataSeriesSnapshot, TransformedXYDataSeries, TransformedXYDataSeries.TransformedXYDataSeriesSnapshot, XYDataSeriesArray, XYDataSeriesFunctionImpl, XYDataSeriesSwappableTableArray, XYDataSeriesTableArray, XYErrorBarDataSeriesArray, XYErrorBarDataSeriesSwappableTableArray, XYErrorBarDataSeriesTableArray

public interface XYDataSeries
extends DataSeries
DataSeries with two numerical components, x and y. Data points are numbered and are accessed with an index.
  • Method Details

    • pointSize

      XYDataSeries pointSize​(IndexableData<Double> factors)
      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.
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      XYDataSeries pointSize​(int... factors)
      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.
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      XYDataSeries pointSize​(long... factors)
      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.
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      XYDataSeries pointSize​(double... factors)
      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.
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      <T extends Number> XYDataSeries pointSize​(T[] factors)
      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.
      Type Parameters:
      T - data type of the factors
      Parameters:
      factors - factors to multiply the default size (1) by
      Returns:
      this XYDataSeries
    • pointSize

      XYDataSeries pointSize​(Table t, String columnName)
      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.
      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

      XYDataSeries pointSize​(SelectableDataSet sds, String columnName)
      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.
      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

      <T extends Paint> XYDataSeries pointColor​(IndexableData<T> colors)
      Sets the point color. Unspecified points use the default color.
      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

      XYDataSeries pointColor​(Paint... colors)
      Sets the point color. Unspecified points use the default color.
      Parameters:
      colors - colors. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColorInteger

      XYDataSeries pointColorInteger​(IndexableData<Integer> colors)
      Sets the point color. Unspecified points use the default color.
      Parameters:
      colors - colors. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColor

      XYDataSeries pointColor​(int... colors)
      Sets the point color. Unspecified points use the default color.
      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

      XYDataSeries pointColor​(Integer... colors)
      Sets the point color. Unspecified points use the default color.
      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

      XYDataSeries pointColor​(String... colors)
      Sets the point color. Unspecified points use the default color.
      Parameters:
      colors - color names. The color for data point i comes from index i.
      Returns:
      this XYDataSeries
    • pointColor

      XYDataSeries pointColor​(Table t, String columnName)
      Sets the point color. Unspecified points use the default color.
      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

      XYDataSeries pointColor​(SelectableDataSet sds, String columnName)
      Sets the point color. Unspecified points use the default color.
      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
    • pointLabel

      XYDataSeries pointLabel​(IndexableData<?> labels)
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Parameters:
      labels - labels
      Returns:
      this XYDataSeries
    • pointLabel

      XYDataSeries pointLabel​(Object... labels)
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Parameters:
      labels - labels
      Returns:
      this XYDataSeries
    • pointLabel

      XYDataSeries pointLabel​(Table t, String columnName)
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      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

      XYDataSeries pointLabel​(SelectableDataSet sds, String columnName)
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      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

      XYDataSeries pointShape​(IndexableData<String> shapes)
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Parameters:
      shapes - shapes
      Returns:
      this XYDataSeries
    • pointShape

      XYDataSeries pointShape​(String... shapes)
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Parameters:
      shapes - shapes
      Returns:
      this XYDataSeries
    • pointShape

      XYDataSeries pointShape​(Shape... shapes)
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Parameters:
      shapes - shapes
      Returns:
      this XYDataSeries
    • pointShape

      XYDataSeries pointShape​(Table t, String columnName)
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      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

      XYDataSeries pointShape​(SelectableDataSet sds, String columnName)
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      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