Class AbstractCategoryDataSeries
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.category.AbstractCategoryDataSeries
- All Implemented Interfaces:
CategoryDataSeries
,CategoryDataSeriesInternal
,DataSeries
,DataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,Serializable
- Direct Known Subclasses:
AbstractMapBasedCategoryDataSeries
,AbstractSwappableTableBasedCategoryDataSeries
,AbstractTableBasedCategoryDataSeries
public abstract class AbstractCategoryDataSeries
extends AbstractDataSeries
implements CategoryDataSeriesInternal
Common class for
CategoryDataSeriesInternal
.
Please note that any method which uses a SwappableTable
must call a lastBy()!
- See Also:
-
Field Summary
Fields inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeries
CAT_SERIES_ORDER_COLUMN
-
Constructor Summary
ModifierConstructorDescriptionAbstractCategoryDataSeries
(AxesImpl axes, int id, Comparable name) AbstractCategoryDataSeries
(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) Creates an AbstractCategoryDataSeries instance.protected
AbstractCategoryDataSeries
(AbstractCategoryDataSeries series, AxesImpl axes) Creates a copy of a series using a different Axes. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
errorBarColor
(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.getColor
(Comparable category) Gets thePaint
for the given data point.int
getGroup()
Gets the group for this dataset.getLabel()
Gets the default point label for data points.getLabel
(Comparable category) Gets the point label for the given data point.Gets the pie plot percent label format.Gets the default point shape for data points.getPointShape
(Comparable category) Gets the point shape for the given data point.Gets the default point size for data points.getPointSize
(Comparable category) Gets the point size for the given data point.Gets the series color.gradientVisible
(boolean gradientVisible) Sets the visibility of bar gradients for this dataset.group
(int group) Sets the group for this dataset.protected void
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.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 color) Sets the point color.pointColor
(Comparable category, String pointColor) Sets the point color.pointColor
(String pointColor) Sets the point color.<CATEGORY extends Comparable,
COLOR extends Paint>
AbstractCategoryDataSeriespointColor
(Map<CATEGORY, COLOR> pointColor) Sets the point color.<CATEGORY extends Comparable,
COLOR extends Integer>
AbstractCategoryDataSeriespointColorInteger
(Map<CATEGORY, COLOR> colors) Sets the point color.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.pointLabel
(Object pointLabel) Sets the point label for data point i from index i of the input labels.<CATEGORY extends Comparable,
LABEL>
AbstractCategoryDataSeriespointLabel
(Map<CATEGORY, LABEL> pointLabels) Sets the point label for data point i from index i of the input labels.pointLabelFormat
(String pointLabelFormat) Sets the point label format.pointShape
(Table t, String category, String pointShape) Sets the point shapes for data point i from index i of the input labels.pointShape
(Shape 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
(String pointShape) 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.pointSize
(double pointSize) Sets the point size.pointSize
(int pointSize) Sets the point size.pointSize
(long pointSize) Sets the point size.<CATEGORY extends Comparable>
AbstractCategoryDataSeriespointSize
(CATEGORY[] categories, double[] pointSizes) Sets the point size.<CATEGORY extends Comparable>
AbstractCategoryDataSeriespointSize
(CATEGORY[] categories, int[] pointSizes) Sets the point size.<CATEGORY extends Comparable>
AbstractCategoryDataSeriespointSize
(CATEGORY[] categories, long[] pointSizes) Sets the point size.<CATEGORY extends Comparable,
NUMBER extends Number>
AbstractCategoryDataSeriespointSize
(CATEGORY[] categories, 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.Sets the point size.<CATEGORY extends Comparable,
NUMBER extends Number>
AbstractCategoryDataSeriesSets the point size.pointsVisible
(Boolean visible) Sets the visibility of the point shapes for this dataset.seriesColor
(int color) Sets the defaultPaint
for this dataset.seriesColor
(Paint color) Sets the defaultPaint
for this dataset.seriesColor
(String color) Sets the defaultPaint
for this dataset.protected void
setPiePercentLabelFormat
(String format) Sets the pie percent label format for this dataset.protected void
protected void
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.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, pointColor, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointShape, pointShape, pointSize, 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
-
AbstractCategoryDataSeries
-
AbstractCategoryDataSeries
public AbstractCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) Creates an AbstractCategoryDataSeries instance.- Parameters:
axes
- axes on which this series will be plottedid
- data series idname
- series nameseries
- series to copy
-
AbstractCategoryDataSeries
Creates a copy of a series using a different Axes.- Parameters:
series
- series to copy.axes
- new axes to use.
-
-
Method Details
-
colorsSetSpecific
-
labelsSetSpecific
-
sizesSetSpecific
-
shapesSetSpecific
-
getColor
Description copied from interface:CategoryDataSeriesInternal
Gets thePaint
for the given data point.- Specified by:
getColor
in interfaceCategoryDataSeriesInternal
- Parameters:
category
- category- Returns:
Paint
for the given data point
-
getPointSize
Description copied from interface:CategoryDataSeriesInternal
Gets the default point size for data points.- Specified by:
getPointSize
in interfaceCategoryDataSeriesInternal
- Returns:
- default point size for the given data point
-
getPointSize
Description copied from interface:CategoryDataSeriesInternal
Gets the point size for the given data point.- Specified by:
getPointSize
in interfaceCategoryDataSeriesInternal
- Parameters:
category
- category- Returns:
- point size for the given data point
-
getSeriesColor
Description copied from interface:DataSeriesInternal
Gets the series color.- Specified by:
getSeriesColor
in interfaceDataSeriesInternal
- Returns:
- series color
-
getLabel
Description copied from interface:CategoryDataSeriesInternal
Gets the default point label for data points.- Specified by:
getLabel
in interfaceCategoryDataSeriesInternal
- Returns:
- default point label for the given data point
-
getLabel
Description copied from interface:CategoryDataSeriesInternal
Gets the point label for the given data point.- Specified by:
getLabel
in interfaceCategoryDataSeriesInternal
- Parameters:
category
- category- Returns:
- point label for the given data point
-
getPointShape
Description copied from interface:CategoryDataSeriesInternal
Gets the default point shape for data points.- Specified by:
getPointShape
in interfaceCategoryDataSeriesInternal
- Returns:
- default point shape for data points
-
getPointShape
Description copied from interface:CategoryDataSeriesInternal
Gets the point shape for the given data point.- Specified by:
getPointShape
in interfaceCategoryDataSeriesInternal
- Parameters:
category
- category- Returns:
- point shape for the given data point
-
getGroup
public int getGroup()Description copied from interface:CategoryDataSeriesInternal
Gets the group for this dataset.- Specified by:
getGroup
in interfaceCategoryDataSeriesInternal
- Returns:
- group for this dataset
-
getPiePercentLabelFormat
Description copied from interface:CategoryDataSeriesInternal
Gets the pie plot percent label format.- Specified by:
getPiePercentLabelFormat
in interfaceCategoryDataSeriesInternal
- Returns:
- pie plot percent label format
-
group
Description copied from interface:CategoryDataSeries
Sets the group for this dataset.- Specified by:
group
in interfaceCategoryDataSeries
- Returns:
- this data series.
-
linesVisible
Description copied from interface:CategoryDataSeries
Sets the visibility of the lines for this dataset.- Specified by:
linesVisible
in interfaceCategoryDataSeries
- Specified by:
linesVisible
in interfaceDataSeries
- Parameters:
visible
- whether to display lines or not- Returns:
- this CategoryDataSeries
-
pointsVisible
Description copied from interface:CategoryDataSeries
Sets the visibility of the point shapes for this dataset.- Specified by:
pointsVisible
in interfaceCategoryDataSeries
- Specified by:
pointsVisible
in interfaceDataSeries
- Parameters:
visible
- whether to display point shapes or not- Returns:
- this CategoryDataSeries
-
gradientVisible
Description copied from interface:CategoryDataSeries
Sets the visibility of bar gradients for this dataset.- Specified by:
gradientVisible
in interfaceCategoryDataSeries
- Specified by:
gradientVisible
in interfaceDataSeries
- Parameters:
gradientVisible
- whether to display bar gradients or not- Returns:
- this CategoryDataSeries
-
seriesColor
Sets the defaultPaint
for this dataset.- Specified by:
seriesColor
in interfaceDataSeries
- Parameters:
color
- color- Returns:
- this CategoryDataSeries
-
seriesColor
Sets the defaultPaint
for this dataset.- Specified by:
seriesColor
in interfaceDataSeries
- Parameters:
color
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
seriesColor
Sets the defaultPaint
for this dataset.- Specified by:
seriesColor
in interfaceDataSeries
- Parameters:
color
- color- Returns:
- this CategoryDataSeries
-
lineColor
Description copied from interface:CategoryDataSeries
Sets the default linePaint
for this dataset.- Specified by:
lineColor
in interfaceCategoryDataSeries
- Specified by:
lineColor
in interfaceDataSeries
- Parameters:
color
- color- Returns:
- this CategoryDataSeries
-
lineColor
Description copied from interface:CategoryDataSeries
Sets the default linePaint
for this dataset.- Specified by:
lineColor
in interfaceCategoryDataSeries
- Specified by:
lineColor
in interfaceDataSeries
- Parameters:
color
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
lineColor
Description copied from interface:CategoryDataSeries
Sets the default linePaint
for this dataset.- Specified by:
lineColor
in interfaceCategoryDataSeries
- Specified by:
lineColor
in interfaceDataSeries
- Parameters:
color
- color- Returns:
- this CategoryDataSeries
-
errorBarColor
Description copied from interface:CategoryDataSeries
Sets the error barPaint
for this dataset.- Specified by:
errorBarColor
in interfaceCategoryDataSeries
- Specified by:
errorBarColor
in interfaceDataSeries
- Parameters:
errorBarColor
- color- Returns:
- this CategoryDataSeries
-
errorBarColor
Description copied from interface:CategoryDataSeries
Sets the error barPaint
for this dataset.- Specified by:
errorBarColor
in interfaceCategoryDataSeries
- Specified by:
errorBarColor
in interfaceDataSeries
- Parameters:
errorBarColor
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
errorBarColor
Description copied from interface:CategoryDataSeries
Sets the error barPaint
for this dataset.- Specified by:
errorBarColor
in interfaceCategoryDataSeries
- Specified by:
errorBarColor
in interfaceDataSeries
- Parameters:
errorBarColor
- color- Returns:
- this CategoryDataSeries
-
lineStyle
Description copied from interface:CategoryDataSeries
Sets theLineStyle
for this dataset- Specified by:
lineStyle
in interfaceCategoryDataSeries
- Specified by:
lineStyle
in interfaceDataSeries
- Parameters:
lineStyle
- line style- Returns:
- this dat
-
pointSize
Description copied from interface:DataSeries
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.- Specified by:
pointSize
in interfaceDataSeries
- Parameters:
pointSize
- point size- Returns:
- this data series.
-
pointSize
Description copied from interface:DataSeries
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.- Specified by:
pointSize
in interfaceDataSeries
- Parameters:
pointSize
- point size- Returns:
- this data series.
-
pointSize
Description copied from interface:DataSeries
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.- Specified by:
pointSize
in interfaceDataSeries
- Parameters:
pointSize
- point size- Returns:
- this data series.
-
pointSize
Description copied from interface:DataSeries
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.- Specified by:
pointSize
in interfaceDataSeries
- Parameters:
pointSize
- point size- Returns:
- this data series.
-
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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Parameters:
category
- data pointpointSize
- factor to multiply the default size (1) by- 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Parameters:
category
- data pointpointSize
- factor to multiply the default size (1) by- 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Parameters:
category
- data pointpointSize
- factor to multiply the default size (1) by- 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Parameters:
category
- data pointpointSize
- factor to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, int[] 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Type Parameters:
CATEGORY
- type of the categorical data- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, long[] 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Type Parameters:
CATEGORY
- type of the categorical data- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable,NUMBER extends Number> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- 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
public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, double[] 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Type Parameters:
CATEGORY
- type of the categorical data- Parameters:
categories
- data pointspointSizes
- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable,NUMBER extends Number> AbstractCategoryDataSeries pointSize(Map<CATEGORY, 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- 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
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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Parameters:
t
- tablecategory
- column int
, specifying category valuespointSize
- column int
, specifying point sizes- Returns:
- this CategoryDataSeries
-
pointSize
public AbstractCategoryDataSeries pointSize(SelectableDataSet sds, String category, String 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.- Specified by:
pointSize
in interfaceCategoryDataSeries
- Parameters:
sds
- selectable data set (e.g. OneClick filterable table)category
- column insds
, specifying category valuespointSize
- column insds
, specifying point sizes- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- Specified by:
pointColor
in interfaceDataSeries
- Parameters:
pointColor
- default point color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- 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
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- Specified by:
pointColor
in interfaceDataSeries
- Parameters:
pointColor
- default point color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- Parameters:
category
- data pointcolor
- color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- Parameters:
category
- data pointpointColor
- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- Parameters:
category
- data pointpointColor
- color- Returns:
- this CategoryDataSeries
-
pointColor
public <CATEGORY extends Comparable,COLOR extends Paint> AbstractCategoryDataSeries pointColor(Map<CATEGORY, COLOR> pointColor) Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- 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
-
pointColorInteger
public <CATEGORY extends Comparable,COLOR extends Integer> AbstractCategoryDataSeries pointColorInteger(Map<CATEGORY, COLOR> colors) Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColorInteger
in interfaceCategoryDataSeries
- 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
-
pointColor
Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- Parameters:
t
- tablecategory
- column int
, specifying category valuespointColor
- column int
, specifyingPaint
s or ints/Integers representing color palette values.- Returns:
- this CategoryDataSeries
-
pointColor
public AbstractCategoryDataSeries pointColor(SelectableDataSet sds, String category, String pointColor) Description copied from interface:CategoryDataSeries
Sets the point color. Unspecified points use the default color.- Specified by:
pointColor
in interfaceCategoryDataSeries
- 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
Description copied from interface:DataSeries
Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Specified by:
pointLabel
in interfaceDataSeries
- Parameters:
pointLabel
- label- Returns:
- this XYDataSeries
-
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.- Specified by:
pointLabel
in interfaceCategoryDataSeries
- Parameters:
category
- category valuepointLabel
- label- Returns:
- this CategoryDataSeries
-
pointLabel
public <CATEGORY extends Comparable,LABEL> AbstractCategoryDataSeries pointLabel(Map<CATEGORY, LABEL> pointLabels) 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.- Specified by:
pointLabel
in interfaceCategoryDataSeries
- 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
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.- Specified by:
pointLabel
in interfaceCategoryDataSeries
- Parameters:
t
- tablecategory
- column int
, specifying category valuespointLabel
- column int
, specifying labels- Returns:
- this CategoryDataSeries
-
pointLabelFormat
Description copied from interface:DataSeries
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).
- Specified by:
pointLabelFormat
in interfaceDataSeries
- Parameters:
pointLabelFormat
- format- Returns:
- this data series.
-
piePercentLabelFormat
Description copied from interface:CategoryDataSeries
Sets the format of the percentage point label format in pie plots.- Specified by:
piePercentLabelFormat
in interfaceCategoryDataSeries
- Parameters:
pieLabelFormat
- format- Returns:
- this data series.
-
xToolTipPattern
Description copied from interface:DataSeries
Sets the x-value tooltip format.- Specified by:
xToolTipPattern
in interfaceDataSeries
- Parameters:
xToolTipPattern
- format- Returns:
- this data series.
-
yToolTipPattern
Description copied from interface:DataSeries
Sets the y-value tooltip format.- Specified by:
yToolTipPattern
in interfaceDataSeries
- Parameters:
yToolTipPattern
- format- Returns:
- this data series.
-
pointLabel
public AbstractCategoryDataSeries pointLabel(SelectableDataSet sds, String category, String 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.- Specified by:
pointLabel
in interfaceCategoryDataSeries
- Parameters:
sds
- selectable data set (e.g. OneClick filterable table)category
- column insds
, specifying category valuespointLabel
- column insds
, specifying labels- Returns:
- this CategoryDataSeries
-
pointShape
Description copied from interface:DataSeries
Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Specified by:
pointShape
in interfaceDataSeries
- Parameters:
pointShape
- shape- Returns:
- this DataSeries
-
pointShape
Description copied from interface:DataSeries
Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Specified by:
pointShape
in interfaceDataSeries
- Parameters:
pointShape
- shape- Returns:
- this DataSeries
-
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.- Specified by:
pointShape
in interfaceCategoryDataSeries
- Parameters:
category
- category valuepointShape
- shape- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShape
in interfaceCategoryDataSeries
- Parameters:
category
- category valuepointShape
- shape- Returns:
- this CategoryDataSeries
-
pointShape
public <CATEGORY extends Comparable> CategoryDataSeries pointShape(Map<CATEGORY, String> pointShapes) 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.- Specified by:
pointShape
in interfaceCategoryDataSeries
- Type Parameters:
CATEGORY
- type of the categorical data- Parameters:
pointShapes
- map used to determine point shapes- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShape
in interfaceCategoryDataSeries
- Parameters:
t
- tablecategory
- column int
, specifying category valuespointShape
- column int
, specifying shapes- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShape
in interfaceCategoryDataSeries
- Parameters:
sds
- selectable data set (e.g. OneClick filterable table)category
- column insds
, specifying category valuespointShape
- column insds
, specifying shapes- Returns:
- this CategoryDataSeries
-
setPiePercentLabelFormat
Sets the pie percent label format for this dataset.- Parameters:
format
- format
-
toolTipPattern
Description copied from interface:DataSeries
Sets the tooltip format.- Specified by:
toolTipPattern
in interfaceDataSeries
- Parameters:
toolTipPattern
- format- Returns:
- this data series.
-