public interface DataSeries extends Series, Serializable
| Modifier and Type | Method and Description |
|---|---|
DataSeries |
gradientVisible(boolean visible)
Sets whether bar gradients are visible.
|
DataSeries |
lineColor(int color)
Defines the default line color.
|
DataSeries |
lineColor(com.illumon.iris.gui.color.Paint color)
Defines the default line color.
|
DataSeries |
lineColor(String color)
Defines the default line color.
|
DataSeries |
lineStyle(LineStyle style)
Sets the line style.
|
DataSeries |
linesVisible(Boolean visible)
Sets whether lines are visible.
|
DataSeries |
pointColor(int color)
Defines the default point color.
|
DataSeries |
pointColor(com.illumon.iris.gui.color.Paint color)
Defines the default point color.
|
DataSeries |
pointColor(String color)
Defines the default point color.
|
<T extends com.illumon.iris.gui.color.Paint> |
pointColorByY(groovy.lang.Closure<T> colors)
Uses the function
colors to determine point Paint. |
<T extends com.illumon.iris.gui.color.Paint> |
pointColorByY(SerializableFunction<Double,T> colors)
Uses the function
colors to determine point Paint. |
DataSeries |
pointLabel(Object label)
Defines the default label for points in this dataset.
|
DataSeries |
pointLabelFormat(String format)
Sets the point label format.
|
DataSeries |
pointShape(com.illumon.iris.gui.shape.Shape shape)
Defines the default shape for points in this dataset.
|
DataSeries |
pointShape(String shape)
Defines the default shape for points in this dataset.
|
DataSeries |
pointSize(double factor)
Gets the default point size.
|
DataSeries |
pointSize(int factor)
Gets the default point size.
|
DataSeries |
pointSize(long factor)
Gets the default point size.
|
DataSeries |
pointSize(Number factor)
Gets the default point size.
|
DataSeries |
pointsVisible(Boolean visible)
Sets whether points are visible.
|
default DataSeries |
seriesColor(int color)
Defines the default line and point color.
|
default DataSeries |
seriesColor(com.illumon.iris.gui.color.Paint color)
Defines the default line and point color.
|
default DataSeries |
seriesColor(String color)
Defines the default line and point color.
|
default DataSeries |
toolTipPattern(String format)
Sets the tooltip format.
|
DataSeries |
xToolTipPattern(String format)
Sets the x-value tooltip format.
|
DataSeries |
yToolTipPattern(String format)
Sets the y-value tooltip format.
|
DataSeries linesVisible(Boolean visible)
visible - line visibilityDataSeries pointsVisible(Boolean visible)
visible - point visibilityDataSeries gradientVisible(boolean visible)
visible - bar gradient visibilityDataSeries pointSize(int factor)
factor - point sizeDataSeries pointSize(long factor)
factor - point sizeDataSeries pointSize(double factor)
factor - point sizeDataSeries pointSize(Number factor)
factor - point sizedefault DataSeries seriesColor(com.illumon.iris.gui.color.Paint color)
color - colordefault DataSeries seriesColor(int color)
color - colordefault DataSeries seriesColor(String color)
color - colorDataSeries pointColor(com.illumon.iris.gui.color.Paint color)
color - colorDataSeries pointColor(int color)
color - colorDataSeries pointColor(String color)
color - color<T extends com.illumon.iris.gui.color.Paint> DataSeries pointColorByY(SerializableFunction<Double,T> colors)
colors to determine point Paint.
The functions input values are the y-value of the data point.colors - function from the y-value of data points to Paint<T extends com.illumon.iris.gui.color.Paint> DataSeries pointColorByY(groovy.lang.Closure<T> colors)
colors to determine point Paint.
The functions input values are the y-value of the data point.colors - function from the y-value of data points to PaintDataSeries pointLabel(Object label)
label - labelDataSeries pointShape(String shape)
shape - shapeDataSeries pointShape(com.illumon.iris.gui.shape.Shape shape)
shape - shapeDataSeries lineColor(com.illumon.iris.gui.color.Paint color)
color - colorDataSeries lineColor(int color)
color - color palette indexDataSeries lineColor(String color)
color - colorDataSeries lineStyle(LineStyle style)
style - styleDataSeries pointLabelFormat(String 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).
format - formatdefault DataSeries toolTipPattern(String format)
format - formatDataSeries xToolTipPattern(String format)
format - formatDataSeries yToolTipPattern(String format)
format - format