Class AbstractMapBasedCategoryDataSeries
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.AbstractMapBasedCategoryDataSeries
- All Implemented Interfaces:
CategoryDataSeries
,CategoryDataSeriesInternal
,DataSeries
,DataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,Serializable
- Direct Known Subclasses:
CategoryDataSeriesMap
,CategoryErrorBarDataSeriesMap
public abstract class AbstractMapBasedCategoryDataSeries extends AbstractCategoryDataSeries
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractMapBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name)
AbstractMapBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series)
AbstractMapBasedCategoryDataSeries(AbstractCategoryDataSeries series, AxesImpl axes)
-
Method Summary
Modifier and Type Method Description <COLOR extends Paint>
AbstractCategoryDataSeriespointColor(Function<Comparable,COLOR> colors)
Sets the point color.<T extends Paint>
AbstractCategoryDataSeriespointColorByY(Function<Double,T> colors)
Sets the point color for a data point based upon the y-value.<COLOR extends Integer>
AbstractCategoryDataSeriespointColorInteger(Function<Comparable,COLOR> colors)
Sets the point color.<LABEL> AbstractCategoryDataSeries
pointLabel(Function<Comparable,LABEL> labels)
Sets the point label for data point i from index i of the input labels.CategoryDataSeries
pointShape(Function<Comparable,String> shapes)
Sets the point shapes for data point i from index i of the input labels.<NUMBER extends Number>
AbstractCategoryDataSeriespointSize(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, yToolTipPattern
Methods 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, setYToolTipPattern
Methods inherited from class com.illumon.iris.db.plot.AbstractSeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, axes, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, 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 com.illumon.iris.db.plot.datasets.category.CategoryDataSeries
pointColor, pointColorInteger, pointLabel, pointShape, pointSize
Methods inherited from interface com.illumon.iris.db.plot.datasets.category.CategoryDataSeriesInternal
categories, copy, createSnapshot, drawYError, getCategoryLocation, getEndY, getStartY, getValue, getYRange, init
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, id, name, size
Methods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onInflate, removeTableHandle
-
Constructor Details
-
AbstractMapBasedCategoryDataSeries
-
AbstractMapBasedCategoryDataSeries
public AbstractMapBasedCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) -
AbstractMapBasedCategoryDataSeries
-
-
Method Details
-
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.- Parameters:
shapes
- function used to determine point shapes- Returns:
- this CategoryDataSeries
-
pointSize
public <NUMBER extends Number> AbstractCategoryDataSeries pointSize(Function<Comparable,NUMBER> factors)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.- Type Parameters:
NUMBER
- data type of the point sizes- Parameters:
factors
- function used to set sizes of data points- Returns:
- this CategoryDataSeries
-
pointColor
public <COLOR extends Paint> AbstractCategoryDataSeries pointColor(Function<Comparable,COLOR> colors)Description copied from interface:CategoryDataSeries
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 theirPaint
s- Returns:
- this CategoryDataSeries
-
pointColorInteger
public <COLOR extends Integer> AbstractCategoryDataSeries pointColorInteger(Function<Comparable,COLOR> colors)Description copied from interface:CategoryDataSeries
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
-
pointColorByY
Description copied from interface:DataSeries
Sets 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:CategoryDataSeries
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:
labels
- function used to determine point labels- Returns:
- this CategoryDataSeries
-