Package io.deephaven.plot.datasets
Interface DataSeries
- All Superinterfaces:
Serializable
,Series
- All Known Subinterfaces:
CategoryDataSeries
,CategoryDataSeriesInternal
,CategoryErrorBarDataSeries
,CategoryErrorBarDataSeriesInternal
,CategorySwappableTableDataSeriesInternal
,CategoryTableDataSeriesInternal
,DataSeriesInternal
,Figure
,IntervalXYDataSeries
,IntervalXYDataSeriesInternal
,OHLCDataSeries
,OHLCDataSeriesInternal
,XYDataSeries
,XYDataSeriesFunction
,XYDataSeriesFunctionInternal
,XYDataSeriesInternal
,XYErrorBarDataSeries
,XYErrorBarDataSeriesInternal
- All Known Implementing Classes:
AbstractCategoryDataSeries
,AbstractDataSeries
,AbstractMapBasedCategoryDataSeries
,AbstractSwappableTableBasedCategoryDataSeries
,AbstractTableBasedCategoryDataSeries
,AbstractXYDataSeries
,CategoryDataSeriesMap
,CategoryDataSeriesPartitionedTable
,CategoryDataSeriesSwappablePartitionedTable
,CategoryErrorBarDataSeriesMap
,CategoryErrorBarDataSeriesPartitionedTable
,CategoryErrorBarDataSeriesSwappablePartitionedTable
,CategoryTreemapDataSeriesTableMap
,FigureImpl
,FigureWidget
,IntervalXYDataSeriesArray
,OHLCDataSeriesArray
,OHLCDataSeriesSwappableTableArray
,OHLCDataSeriesTableArray
,ScatterPlotMatrix
,XYDataSeriesArray
,XYDataSeriesFunctionImpl
,XYDataSeriesSwappableTableArray
,XYDataSeriesTableArray
,XYErrorBarDataSeriesArray
,XYErrorBarDataSeriesSwappableTableArray
,XYErrorBarDataSeriesTableArray
A generic data series.
-
Method Summary
Modifier and TypeMethodDescriptionerrorBarColor
(int errorBarColor) Sets the error barPaint
for this dataset.errorBarColor
(Paint errorBarColor) Sets the error barPaint
for this dataset.errorBarColor
(String errorBarColor) Sets the error barPaint
for this dataset.gradientVisible
(boolean gradientVisible) Sets whether bar gradients are visible.lineColor
(int color) Defines the default line color.Defines the default line color.Defines the default line color.Sets the line style.linesVisible
(Boolean visible) Sets whether lines are visible.pointColor
(int pointColor) Sets the point color.pointColor
(Paint pointColor) Sets the point color.pointColor
(String pointColor) Sets the point color.pointLabel
(Object pointLabel) Sets the point label for data point i from index i of the input labels.pointLabelFormat
(String pointLabelFormat) Sets the point label format.pointShape
(Shape pointShape) Sets the point shapes for data point i from index i of the input labels.pointShape
(String pointShape) Sets the point shapes for data point i from index i of the input labels.pointSize
(double pointSize) Sets the point size.pointSize
(int pointSize) Sets the point size.pointSize
(long pointSize) Sets the point size.Sets the point size.pointsVisible
(Boolean visible) Sets whether points are visible.default DataSeries
seriesColor
(int color) Defines the default line and point color.default DataSeries
seriesColor
(Paint color) Defines the default line and point color.default DataSeries
seriesColor
(String color) Defines the default line and point color.default DataSeries
toolTipPattern
(String toolTipPattern) Sets the tooltip format.xToolTipPattern
(String xToolTipPattern) Sets the x-value tooltip format.yToolTipPattern
(String yToolTipPattern) Sets the y-value tooltip format.
-
Method Details
-
linesVisible
Sets whether lines are visible.- Parameters:
visible
- line visibility- Returns:
- this data series.
-
pointsVisible
Sets whether points are visible.- Parameters:
visible
- point visibility- Returns:
- this data series.
-
gradientVisible
Sets whether bar gradients are visible.- Parameters:
gradientVisible
- bar gradient visibility- Returns:
- this data series.
-
pointSize
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:
pointSize
- point size- Returns:
- this data series.
-
pointSize
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:
pointSize
- point size- Returns:
- this data series.
-
pointSize
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:
pointSize
- point size- Returns:
- this data series.
-
pointSize
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:
pointSize
- point size- Returns:
- this data series.
-
seriesColor
Defines the default line and point color.- Parameters:
color
- color- Returns:
- this data series.
-
seriesColor
Defines the default line and point color.- Parameters:
color
- color- Returns:
- this data series.
-
seriesColor
Defines the default line and point color.- Parameters:
color
- color- Returns:
- this data series.
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
pointColor
- color- Returns:
- this data series.
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
pointColor
- color- Returns:
- this data series.
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
pointColor
- color- Returns:
- this data series.
-
errorBarColor
Sets the error barPaint
for this dataset.- Parameters:
errorBarColor
- color- Returns:
- this DataSeries
-
errorBarColor
Sets the error barPaint
for this dataset.- Parameters:
errorBarColor
- index of the color in the series color palette- Returns:
- this DataSeries
-
errorBarColor
Sets the error barPaint
for this dataset.- Parameters:
errorBarColor
- color- Returns:
- this DataSeries
-
pointLabel
Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Parameters:
pointLabel
- label- Returns:
- this XYDataSeries
-
pointShape
Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Parameters:
pointShape
- shape- Returns:
- this DataSeries
-
pointShape
Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Parameters:
pointShape
- shape- Returns:
- this DataSeries
-
lineColor
Defines the default line color.- Parameters:
color
- color- Returns:
- this data series.
-
lineColor
Defines the default line color.- Parameters:
color
- color palette index- Returns:
- this data series.
-
lineColor
Defines the default line color.- Parameters:
color
- color- Returns:
- this data series.
-
lineStyle
Sets the line style.- Parameters:
lineStyle
- style- Returns:
- this data series.
-
pointLabelFormat
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).
- Parameters:
pointLabelFormat
- format- Returns:
- this data series.
-
toolTipPattern
Sets the tooltip format.- Parameters:
toolTipPattern
- format- Returns:
- this data series.
-
xToolTipPattern
Sets the x-value tooltip format.- Parameters:
xToolTipPattern
- format- Returns:
- this data series.
-
yToolTipPattern
Sets the y-value tooltip format.- Parameters:
yToolTipPattern
- format- Returns:
- this data series.
-