Class AbstractSwappableTableBasedCategoryDataSeries
java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
com.illumon.iris.db.plot.datasets.AbstractDataSeries
com.illumon.iris.db.plot.datasets.category.AbstractCategoryDataSeries
com.illumon.iris.db.plot.datasets.category.AbstractSwappableTableBasedCategoryDataSeries
- All Implemented Interfaces:
CategoryDataSeries,CategoryDataSeriesInternal,DataSeries,DataSeriesInternal,PlotExceptionCause,Series,SeriesInternal,Serializable
- Direct Known Subclasses:
CategoryDataSeriesSwappableTableMap,CategoryErrorBarDataSeriesSwappableTableMap
public abstract class AbstractSwappableTableBasedCategoryDataSeries
extends AbstractCategoryDataSeries
- See Also:
-
Field Summary
Fields inherited from class com.illumon.iris.db.plot.AbstractSeriesInternal
dataChangeListener -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSwappableTableBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name) AbstractSwappableTableBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
Method Summary
Modifier and TypeMethodDescriptionconstructTableMapFromFunction(Function<S, T> function, Class resultClass, String onColumn, String columnName) protected abstract Stringprotected abstract Stringprotected abstract SwappableTable<COLOR extends Paint>
CategoryDataSeriespointColor(Function<Comparable, COLOR> colors) Sets the point color.<T extends Paint>
CategoryDataSeriespointColorByY(Function<Double, T> colors) Sets the point color for a data point based upon the y-value.<COLOR extends Integer>
CategoryDataSeriespointColorInteger(Function<Comparable, COLOR> colors) Sets the point color.<LABEL> CategoryDataSeriespointLabel(Function<Comparable, LABEL> labels) Sets the point label for data point i from index i of the input labels.pointShape(Function<Comparable, String> shapes) Sets the point shapes for data point i from index i of the input labels.<NUMBER extends Number>
CategoryDataSeriespointSize(Function<Comparable, NUMBER> factors) Sets the point size.Methods inherited from class com.illumon.iris.db.plot.datasets.category.AbstractCategoryDataSeries
colorsSetSpecific, errorBarColor, errorBarColor, errorBarColor, getColor, getGroup, getLabel, getPiePercentLabelFormat, getPointShape, getPointSize, getSeriesColor, gradientVisible, group, labelsSetSpecific, lineColor, lineColor, lineColor, lineStyle, linesVisible, onClose, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, 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, snapshotModifiers, toolTipPattern, xToolTipPattern, yToolTipPatternMethods inherited from class com.illumon.iris.db.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 com.illumon.iris.db.plot.AbstractSeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, axes, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, id, name, removeTableHandleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.plot.datasets.category.CategoryDataSeries
pointColor, pointColorInteger, pointLabel, pointShape, pointSizeMethods inherited from interface com.illumon.iris.db.plot.datasets.category.CategoryDataSeriesInternal
categories, copy, createSnapshot, drawYError, getCategoryLocation, getEndY, getStartY, getValue, getYRange, initMethods inherited from interface com.illumon.iris.db.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, id, name, sizeMethods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onInflate, removeTableHandle
-
Constructor Details
-
AbstractSwappableTableBasedCategoryDataSeries
-
AbstractSwappableTableBasedCategoryDataSeries
public AbstractSwappableTableBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
AbstractSwappableTableBasedCategoryDataSeries
public AbstractSwappableTableBasedCategoryDataSeries(AbstractCategoryDataSeries series, AxesImpl axes)
-
-
Method Details
-
pointShape
Description copied from interface:CategoryDataSeriesSets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Parameters:
shapes- function used to determine point shapes- Returns:
- this CategoryDataSeries
-
pointSize
Description copied from interface:CategoryDataSeriesSets 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:
factors- function used to set sizes of data points- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets 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 theirPaints- Returns:
- this CategoryDataSeries
-
pointColorInteger
public <COLOR extends Integer> CategoryDataSeries pointColorInteger(Function<Comparable, COLOR> colors) Description copied from interface:CategoryDataSeriesSets 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
-
pointColorByY
Description copied from interface:DataSeriesSets the point color for a data point based upon the y-value.- Parameters:
colors- function from the y-value of data points toPaint- Returns:
- this DataSeries
-
pointLabel
Description copied from interface:CategoryDataSeriesSets 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:
labels- function used to determine point labels- Returns:
- this CategoryDataSeries
-
constructTableMapFromFunction
-
getSwappableTable
-
getCategoryCol
-
getNumericCol
-