Class AbstractCategoryDataSeries
java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
com.illumon.iris.db.plot.datasets.AbstractDataSeries
com.illumon.iris.db.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 class com.illumon.iris.db.plot.AbstractSeriesInternal
dataChangeListener -
Constructor Summary
ConstructorsModifierConstructorDescriptionAbstractCategoryDataSeries(AxesImpl axes, int id, Comparable name) AbstractCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series) Creates an AbstractCategoryDataSeries instance.protectedAbstractCategoryDataSeries(AbstractCategoryDataSeries series, AxesImpl axes) Creates a copy of a series using a different Axes and a different listener. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiderrorBarColor(int color) Sets the error barPaintfor this dataset.errorBarColor(Paint color) Sets the error barPaintfor this dataset.errorBarColor(String color) Sets the error barPaintfor this dataset.getColor(Comparable category) Gets thePaintfor the given data point.intgetGroup()Gets the group for this dataset.getLabel(Comparable category) Gets the point label for the given data point.Gets the pie plot percent label format.getPointShape(Comparable category) Gets the point shape for the given data point.getPointSize(Comparable category) Gets the point size for the given data point.Gets the series color.gradientVisible(boolean visible) Sets the visibility of bar gradients for this dataset.group(int group) Sets the group for this dataset.protected voidlineColor(int color) Sets the default linePaintfor this dataset.Sets the default linePaintfor this dataset.Sets the default linePaintfor this dataset.Sets theLineStylefor this datasetlinesVisible(Boolean visible) Sets the visibility of the lines for this dataset.voidonClose()Series shut down after the plot is closed.piePercentLabelFormat(String format) Sets the format of the percentage point label format in pie plots.pointColor(int color) Sets the point color.pointColor(SelectableDataSet sds, String keyColumn, String valueColumn) Sets the point color.pointColor(Table t, String keyColumn, String valueColumn) Sets the point color.pointColor(Paint color) Sets the point color.pointColor(Comparable category, int color) Sets the point color.pointColor(Comparable category, Paint color) Sets the point color.pointColor(Comparable category, String color) Sets the point color.pointColor(String color) Sets the point color.<CATEGORY extends Comparable,COLOR extends Paint>
AbstractCategoryDataSeriespointColor(Map<CATEGORY, COLOR> colors) Sets the point color.<T extends Paint>
CategoryDataSeriespointColorByY(groovy.lang.Closure<T> colors) Sets the point color for a data point based upon the y-value.<T extends Paint>
AbstractCategoryDataSeriespointColorByY(Map<Double, T> colors) Sets the point color for a data point based upon the y-value.<CATEGORY extends Comparable,COLOR extends Integer>
AbstractCategoryDataSeriespointColorInteger(Map<CATEGORY, COLOR> colors) Sets the point color.pointLabel(SelectableDataSet sds, String keyColumn, String valueColumn) Sets the point label for data point i from index i of the input labels.pointLabel(Table t, String keyColumn, String valueColumn) Sets the point label for data point i from index i of the input labels.pointLabel(Comparable category, Object label) Sets the point label for data point i from index i of the input labels.pointLabel(Object label) Sets the point label for data point i from index i of the input labels.<CATEGORY extends Comparable,LABEL>
AbstractCategoryDataSeriespointLabel(Map<CATEGORY, LABEL> labels) Sets the point label for data point i from index i of the input labels.pointLabelFormat(String format) Sets the point label format.pointShape(SelectableDataSet sds, String keyColumn, String valueColumn) Sets the point shapes for data point i from index i of the input labels.pointShape(Table t, String keyColumn, String valueColumn) Sets the point shapes for data point i from index i of the input labels.pointShape(Shape shape) Sets the point shapes for data point i from index i of the input labels.pointShape(Comparable category, Shape shape) Sets the point shapes for data point i from index i of the input labels.pointShape(Comparable category, String shape) Sets the point shapes for data point i from index i of the input labels.pointShape(String shape) Sets the point shapes for data point i from index i of the input labels.<CATEGORY extends Comparable>
CategoryDataSeriespointShape(Map<CATEGORY, String> shapes) Sets the point shapes for data point i from index i of the input labels.pointSize(double factor) Sets the point size.pointSize(int factor) Sets the point size.pointSize(long factor) Sets the point size.<CATEGORY extends Comparable>
AbstractCategoryDataSeriespointSize(CATEGORY[] categories, double[] factors) Sets the point size.<CATEGORY extends Comparable>
AbstractCategoryDataSeriespointSize(CATEGORY[] categories, int[] factors) Sets the point size.<CATEGORY extends Comparable>
AbstractCategoryDataSeriespointSize(CATEGORY[] categories, long[] factors) Sets the point size.<CATEGORY extends Comparable,NUMBER extends Number>
AbstractCategoryDataSeriespointSize(CATEGORY[] categories, NUMBER[] factors) Sets the point size.pointSize(SelectableDataSet sds, String keyColumn, String valueColumn) Sets the point size.Sets the point size.pointSize(Comparable category, double factor) Sets the point size.pointSize(Comparable category, int factor) Sets the point size.pointSize(Comparable category, long factor) Sets the point size.pointSize(Comparable category, Number factor) 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 defaultPaintfor this dataset.seriesColor(Paint color) Sets the defaultPaintfor this dataset.seriesColor(String color) Sets the defaultPaintfor this dataset.protected voidsetPiePercentLabelFormat(String format) Sets the pie percent label format for this dataset.protected voidprotected voidprotected voidtoolTipPattern(String format) Sets the tooltip format.xToolTipPattern(String format) Sets the x-value tooltip format.yToolTipPattern(String format) Sets the y-value tooltip format.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, 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, pointColor, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointShape, pointShape, pointSize, 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.DataSeries
pointColorByYMethods 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
-
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 and a different listener.- Parameters:
series- series to copy.axes- new axes to use.
-
-
Method Details
-
colorsSetSpecific
-
labelsSetSpecific
-
sizesSetSpecific
-
shapesSetSpecific
-
snapshotModifiers
-
getColor
Description copied from interface:CategoryDataSeriesInternalGets thePaintfor the given data point.- Specified by:
getColorin interfaceCategoryDataSeriesInternal- Parameters:
category- category- Returns:
Paintfor the given data point
-
getPointSize
Description copied from interface:CategoryDataSeriesInternalGets the point size for the given data point.- Specified by:
getPointSizein interfaceCategoryDataSeriesInternal- Parameters:
category- category- Returns:
- point size for the given data point
-
getSeriesColor
Description copied from interface:DataSeriesInternalGets the series color.- Specified by:
getSeriesColorin interfaceDataSeriesInternal- Returns:
- series color
-
getLabel
Description copied from interface:CategoryDataSeriesInternalGets the point label for the given data point.- Specified by:
getLabelin interfaceCategoryDataSeriesInternal- Parameters:
category- category- Returns:
- point label for the given data point
-
getPointShape
Description copied from interface:CategoryDataSeriesInternalGets the point shape for the given data point.- Specified by:
getPointShapein interfaceCategoryDataSeriesInternal- Parameters:
category- category- Returns:
- point shape for the given data point
-
getGroup
public int getGroup()Description copied from interface:CategoryDataSeriesInternalGets the group for this dataset.- Specified by:
getGroupin interfaceCategoryDataSeriesInternal- Returns:
- group for this dataset
-
getPiePercentLabelFormat
Description copied from interface:CategoryDataSeriesInternalGets the pie plot percent label format.- Specified by:
getPiePercentLabelFormatin interfaceCategoryDataSeriesInternal- Returns:
- pie plot percent label format
-
group
Description copied from interface:CategoryDataSeriesSets the group for this dataset.- Specified by:
groupin interfaceCategoryDataSeries- Returns:
- this data series.
-
linesVisible
Description copied from interface:CategoryDataSeriesSets the visibility of the lines for this dataset.- Specified by:
linesVisiblein interfaceCategoryDataSeries- Specified by:
linesVisiblein interfaceDataSeries- Parameters:
visible- whether to display lines or not- Returns:
- this CategoryDataSeries
-
pointsVisible
Description copied from interface:CategoryDataSeriesSets the visibility of the point shapes for this dataset.- Specified by:
pointsVisiblein interfaceCategoryDataSeries- Specified by:
pointsVisiblein interfaceDataSeries- Parameters:
visible- whether to display point shapes or not- Returns:
- this CategoryDataSeries
-
gradientVisible
Description copied from interface:CategoryDataSeriesSets the visibility of bar gradients for this dataset.- Specified by:
gradientVisiblein interfaceCategoryDataSeries- Specified by:
gradientVisiblein interfaceDataSeries- Parameters:
visible- whether to display bar gradients or not- Returns:
- this CategoryDataSeries
-
seriesColor
Sets the defaultPaintfor this dataset.- Specified by:
seriesColorin interfaceDataSeries- Parameters:
color- color- Returns:
- this CategoryDataSeries
-
seriesColor
Sets the defaultPaintfor this dataset.- Specified by:
seriesColorin interfaceDataSeries- Parameters:
color- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
seriesColor
Sets the defaultPaintfor this dataset.- Specified by:
seriesColorin interfaceDataSeries- Parameters:
color- color- Returns:
- this CategoryDataSeries
-
lineColor
Description copied from interface:CategoryDataSeriesSets the default linePaintfor this dataset.- Specified by:
lineColorin interfaceCategoryDataSeries- Specified by:
lineColorin interfaceDataSeries- Parameters:
color- color- Returns:
- this CategoryDataSeries
-
lineColor
Description copied from interface:CategoryDataSeriesSets the default linePaintfor this dataset.- Specified by:
lineColorin interfaceCategoryDataSeries- Specified by:
lineColorin interfaceDataSeries- Parameters:
color- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
lineColor
Description copied from interface:CategoryDataSeriesSets the default linePaintfor this dataset.- Specified by:
lineColorin interfaceCategoryDataSeries- Specified by:
lineColorin interfaceDataSeries- Parameters:
color- color- Returns:
- this CategoryDataSeries
-
errorBarColor
Description copied from interface:CategoryDataSeriesSets the error barPaintfor this dataset.- Specified by:
errorBarColorin interfaceCategoryDataSeries- Specified by:
errorBarColorin interfaceDataSeries- Parameters:
color- color- Returns:
- this CategoryDataSeries
-
errorBarColor
Description copied from interface:CategoryDataSeriesSets the error barPaintfor this dataset.- Specified by:
errorBarColorin interfaceCategoryDataSeries- Specified by:
errorBarColorin interfaceDataSeries- Parameters:
color- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
errorBarColor
Description copied from interface:CategoryDataSeriesSets the error barPaintfor this dataset.- Specified by:
errorBarColorin interfaceCategoryDataSeries- Specified by:
errorBarColorin interfaceDataSeries- Parameters:
color- color- Returns:
- this CategoryDataSeries
-
lineStyle
Description copied from interface:CategoryDataSeriesSets theLineStylefor this dataset- Specified by:
lineStylein interfaceCategoryDataSeries- Specified by:
lineStylein interfaceDataSeries- Parameters:
style- line style- Returns:
- this dat
-
pointSize
Description copied from interface:DataSeriesSets 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:
pointSizein interfaceDataSeries- Parameters:
factor- point size- Returns:
- this data series.
-
pointSize
Description copied from interface:DataSeriesSets 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:
pointSizein interfaceDataSeries- Parameters:
factor- point size- Returns:
- this data series.
-
pointSize
Description copied from interface:DataSeriesSets 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:
pointSizein interfaceDataSeries- Parameters:
factor- point size- Returns:
- this data series.
-
pointSize
Description copied from interface:DataSeriesSets 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:
pointSizein interfaceDataSeries- Parameters:
factor- point size- Returns:
- this data series.
-
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.- Specified by:
pointSizein interfaceCategoryDataSeries- Parameters:
category- data pointfactor- factor to multiply the default size (1) by- 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Parameters:
category- data pointfactor- factor to multiply the default size (1) by- 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Parameters:
category- data pointfactor- factor to multiply the default size (1) by- 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Parameters:
category- data pointfactor- factor to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, int[] factors) 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical data- Parameters:
categories- data pointsfactors- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, long[] factors) 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical data- Parameters:
categories- data pointsfactors- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable,NUMBER extends Number> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, NUMBER[] factors) 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical dataNUMBER- data type of the point sizes- Parameters:
categories- data pointsfactors- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, double[] factors) 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical data- Parameters:
categories- data pointsfactors- factors to multiply the default size (1) by- Returns:
- this CategoryDataSeries
-
pointSize
public <CATEGORY extends Comparable,NUMBER extends Number> AbstractCategoryDataSeries pointSize(Map<CATEGORY, NUMBER> factors) 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical dataNUMBER- data type of the point sizes- Parameters:
factors- map used to set sizes of specific data points- 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Parameters:
t- tablekeyColumn- column int, specifying category valuesvalueColumn- column int, specifying point sizes- Returns:
- this CategoryDataSeries
-
pointSize
public AbstractCategoryDataSeries pointSize(SelectableDataSet sds, String keyColumn, String valueColumn) 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.- Specified by:
pointSizein interfaceCategoryDataSeries- Parameters:
sds- selectable data set (e.g. OneClick filterable table)keyColumn- column insds, specifying category valuesvalueColumn- column insds, specifying point sizes- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Specified by:
pointColorin interfaceDataSeries- Parameters:
color- default point color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Specified by:
pointColorin interfaceDataSeries- Parameters:
color- index of the color in the series color palette to use as the default color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Specified by:
pointColorin interfaceDataSeries- Parameters:
color- default point color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Parameters:
category- data pointcolor- color- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Parameters:
category- data pointcolor- index of the color in the series color palette- Returns:
- this CategoryDataSeries
-
pointColor
Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Parameters:
category- data pointcolor- color- Returns:
- this CategoryDataSeries
-
pointColor
public <CATEGORY extends Comparable,COLOR extends Paint> AbstractCategoryDataSeries pointColor(Map<CATEGORY, COLOR> colors) Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical dataCOLOR- type of color for the points- Parameters:
colors- map from data points to theirPaints- Returns:
- this CategoryDataSeries
-
pointColorInteger
public <CATEGORY extends Comparable,COLOR extends Integer> AbstractCategoryDataSeries pointColorInteger(Map<CATEGORY, COLOR> colors) Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorIntegerin 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:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Parameters:
t- tablekeyColumn- column int, specifying category valuesvalueColumn- column int, specifyingPaints or ints/Integers representing color palette values.- Returns:
- this CategoryDataSeries
-
pointColor
public AbstractCategoryDataSeries pointColor(SelectableDataSet sds, String keyColumn, String valueColumn) Description copied from interface:CategoryDataSeriesSets the point color. Unspecified points use the default color.- Specified by:
pointColorin interfaceCategoryDataSeries- Parameters:
sds- selectable data set (e.g. OneClick filterable table)keyColumn- column insds, specifying category valuesvalueColumn- column insds, specifyingPaints or ints/Integers representing color palette values.- Returns:
- this CategoryDataSeries
-
pointColorByY
Description copied from interface:CategoryDataSeriesSets the point color for a data point based upon the y-value.- Specified by:
pointColorByYin interfaceCategoryDataSeries- Parameters:
colors- map from the y-value of data points toPaint- Returns:
- this CategoryDataSeries
-
pointColorByY
Description copied from interface:DataSeriesSets the point color for a data point based upon the y-value.- Specified by:
pointColorByYin interfaceDataSeries- Parameters:
colors- function from the y-value of data points toPaint- Returns:
- this DataSeries
-
pointLabel
Description copied from interface:DataSeriesSets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.- Specified by:
pointLabelin interfaceDataSeries- Parameters:
label- label- Returns:
- this XYDataSeries
-
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.- Specified by:
pointLabelin interfaceCategoryDataSeries- Parameters:
category- category valuelabel- label- Returns:
- this CategoryDataSeries
-
pointLabel
public <CATEGORY extends Comparable,LABEL> AbstractCategoryDataSeries pointLabel(Map<CATEGORY, LABEL> labels) 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.- Specified by:
pointLabelin interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical dataLABEL- data type of the point labels- Parameters:
labels- map used to determine point labels- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointLabelin interfaceCategoryDataSeries- Parameters:
t- tablekeyColumn- column int, specifying category valuesvalueColumn- column int, specifying labels- Returns:
- this CategoryDataSeries
-
pointLabelFormat
Description copied from interface:DataSeriesSets 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:
pointLabelFormatin interfaceDataSeries- Parameters:
format- format- Returns:
- this data series.
-
piePercentLabelFormat
Description copied from interface:CategoryDataSeriesSets the format of the percentage point label format in pie plots.- Specified by:
piePercentLabelFormatin interfaceCategoryDataSeries- Parameters:
format- format- Returns:
- this data series.
-
xToolTipPattern
Description copied from interface:DataSeriesSets the x-value tooltip format.- Specified by:
xToolTipPatternin interfaceDataSeries- Parameters:
format- format- Returns:
- this data series.
-
yToolTipPattern
Description copied from interface:DataSeriesSets the y-value tooltip format.- Specified by:
yToolTipPatternin interfaceDataSeries- Parameters:
format- format- Returns:
- this data series.
-
pointLabel
public AbstractCategoryDataSeries pointLabel(SelectableDataSet sds, String keyColumn, String valueColumn) 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.- Specified by:
pointLabelin interfaceCategoryDataSeries- Parameters:
sds- selectable data set (e.g. OneClick filterable table)keyColumn- column insds, specifying category valuesvalueColumn- column insds, specifying labels- Returns:
- this CategoryDataSeries
-
pointShape
Description copied from interface:DataSeriesSets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Specified by:
pointShapein interfaceDataSeries- Parameters:
shape- shape- Returns:
- this DataSeries
-
pointShape
Description copied from interface:DataSeriesSets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.- Specified by:
pointShapein interfaceDataSeries- Parameters:
shape- shape- Returns:
- this DataSeries
-
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.- Specified by:
pointShapein interfaceCategoryDataSeries- Parameters:
category- category valueshape- shape- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShapein interfaceCategoryDataSeries- Parameters:
category- category valueshape- shape- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShapein interfaceCategoryDataSeries- Type Parameters:
CATEGORY- type of the categorical data- Parameters:
shapes- map used to determine point shapes- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShapein interfaceCategoryDataSeries- Parameters:
t- tablekeyColumn- column int, specifying category valuesvalueColumn- column int, specifying shapes- Returns:
- this CategoryDataSeries
-
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.- Specified by:
pointShapein interfaceCategoryDataSeries- Parameters:
sds- selectable data set (e.g. OneClick filterable table)keyColumn- column insds, specifying category valuesvalueColumn- 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:DataSeriesSets the tooltip format.- Specified by:
toolTipPatternin interfaceDataSeries- Parameters:
format- format- Returns:
- this data series.
-
onClose
public void onClose()Description copied from interface:SeriesInternalSeries shut down after the plot is closed.- Specified by:
onClosein interfaceSeriesInternal
-