Class CategoryErrorBarDataSeriesMap
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.category.AbstractCategoryDataSeries
io.deephaven.plot.datasets.category.AbstractMapBasedCategoryDataSeries
io.deephaven.plot.datasets.categoryerrorbar.CategoryErrorBarDataSeriesMap
- All Implemented Interfaces:
CategoryDataSeries
,CategoryDataSeriesInternal
,CategoryErrorBarDataSeries
,CategoryErrorBarDataSeriesInternal
,DataSeries
,DataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,Serializable
public class CategoryErrorBarDataSeriesMap
extends AbstractMapBasedCategoryDataSeries
implements CategoryErrorBarDataSeriesInternal
A dataset for categorical data which maps a category to it's numerical value.
The number of categories and the number of values must be the same. Does not support repeat categories.
- See Also:
-
Field Summary
Fields inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeries
CAT_SERIES_ORDER_COLUMN
-
Constructor Summary
ConstructorDescriptionCategoryErrorBarDataSeriesMap
(AxesImpl axes, int id, Comparable name, IndexableData<T> categories, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh) Creates an instance of CategoryDataSeriesMap, which maps a category to it's numerical value.CategoryErrorBarDataSeriesMap
(AxesImpl axes, int id, Comparable name, IndexableData<T> categories, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh, AbstractCategoryDataSeries series) -
Method Summary
Modifier and TypeMethodDescriptionGets the categories of the dataset.Create a copy of the series on a different set of axes.long
getCategoryLocation
(Comparable category) Get the row key of the specified series.getEndY
(Comparable category) getStartY
(Comparable category) getValue
(Comparable category) Gets the numeric value corresponding to the givencategory
.int
size()
Gets the size of this data set.Methods inherited from class io.deephaven.plot.datasets.category.AbstractMapBasedCategoryDataSeries
pointColor, pointColorInteger, pointLabel, pointShape, pointSize
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
errorBarColor, errorBarColor, errorBarColor, gradientVisible, group, lineColor, lineColor, lineColor, lineStyle, linesVisible, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible
Methods inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeriesInternal
getColor, getGroup, getLabel, getLabel, getPiePercentLabelFormat, getPointShape, getPointShape, getPointSize, getPointSize
Methods inherited from interface io.deephaven.plot.datasets.categoryerrorbar.CategoryErrorBarDataSeriesInternal
drawYError
Methods inherited from interface io.deephaven.plot.datasets.DataSeries
pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface io.deephaven.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, name
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Constructor Details
-
CategoryErrorBarDataSeriesMap
public CategoryErrorBarDataSeriesMap(AxesImpl axes, int id, Comparable name, IndexableData<T> categories, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh) Creates an instance of CategoryDataSeriesMap, which maps a category to it's numerical value.The number of categories and the number of values must be the same. Does not support null or repeat categories.
- Type Parameters:
T
- type of the categorical data- Parameters:
axes
-AxesImpl
on which this dataset is being plottedid
- data series idname
- series namecategories
- categorical datay
- numerical datayLow
- low error bar datayHigh
- high error bar data- Throws:
IllegalArgumentException
-categories
andvalues
must not be nullcategories
andvalues
must have equal sizesUnsupportedOperationException
-categories
must not contain null valuescategories
must not contain repeat values
-
CategoryErrorBarDataSeriesMap
public CategoryErrorBarDataSeriesMap(AxesImpl axes, int id, Comparable name, IndexableData<T> categories, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh, AbstractCategoryDataSeries series)
-
-
Method Details
-
copy
Description copied from interface:SeriesInternal
Create a copy of the series on a different set of axes.- Specified by:
copy
in interfaceCategoryDataSeriesInternal
- Specified by:
copy
in interfaceDataSeriesInternal
- Specified by:
copy
in interfaceSeriesInternal
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
size
public int size()Description copied from interface:DataSeriesInternal
Gets the size of this data set.- Specified by:
size
in interfaceDataSeriesInternal
- Returns:
- size of this data set
-
categories
Description copied from interface:CategoryDataSeriesInternal
Gets the categories of the dataset.- Specified by:
categories
in interfaceCategoryDataSeriesInternal
- Returns:
- all categories in the dataset
-
getValue
Description copied from interface:CategoryDataSeriesInternal
Gets the numeric value corresponding to the givencategory
.- Specified by:
getValue
in interfaceCategoryDataSeriesInternal
- Parameters:
category
- category- Returns:
- numeric value corresponding to the given
category
-
getCategoryLocation
Description copied from interface:CategoryDataSeriesInternal
Get the row key of the specified series.- Specified by:
getCategoryLocation
in interfaceCategoryDataSeriesInternal
- Returns:
-
getStartY
- Specified by:
getStartY
in interfaceCategoryDataSeriesInternal
-
getEndY
- Specified by:
getEndY
in interfaceCategoryDataSeriesInternal
-