Interface CategoryDataSeries
- All Superinterfaces:
DataSeries
,Serializable
,Series
- All Known Subinterfaces:
CategoryDataSeriesInternal
,CategoryErrorBarDataSeries
,CategoryErrorBarDataSeriesInternal
,CategorySwappableTableDataSeriesInternal
,CategoryTableDataSeriesInternal
,Figure
- All Known Implementing Classes:
AbstractCategoryDataSeries
,AbstractMapBasedCategoryDataSeries
,AbstractSwappableTableBasedCategoryDataSeries
,AbstractTableBasedCategoryDataSeries
,CategoryDataSeriesMap
,CategoryDataSeriesPartitionedTable
,CategoryDataSeriesSwappablePartitionedTable
,CategoryErrorBarDataSeriesMap
,CategoryErrorBarDataSeriesPartitionedTable
,CategoryErrorBarDataSeriesSwappablePartitionedTable
,CategoryTreemapDataSeriesTableMap
,FigureImpl
,FigureWidget
,ScatterPlotMatrix
Dataset with discrete and numeric components. Discrete values must extend
Comparable
and are called
categories.-
Field Summary
-
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 the visibility of bar gradients for this dataset.group
(int group) Sets the group for this dataset.lineColor
(int color) Sets the default linePaint
for this dataset.Sets the default linePaint
for this dataset.Sets the default linePaint
for this dataset.Sets theLineStyle
for this datasetlinesVisible
(Boolean visible) Sets the visibility of the lines for this dataset.piePercentLabelFormat
(String pieLabelFormat) Sets the format of the percentage point label format in pie plots.pointColor
(int pointColor) Sets the point color.default <COLOR extends Paint>
CategoryDataSeriespointColor
(groovy.lang.Closure<COLOR> pointColor) Sets the point color.pointColor
(Table t, String category, String pointColor) Sets the point color.pointColor
(Paint pointColor) Sets the point color.pointColor
(SelectableDataSet sds, String category, String pointColor) Sets the point color.pointColor
(Comparable category, int pointColor) Sets the point color.pointColor
(Comparable category, Paint pointColor) Sets the point color.pointColor
(Comparable category, String pointColor) Sets the point color.pointColor
(String pointColor) Sets the point color.<COLOR extends Paint>
CategoryDataSeriespointColor
(Function<Comparable, COLOR> pointColor) Sets the point color.<CATEGORY extends Comparable,
COLOR extends Paint>
CategoryDataSeriespointColor
(Map<CATEGORY, COLOR> pointColor) Sets the point color.default <COLOR extends Integer>
CategoryDataSeriespointColorInteger
(groovy.lang.Closure<COLOR> colors) Sets the point color.<COLOR extends Integer>
CategoryDataSeriespointColorInteger
(Function<Comparable, COLOR> colors) Sets the point color.<CATEGORY extends Comparable,
COLOR extends Integer>
CategoryDataSeriespointColorInteger
(Map<CATEGORY, COLOR> colors) Sets the point color.default <LABEL> CategoryDataSeries
pointLabel
(groovy.lang.Closure<LABEL> pointLabels) Sets the point label for data point i from index i of the input labels.pointLabel
(Table t, String category, String pointLabel) Sets the point label for data point i from index i of the input labels.pointLabel
(SelectableDataSet sds, String category, String pointLabel) Sets the point label for data point i from index i of the input labels.pointLabel
(Comparable category, Object pointLabel) Sets the point label for data point i from index i of the input labels.<LABEL> CategoryDataSeries
pointLabel
(Function<Comparable, LABEL> pointLabels) Sets the point label for data point i from index i of the input labels.<CATEGORY extends Comparable,
LABEL>
CategoryDataSeriespointLabel
(Map<CATEGORY, LABEL> pointLabels) Sets the point label for data point i from index i of the input labels.default CategoryDataSeries
pointShape
(groovy.lang.Closure<String> pointShapes) Sets the point shapes for data point i from index i of the input labels.pointShape
(Table t, String category, String pointShape) Sets the point shapes for data point i from index i of the input labels.pointShape
(SelectableDataSet sds, String category, String pointShape) Sets the point shapes for data point i from index i of the input labels.pointShape
(Comparable category, Shape pointShape) Sets the point shapes for data point i from index i of the input labels.pointShape
(Comparable category, String pointShape) Sets the point shapes 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.<CATEGORY extends Comparable>
CategoryDataSeriespointShape
(Map<CATEGORY, String> pointShapes) Sets the point shapes for data point i from index i of the input labels.<CATEGORY extends Comparable>
CategoryDataSeriespointSize
(CATEGORY[] categories, double[] pointSizes) Sets the point size.<CATEGORY extends Comparable>
CategoryDataSeriespointSize
(CATEGORY[] categories, int[] pointSizes) Sets the point size.<CATEGORY extends Comparable>
CategoryDataSeriespointSize
(CATEGORY[] categories, long[] pointSizes) Sets the point size.<CATEGORY extends Comparable,
NUMBER extends Number>
CategoryDataSeriespointSize
(CATEGORY[] categories, NUMBER[] pointSizes) Sets the point size.default <NUMBER extends Number>
CategoryDataSeriespointSize
(groovy.lang.Closure<NUMBER> pointSizes) Sets the point size.Sets the point size.pointSize
(SelectableDataSet sds, String category, String pointSize) Sets the point size.pointSize
(Comparable category, double pointSize) Sets the point size.pointSize
(Comparable category, int pointSize) Sets the point size.pointSize
(Comparable category, long pointSize) Sets the point size.pointSize
(Comparable category, Number pointSize) Sets the point size.<NUMBER extends Number>
CategoryDataSeriespointSize
(Function<Comparable, NUMBER> pointSizes) Sets the point size.<CATEGORY extends Comparable,
NUMBER extends Number>
CategoryDataSeriesSets the point size.pointsVisible
(Boolean visible) Sets the visibility of the point shapes for this dataset.Methods inherited from interface io.deephaven.plot.datasets.DataSeries
pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
-
Field Details
-
CAT_SERIES_ORDER_COLUMN
- See Also:
-
-
Method Details
-
group
Sets the group for this dataset.- Returns:
- this data series.
-
linesVisible
Sets the visibility of the lines for this dataset.- Specified by:
linesVisible
in interfaceDataSeries
- Parameters:
visible
- whether to display lines or not- Returns:
- this CategoryDataSeries
-
pointsVisible
Sets the visibility of the point shapes for this dataset.- Specified by:
pointsVisible
in interfaceDataSeries
- Parameters:
visible
- whether to display point shapes or not- Returns:
- this CategoryDataSeries
-
gradientVisible
Sets the visibility of bar gradients for this dataset.- Specified by:
gradientVisible
in interfaceDataSeries
- Parameters:
gradientVisible
- whether to display bar gradients or not- Returns:
- this CategoryDataSeries
-
lineColor
Sets the default linePaint
for this dataset.- Specified by:
lineColor
in interfaceDataSeries
- Parameters:
color
- color- Returns:
- this CategoryDataSeries
-
lineColor
Sets the default linePaint
for this dataset.- Specified by:
lineColor
in interfaceDataSeries
- Parameters:
color
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
lineColor
Sets the default linePaint
for this dataset.- Specified by:
lineColor
in interfaceDataSeries
- Parameters:
color
- color- Returns:
- this CategoryDataSeries
-
errorBarColor
Sets the error barPaint
for this dataset.- Specified by:
errorBarColor
in interfaceDataSeries
- Parameters:
errorBarColor
- color- Returns:
- this CategoryDataSeries
-
errorBarColor
Sets the error barPaint
for this dataset.- Specified by:
errorBarColor
in interfaceDataSeries
- Parameters:
errorBarColor
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
errorBarColor
Sets the error barPaint
for this dataset.- Specified by:
errorBarColor
in interfaceDataSeries
- Parameters:
errorBarColor
- color- Returns:
- this CategoryDataSeries
-
lineStyle
Sets theLineStyle
for this dataset- Specified by:
lineStyle
in interfaceDataSeries
- Parameters:
lineStyle
- line style- Returns:
- this dat
-
pointColor
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceDataSeries
- Parameters:
pointColor
- default point color- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceDataSeries
- Parameters:
pointColor
- index of the color in the series color palette to use as the default color- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceDataSeries
- Parameters:
pointColor
- default point color- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
category
- data pointpointColor
- color- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
category
- data pointpointColor
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
category
- data pointpointColor
- color- Returns:
- this CategoryDataSeries
-
pointColor
<CATEGORY extends Comparable,COLOR extends Paint> CategoryDataSeries pointColor(Map<CATEGORY, COLOR> pointColor) Sets the point color. Unspecified points use the default color.- Type Parameters:
CATEGORY
- type of the categorical dataCOLOR
- type of color for the points- Parameters:
pointColor
- map from data points to theirPaint
s- Returns:
- this CategoryDataSeries
-
pointColor
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
-
pointColor
Sets the point color. Unspecified points use the default color.- Type Parameters:
COLOR
- type of input for the closure- Parameters:
pointColor
- closure from data points to theirPaint
s- Returns:
- this CategoryDataSeries
-
pointColorInteger
<CATEGORY extends Comparable,COLOR extends Integer> CategoryDataSeries pointColorInteger(Map<CATEGORY, COLOR> colors) Sets the point color. Unspecified points use the default color.- Type Parameters:
CATEGORY
- type of the categorical dataCOLOR
- type of color for the points- Parameters:
colors
- map from data points to the index of the color palette- Returns:
- this CategoryDataSeries
-
pointColorInteger
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
-
pointColorInteger
default <COLOR extends Integer> CategoryDataSeries pointColorInteger(groovy.lang.Closure<COLOR> colors) Sets the point color. Unspecified points use the default color.- Type Parameters:
COLOR
- type of color palette indices- Parameters:
colors
- closure from data points to the index of the color palette- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
t
- tablecategory
- column int
, specifying category valuespointColor
- column int
, specifyingPaint
s or ints/Integers representing color palette values.- Returns:
- this CategoryDataSeries
-
pointColor
Sets the point color. Unspecified points use the default color.- Parameters:
sds
- selectable data set (e.g. OneClick filterable table)category
- column insds
, specifying category valuespointColor
- column insds
, specifyingPaint
s or ints/Integers representing color palette values.- Returns:
- this CategoryDataSeries
-
pointLabel
Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Parameters:
category
- category valuepointLabel
- label- Returns:
- this CategoryDataSeries
-
pointLabel
Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Type Parameters:
CATEGORY
- type of the categorical dataLABEL
- data type of the point labels- Parameters:
pointLabels
- map used to determine point labels- Returns:
- this CategoryDataSeries
-
pointLabel
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
-
pointLabel
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
- closure used to determine point labels for input categories- Returns:
- this CategoryDataSeries
-
pointLabel
Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Parameters:
t
- tablecategory
- column int
, specifying category valuespointLabel
- column int
, specifying labels- Returns:
- this CategoryDataSeries
-
pointLabel
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)category
- column insds
, specifying category valuespointLabel
- column insds
, specifying labels- Returns:
- this CategoryDataSeries
-
piePercentLabelFormat
Sets the format of the percentage point label format in pie plots.- Parameters:
pieLabelFormat
- format- Returns:
- this data series.
-
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:
category
- category valuepointShape
- shape- Returns:
- this CategoryDataSeries
-
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:
category
- category valuepointShape
- shape- Returns:
- this CategoryDataSeries
-
pointShape
Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Type Parameters:
CATEGORY
- type of the categorical data- Parameters:
pointShapes
- map used to determine point shapes- Returns:
- this CategoryDataSeries
-
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:
pointShapes
- function used to determine point shapes- Returns:
- this CategoryDataSeries
-
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:
pointShapes
- closure used to determine point shapes- Returns:
- this CategoryDataSeries
-
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:
t
- tablecategory
- column int
, specifying category valuespointShape
- column int
, specifying shapes- Returns:
- this CategoryDataSeries
-
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:
sds
- selectable data set (e.g. OneClick filterable table)category
- column insds
, specifying category valuespointShape
- column insds
, specifying shapes- Returns:
- this CategoryDataSeries
-
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:
category
- data pointpointSize
- factor to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
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:
category
- data pointpointSize
- factor to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
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:
category
- data pointpointSize
- factor to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
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:
category
- data pointpointSize
- factor to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
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.- Type Parameters:
CATEGORY
- type of the categorical data- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
<CATEGORY extends Comparable> CategoryDataSeries pointSize(CATEGORY[] categories, double[] pointSizes) 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:
CATEGORY
- type of the categorical data- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
<CATEGORY extends Comparable> CategoryDataSeries pointSize(CATEGORY[] categories, long[] pointSizes) 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:
CATEGORY
- type of the categorical data- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
<CATEGORY extends Comparable,NUMBER extends Number> CategoryDataSeries pointSize(CATEGORY[] categories, NUMBER[] pointSizes) 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:
CATEGORY
- type of the categorical dataNUMBER
- data type of the point sizes- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
<CATEGORY extends Comparable,NUMBER extends Number> CategoryDataSeries pointSize(Map<CATEGORY, NUMBER> pointSizes) 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:
CATEGORY
- type of the categorical dataNUMBER
- data type of the point sizes- Parameters:
pointSizes
- map used to set sizes of specific data points- Returns:
- this CategoryDataSeries
-
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.- Type Parameters:
NUMBER
- data type of the point sizes- Parameters:
pointSizes
- function used to set sizes of data points- Returns:
- this CategoryDataSeries
-
pointSize
default <NUMBER extends Number> CategoryDataSeries pointSize(groovy.lang.Closure<NUMBER> pointSizes) 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
- closure used to set sizes of data points- Returns:
- this CategoryDataSeries
-
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:
t
- tablecategory
- column int
, specifying category valuespointSize
- column int
, specifying point sizes- Returns:
- this CategoryDataSeries
-
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:
sds
- selectable data set (e.g. OneClick filterable table)category
- column insds
, specifying category valuespointSize
- column insds
, specifying point sizes- Returns:
- this CategoryDataSeries
-