Class CategoryErrorBarDataSeriesSwappablePartitionedTable
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.category.AbstractCategoryDataSeries
io.deephaven.plot.datasets.category.AbstractSwappableTableBasedCategoryDataSeries
io.deephaven.plot.datasets.categoryerrorbar.CategoryErrorBarDataSeriesSwappablePartitionedTable
- All Implemented Interfaces:
CategoryDataSeries,CategoryDataSeriesInternal,CategorySwappableTableDataSeriesInternal,CategoryTableDataSeriesInternal,CategoryErrorBarDataSeries,CategoryErrorBarDataSeriesInternal,DataSeries,DataSeriesInternal,PlotExceptionCause,Series,SeriesInternal,TableSnapshotSeries,Serializable
public class CategoryErrorBarDataSeriesSwappablePartitionedTable
extends AbstractSwappableTableBasedCategoryDataSeries
implements CategoryErrorBarDataSeriesInternal, CategorySwappableTableDataSeriesInternal, TableSnapshotSeries
A dataset for
SwappableTable based categorical data.- See Also:
-
Field Summary
Fields inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeries
CAT_SERIES_ORDER_COLUMN -
Constructor Summary
ConstructorsConstructorDescriptionCategoryErrorBarDataSeriesSwappablePartitionedTable(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String categories, String valueCol, String errorBarLowCol, String errorBarHighCol) Creates a CategoryErrorBarDataSeriesSwappablePartitionedTable instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the categories of the dataset.Create a copy of the series on a different set of axes.protected StringlonggetCategoryLocation(Comparable category) Get the row key of the specified series.getEndY(Comparable category) protected StringgetStartY(Comparable category) protected SwappableTablegetValue(Comparable category) Gets the numeric value corresponding to the givencategory.intsize()Gets the size of this data set.Methods inherited from class io.deephaven.plot.datasets.category.AbstractSwappableTableBasedCategoryDataSeries
constructPartitionedTableFromFunction, pointColor, pointColorInteger, pointLabel, pointShape, pointSizeMethods 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, yToolTipPatternMethods 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, setYToolTipPatternMethods inherited from class io.deephaven.plot.AbstractSeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, axes, getPartitionedTableHandles, getSwappableTables, getTableHandles, id, name, removeTableHandleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, pointsVisibleMethods inherited from interface io.deephaven.plot.datasets.category.CategoryDataSeriesInternal
getColor, getGroup, getLabel, getLabel, getPiePercentLabelFormat, getPointShape, getPointShape, getPointSize, getPointSizeMethods inherited from interface io.deephaven.plot.datasets.categoryerrorbar.CategoryErrorBarDataSeriesInternal
drawYErrorMethods inherited from interface io.deephaven.plot.datasets.DataSeries
pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPatternMethods inherited from interface io.deephaven.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, nameMethods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Constructor Details
-
CategoryErrorBarDataSeriesSwappablePartitionedTable
public CategoryErrorBarDataSeriesSwappablePartitionedTable(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String categories, String valueCol, String errorBarLowCol, String errorBarHighCol) Creates a CategoryErrorBarDataSeriesSwappablePartitionedTable instance.- Type Parameters:
T- type of the categorical data- Parameters:
axes- axes on which this data series will be plottedid- data series idname- series nameswappableTable- table data. Table may be swapped outcategories- discrete data column inswappableTablevalueCol- continuous data column inswappableTable- Throws:
PlotIllegalArgumentException-chart,swappableTable,categories, andvaluesmay not be null.RuntimeException-categoriescolumn must beComparablevaluescolumn must be numeric
-
-
Method Details
-
copy
Description copied from interface:SeriesInternalCreate a copy of the series on a different set of axes.- Specified by:
copyin interfaceCategoryDataSeriesInternal- Specified by:
copyin interfaceDataSeriesInternal- Specified by:
copyin interfaceSeriesInternal- Parameters:
axes- new axes.- Returns:
- copy of the series on a different set of axes.
-
size
public int size()Description copied from interface:DataSeriesInternalGets the size of this data set.- Specified by:
sizein interfaceDataSeriesInternal- Returns:
- size of this data set
-
categories
Description copied from interface:CategoryDataSeriesInternalGets the categories of the dataset.- Specified by:
categoriesin interfaceCategoryDataSeriesInternal- Returns:
- all categories in the dataset
-
getValue
Description copied from interface:CategoryDataSeriesInternalGets the numeric value corresponding to the givencategory.- Specified by:
getValuein interfaceCategoryDataSeriesInternal- Parameters:
category- category- Returns:
- numeric value corresponding to the given
category
-
getCategoryLocation
Description copied from interface:CategoryDataSeriesInternalGet the row key of the specified series.- Specified by:
getCategoryLocationin interfaceCategoryDataSeriesInternal- Returns:
-
getStartY
- Specified by:
getStartYin interfaceCategoryDataSeriesInternal
-
getEndY
- Specified by:
getEndYin interfaceCategoryDataSeriesInternal
-
getSwappableTable
- Specified by:
getSwappableTablein classAbstractSwappableTableBasedCategoryDataSeries
-
getCategoryCol
- Specified by:
getCategoryColin classAbstractSwappableTableBasedCategoryDataSeries
-
getNumericCol
- Specified by:
getNumericColin classAbstractSwappableTableBasedCategoryDataSeries
-