public interface CategoryDataSeries extends DataSeries
Comparable and are called categories.| Modifier and Type | Method and Description |
|---|---|
CategoryDataSeries |
gradientVisible(boolean visible)
Sets the visibility of bar gradients for this dataset.
|
CategoryDataSeries |
group(int group)
Sets the group for this dataset.
|
CategoryDataSeries |
lineColor(int color)
Sets the default line
Paint for this dataset. |
CategoryDataSeries |
lineColor(com.illumon.iris.gui.color.Paint color)
Sets the default line
Paint for this dataset. |
CategoryDataSeries |
lineColor(String color)
Sets the default line
Paint for this dataset. |
CategoryDataSeries |
lineStyle(LineStyle style)
Sets the
LineStyle for this dataset |
CategoryDataSeries |
linesVisible(Boolean visible)
Sets the visibility of the lines for this dataset.
|
<COLOR extends com.illumon.iris.gui.color.Paint> |
pointColor(groovy.lang.Closure<COLOR> colors)
Uses the closure
colors to determine point Paint. |
CategoryDataSeries |
pointColor(Comparable category,
int color)
Sets the point
Paint for the specified data point. |
CategoryDataSeries |
pointColor(Comparable category,
com.illumon.iris.gui.color.Paint color)
Sets the point
Paint for the specified data point. |
CategoryDataSeries |
pointColor(Comparable category,
String color)
Sets the point
Paint for the specified data point. |
CategoryDataSeries |
pointColor(int color)
Sets the default point
Paint for this dataset. |
<CATEGORY extends Comparable,COLOR extends com.illumon.iris.gui.color.Paint> |
pointColor(Map<CATEGORY,COLOR> colors)
Uses the map
colors to determine point Paint. |
CategoryDataSeries |
pointColor(com.illumon.iris.gui.color.Paint color)
Sets the default point
Paint for this dataset. |
CategoryDataSeries |
pointColor(SelectableDataSet sds,
String keyColumn,
String valueColumn)
Maps data points in the
keyColumn of the SelectableDataSet
sds to the Paint specified in the valueColumn of sds. |
<COLOR extends com.illumon.iris.gui.color.Paint> |
pointColor(SerializableFunction<Comparable,COLOR> colors)
Uses the function
colors to determine point Paint. |
CategoryDataSeries |
pointColor(String color)
Sets the default point
Paint for this dataset. |
CategoryDataSeries |
pointColor(Table t,
String keyColumn,
String valueColumn)
Maps data points in the
keyColumn of the table t to the Paint
specified in the valueColumn of t. |
<COLOR extends Integer> |
pointColorInteger(groovy.lang.Closure<COLOR> colors)
Uses the closure
colors to determine point Paint. |
<CATEGORY extends Comparable,COLOR extends Integer> |
pointColorInteger(Map<CATEGORY,COLOR> colors)
Uses the map
colors to determine point Paint. |
<COLOR extends Integer> |
pointColorInteger(SerializableFunction<Comparable,COLOR> colors)
Uses the function
colors to determine point Paint. |
<LABEL> CategoryDataSeries |
pointLabel(groovy.lang.Closure<LABEL> labels)
Uses the closure
labels to determine the label for input categories. |
CategoryDataSeries |
pointLabel(Comparable category,
Object label)
Sets the default label for the specified data point.
|
<CATEGORY extends Comparable,LABEL> |
pointLabel(Map<CATEGORY,LABEL> labels)
Uses the map
labels to determine the label for each category in labels. |
CategoryDataSeries |
pointLabel(SelectableDataSet sds,
String keyColumn,
String valueColumn)
Maps data points in the
keyColumn of the SelectableDataSet sds
to the label specified in the valueColumn of t. |
<LABEL> CategoryDataSeries |
pointLabel(SerializableFunction<Comparable,LABEL> labels)
Uses the function
labels to determine the label for input categories. |
CategoryDataSeries |
pointLabel(Table t,
String keyColumn,
String valueColumn)
Maps data points in the
keyColumn of the table t to the label
specified in the valueColumn of t. |
CategoryDataSeries |
pointShape(groovy.lang.Closure<String> shapes)
Uses the closure
shapes to determine the shape for input categories. |
CategoryDataSeries |
pointShape(Comparable category,
com.illumon.iris.gui.shape.Shape shape)
Sets the default pointShape for the specified data point.
|
CategoryDataSeries |
pointShape(Comparable category,
String shape)
Sets the default shape for the specified data point.
|
<CATEGORY extends Comparable> |
pointShape(Map<CATEGORY,String> shapes)
Uses the map
shapes to determine the shape for each category in shapes. |
CategoryDataSeries |
pointShape(SelectableDataSet sds,
String keyColumn,
String valueColumn)
Maps data points in the
keyColumn of the SelectableDataSet sds
to the shape specified in the valueColumn of t. |
CategoryDataSeries |
pointShape(SerializableFunction<Comparable,String> shapes)
Uses the function
shapes to determine the shape for input categories. |
CategoryDataSeries |
pointShape(Table t,
String keyColumn,
String valueColumn)
Maps data points in the
keyColumn of the table t to the shape
specified in the valueColumn of t. |
<CATEGORY extends Comparable> |
pointSize(CATEGORY[] categories,
double[] factors)
Sets the point sizes for the specified data points.
|
<CATEGORY extends Comparable> |
pointSize(CATEGORY[] categories,
int[] factors)
Sets the point sizes for the specified data points.
|
<CATEGORY extends Comparable> |
pointSize(CATEGORY[] categories,
long[] factors)
Sets the point sizes for the specified data points.
|
<CATEGORY extends Comparable,NUMBER extends Number> |
pointSize(CATEGORY[] categories,
NUMBER[] factors)
Sets the point sizes for the specified data points.
|
<NUMBER extends Number> |
pointSize(groovy.lang.Closure<NUMBER> factors)
Uses the closure
factors to determine the point sizes for this dataset. |
CategoryDataSeries |
pointSize(Comparable category,
double factor)
Sets the default point size for the specified data point.
|
CategoryDataSeries |
pointSize(Comparable category,
int factor)
Sets the default point size for the specified data point.
|
CategoryDataSeries |
pointSize(Comparable category,
long factor)
Sets the default point size for the specified data point.
|
CategoryDataSeries |
pointSize(Comparable category,
Number factor)
Sets the point size for the specified data point.
|
<CATEGORY extends Comparable,NUMBER extends Number> |
pointSize(Map<CATEGORY,NUMBER> factors)
Uses the mapping
factors to determine the point sizes for the specified data points. |
CategoryDataSeries |
pointSize(SelectableDataSet sds,
String keyColumn,
String valueColumn)
Sets the size of data points in the
keyColumn of the table sds to the factor
specified in the valueColumn of sds. |
<NUMBER extends Number> |
pointSize(SerializableFunction<Comparable,NUMBER> factors)
Uses the function
factors to determine the point sizes for this dataset. |
CategoryDataSeries |
pointSize(Table t,
String keyColumn,
String valueColumn)
Sets the size of data points in the
keyColumn of the table t to the factor
specified in the valueColumn of t. |
CategoryDataSeries |
pointsVisible(Boolean visible)
Sets the visibility of the point shapes for this dataset.
|
pointColorByY, pointColorByY, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPatternCategoryDataSeries group(int group)
CategoryDataSeries linesVisible(Boolean visible)
linesVisible in interface DataSeriesvisible - whether to display lines or notCategoryDataSeries pointsVisible(Boolean visible)
pointsVisible in interface DataSeriesvisible - whether to display point shapes or notCategoryDataSeries gradientVisible(boolean visible)
gradientVisible in interface DataSeriesvisible - whether to display bar gradients or notCategoryDataSeries lineColor(com.illumon.iris.gui.color.Paint color)
Paint for this dataset.lineColor in interface DataSeriescolor - colorCategoryDataSeries lineColor(int color)
Paint for this dataset.lineColor in interface DataSeriescolor - index of the color in the series color paletteCategoryDataSeries lineColor(String color)
Paint for this dataset.lineColor in interface DataSeriescolor - colorCategoryDataSeries lineStyle(LineStyle style)
LineStyle for this datasetlineStyle in interface DataSeriesstyle - line styleCategoryDataSeries pointColor(com.illumon.iris.gui.color.Paint color)
Paint for this dataset.pointColor in interface DataSeriescolor - colorCategoryDataSeries pointColor(int color)
Paint for this dataset.pointColor in interface DataSeriescolor - index of the color in the series color paletteCategoryDataSeries pointColor(String color)
Paint for this dataset.pointColor in interface DataSeriescolor - colorCategoryDataSeries pointColor(Comparable category, com.illumon.iris.gui.color.Paint color)
Paint for the specified data point.category - data pointcolor - colorCategoryDataSeries pointColor(Comparable category, int color)
Paint for the specified data point.category - data pointcolor - index of the color in the series color paletteCategoryDataSeries pointColor(Comparable category, String color)
Paint for the specified data point.category - data pointcolor - color<CATEGORY extends Comparable,COLOR extends com.illumon.iris.gui.color.Paint> CategoryDataSeries pointColor(Map<CATEGORY,COLOR> colors)
colors to determine point Paint.CATEGORY - type of the categorical dataCOLOR - type of color for the pointscolors - map from data points to their Paints<COLOR extends com.illumon.iris.gui.color.Paint> CategoryDataSeries pointColor(SerializableFunction<Comparable,COLOR> colors)
colors to determine point Paint.COLOR - type of color for the pointscolors - function from data points to their Paints<COLOR extends com.illumon.iris.gui.color.Paint> CategoryDataSeries pointColor(groovy.lang.Closure<COLOR> colors)
colors to determine point Paint.COLOR - type of input for the closurecolors - closure from data points to their Paints<CATEGORY extends Comparable,COLOR extends Integer> CategoryDataSeries pointColorInteger(Map<CATEGORY,COLOR> colors)
colors to determine point Paint.CATEGORY - type of the categorical dataCOLOR - type of color for the pointscolors - map from data points to the index of the color palette<COLOR extends Integer> CategoryDataSeries pointColorInteger(SerializableFunction<Comparable,COLOR> colors)
colors to determine point Paint.COLOR - type of color for the pointscolors - function from data points to the index of the color palette<COLOR extends Integer> CategoryDataSeries pointColorInteger(groovy.lang.Closure<COLOR> colors)
colors to determine point Paint.COLOR - type of color palette indicescolors - closure from data points to the index of the color paletteCategoryDataSeries pointColor(Table t, String keyColumn, String valueColumn)
keyColumn of the table t to the Paint
specified in the valueColumn of t.
The valueColumn may be a column of Paints or ints/Integers.
For example,
Key Value A Color.color("red") B Color.color("blue")
the data point "A" would have point color red and "B" would be blue.
Key Value A 1 B 2
the data point "A" would have the 1-indexed point color in the color pallete, and "B" would be the 2-indexed color.
t - tablekeyColumn - column in t, specifying category valuesvalueColumn - column in t, specifying PaintsCategoryDataSeries pointColor(SelectableDataSet sds, String keyColumn, String valueColumn)
keyColumn of the SelectableDataSet
sds to the Paint specified in the valueColumn of sds.
The valueColumn may be a column of Paints or ints/Integers.
For example,
Key Value A Color.color("red") B Color.color("blue")
the data point "A" would have point color red and "B" would be blue.
Key Value A 1 B 2
the data point "A" would have the 1-indexed point color in the color pallete, and "B" would be the 2-indexed color.
sds - selectable data setkeyColumn - column in sds, specifying category valuesvalueColumn - column in sds, specifying PaintsCategoryDataSeries pointLabel(Comparable category, Object label)
category - category valuelabel - label<CATEGORY extends Comparable,LABEL> CategoryDataSeries pointLabel(Map<CATEGORY,LABEL> labels)
labels to determine the label for each category in labels.CATEGORY - type of the categorical dataLABEL - data type of the point labelslabels - map used to determine point labels<LABEL> CategoryDataSeries pointLabel(SerializableFunction<Comparable,LABEL> labels)
labels to determine the label for input categories.LABEL - data type of the point labelslabels - function used to determine point labels<LABEL> CategoryDataSeries pointLabel(groovy.lang.Closure<LABEL> labels)
labels to determine the label for input categories.LABEL - data type of the point labelslabels - closure used to determine point labelsCategoryDataSeries pointLabel(Table t, String keyColumn, String valueColumn)
keyColumn of the table t to the label
specified in the valueColumn of t.t - tablekeyColumn - column in t, specifying category valuesvalueColumn - column in t, specifying labelsCategoryDataSeries pointLabel(SelectableDataSet sds, String keyColumn, String valueColumn)
keyColumn of the SelectableDataSet sds
to the label specified in the valueColumn of t.sds - selectable data setkeyColumn - column in sds, specifying category valuesvalueColumn - column in sds, specifying labelsCategoryDataSeries pointShape(Comparable category, String shape)
category - category valueshape - shapeCategoryDataSeries pointShape(Comparable category, com.illumon.iris.gui.shape.Shape shape)
category - category valueshape - shape<CATEGORY extends Comparable> CategoryDataSeries pointShape(Map<CATEGORY,String> shapes)
shapes to determine the shape for each category in shapes.CATEGORY - type of the categorical datashapes - map used to determine point shapesCategoryDataSeries pointShape(SerializableFunction<Comparable,String> shapes)
shapes to determine the shape for input categories.shapes - function used to determine point shapesCategoryDataSeries pointShape(groovy.lang.Closure<String> shapes)
shapes to determine the shape for input categories.shapes - closure used to determine point shapesCategoryDataSeries pointShape(Table t, String keyColumn, String valueColumn)
keyColumn of the table t to the shape
specified in the valueColumn of t.t - tablekeyColumn - column in t, specifying category valuesvalueColumn - column in t, specifying shapesCategoryDataSeries pointShape(SelectableDataSet sds, String keyColumn, String valueColumn)
keyColumn of the SelectableDataSet sds
to the shape specified in the valueColumn of t.sds - selectable data setkeyColumn - column in sds, specifying category valuesvalueColumn - column in sds, specifying shapesCategoryDataSeries pointSize(Comparable category, int factor)
category - data pointfactor - factor to multiply the default size (1) byCategoryDataSeries pointSize(Comparable category, long factor)
category - data pointfactor - factor to multiply the default size (1) byCategoryDataSeries pointSize(Comparable category, double factor)
category - data pointfactor - factor to multiply the default size (1) byCategoryDataSeries pointSize(Comparable category, Number factor)
category - data pointfactor - factor to multiply the default size (1) by<CATEGORY extends Comparable> CategoryDataSeries pointSize(CATEGORY[] categories, int[] factors)
The i-th factor in factors sets the size of the
i-th data point in categories.
CATEGORY - type of the categorical datacategories - data pointsfactors - factors to multiply the default size (1) by<CATEGORY extends Comparable> CategoryDataSeries pointSize(CATEGORY[] categories, double[] factors)
The i-th factor in factors sets the size of the
i-th data point in categories.
CATEGORY - type of the categorical datacategories - data pointsfactors - factors to multiply the default size (1) by<CATEGORY extends Comparable> CategoryDataSeries pointSize(CATEGORY[] categories, long[] factors)
The i-th factor in factors sets the size of the
i-th data point in categories.
CATEGORY - type of the categorical datacategories - data pointsfactors - factors to multiply the default size (1) by<CATEGORY extends Comparable,NUMBER extends Number> CategoryDataSeries pointSize(CATEGORY[] categories, NUMBER[] factors)
The i-th factor in factors sets the size of the
i-th data point in categories.
CATEGORY - type of the categorical dataNUMBER - data type of the point sizescategories - data pointsfactors - factors to multiply the default size (1) by<CATEGORY extends Comparable,NUMBER extends Number> CategoryDataSeries pointSize(Map<CATEGORY,NUMBER> factors)
factors to determine the point sizes for the specified data points.CATEGORY - type of the categorical dataNUMBER - data type of the point sizesfactors - map used to set sizes of specific data points<NUMBER extends Number> CategoryDataSeries pointSize(SerializableFunction<Comparable,NUMBER> factors)
factors to determine the point sizes for this dataset.NUMBER - data type of the point sizesfactors - function used to set sizes of data points<NUMBER extends Number> CategoryDataSeries pointSize(groovy.lang.Closure<NUMBER> factors)
factors to determine the point sizes for this dataset.NUMBER - data type of the point sizesfactors - closure used to set sizes of data pointsCategoryDataSeries pointSize(Table t, String keyColumn, String valueColumn)
keyColumn of the table t to the factor
specified in the valueColumn of t.t - tablekeyColumn - column in t, specifying category valuesvalueColumn - column in t, specifying point sizesCategoryDataSeries pointSize(SelectableDataSet sds, String keyColumn, String valueColumn)
keyColumn of the table sds to the factor
specified in the valueColumn of sds.sds - selectable data setkeyColumn - column in sds, specifying category valuesvalueColumn - column in sds, specifying point sizes