Class AbstractMapBasedCategoryDataSeries
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.category.AbstractCategoryDataSeries
io.deephaven.plot.datasets.category.AbstractMapBasedCategoryDataSeries
- All Implemented Interfaces:
CategoryDataSeries
,CategoryDataSeriesInternal
,DataSeries
,DataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,Serializable
- Direct Known Subclasses:
CategoryDataSeriesMap
,CategoryErrorBarDataSeriesMap
- See Also:
-
Field Summary
Fields inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeries
CAT_SERIES_ORDER_COLUMN
-
Constructor Summary
ConstructorDescriptionAbstractMapBasedCategoryDataSeries
(AxesImpl axes, int id, Comparable name) AbstractMapBasedCategoryDataSeries
(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
Method Summary
Modifier and TypeMethodDescription<COLOR extends Paint>
AbstractCategoryDataSeriespointColor
(Function<Comparable, COLOR> pointColor) Sets the point color.<COLOR extends Integer>
AbstractCategoryDataSeriespointColorInteger
(Function<Comparable, COLOR> colors) Sets the point color.<LABEL> AbstractCategoryDataSeries
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>
AbstractCategoryDataSeriespointSize
(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
-
AbstractMapBasedCategoryDataSeries
-
AbstractMapBasedCategoryDataSeries
public AbstractMapBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
AbstractMapBasedCategoryDataSeries
-
-
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
public <NUMBER extends Number> AbstractCategoryDataSeries pointSize(Function<Comparable, NUMBER> pointSizes) 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
public <COLOR extends Paint> AbstractCategoryDataSeries pointColor(Function<Comparable, COLOR> 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> AbstractCategoryDataSeries 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
-