Class AbstractTableBasedCategoryDataSeries
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.category.AbstractCategoryDataSeries
io.deephaven.plot.datasets.category.AbstractTableBasedCategoryDataSeries
- All Implemented Interfaces:
CategoryDataSeries
,CategoryDataSeriesInternal
,DataSeries
,DataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,Serializable
- Direct Known Subclasses:
CategoryDataSeriesPartitionedTable
,CategoryErrorBarDataSeriesPartitionedTable
,CategoryTreemapDataSeriesTableMap
- See Also:
-
Field Summary
Fields inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeries
CAT_SERIES_ORDER_COLUMN
-
Constructor Summary
ConstructorDescriptionAbstractTableBasedCategoryDataSeries
(AxesImpl axes, int id, Comparable name) AbstractTableBasedCategoryDataSeries
(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
Method Summary
Modifier and TypeMethodDescriptionprotected <S,
T> Table constructTableFromFunction
(Table t, Function<S, T> function, Class resultClass, String onColumn, String columnName) protected abstract String
protected abstract Table
getTable()
protected abstract String
<COLOR extends Paint>
CategoryDataSeriespointColor
(Function<Comparable, COLOR> pointColor) Sets the point color.<COLOR extends Integer>
CategoryDataSeriespointColorInteger
(Function<Comparable, COLOR> colors) Sets the point color.<LABEL> CategoryDataSeries
pointLabel
(Function<Comparable, LABEL> pointLabels) Sets the point label for data point i from index i of the input labels.pointShape
(Function<Comparable, String> pointShapes) Sets the point shapes for data point i from index i of the input labels.<NUMBER extends Number>
CategoryDataSeriespointSize
(Function<Comparable, NUMBER> pointSizes) Sets the point size.Methods inherited from class io.deephaven.plot.datasets.category.AbstractCategoryDataSeries
colorsSetSpecific, errorBarColor, errorBarColor, errorBarColor, getColor, getGroup, getLabel, getLabel, getPiePercentLabelFormat, getPointShape, getPointShape, getPointSize, getPointSize, getSeriesColor, gradientVisible, group, labelsSetSpecific, lineColor, lineColor, lineColor, lineStyle, linesVisible, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabelFormat, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, setPiePercentLabelFormat, shapesSetSpecific, sizesSetSpecific, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from class io.deephaven.plot.datasets.AbstractDataSeries
chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, setErrorBarColor, setErrorBarColor, setErrorBarColor, setGradientVisible, setLineColor, setLineColor, setLineColor, setLineStyle, setLinesVisible, setPointLabelFormat, setPointsVisible, setXToolTipPattern, setYToolTipPattern
Methods inherited from class io.deephaven.plot.AbstractSeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, axes, getPartitionedTableHandles, getSwappableTables, getTableHandles, id, name, removeTableHandle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeries
pointColor, pointColorInteger, pointLabel, pointShape, pointSize
Methods inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeriesInternal
categories, copy, drawYError, getCategoryLocation, getEndY, getStartY, getValue
Methods inherited from interface io.deephaven.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, id, name, size
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Constructor Details
-
AbstractTableBasedCategoryDataSeries
-
AbstractTableBasedCategoryDataSeries
public AbstractTableBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
AbstractTableBasedCategoryDataSeries
-
-
Method Details
-
pointShape
Description copied from interface:CategoryDataSeries
Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Parameters:
pointShapes
- function used to determine point shapes- Returns:
- this CategoryDataSeries
-
pointSize
Description copied from interface:CategoryDataSeries
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:
NUMBER
- data type of the point sizes- Parameters:
pointSizes
- function used to set sizes of data points- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Type Parameters:
COLOR
- type of color for the points- Parameters:
pointColor
- function from data points to theirPaint
s- Returns:
- this CategoryDataSeries
-
pointColorInteger
public <COLOR extends Integer> CategoryDataSeries pointColorInteger(Function<Comparable, COLOR> colors) Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Type Parameters:
COLOR
- type of color for the points- Parameters:
colors
- function from data points to the index of the color palette- Returns:
- this CategoryDataSeries
-
pointLabel
Description copied from interface:CategoryDataSeries
Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Type Parameters:
LABEL
- data type of the point labels- Parameters:
pointLabels
- function used to determine point labels- Returns:
- this CategoryDataSeries
-
constructTableFromFunction
-
getTable
-
getCategoryCol
-
getValueCol
-