public interface Chart extends Serializable
Axes objects.| Modifier and Type | Method and Description |
|---|---|
Axes |
axes(int id)
Gets an axes by id.
|
Axes |
axes(String name)
Gets an axes by name.
|
Chart |
chartRemoveSeries(String... names)
Removes the series with the specified
names from this Chart. |
Chart |
chartTitle(String title)
Sets the title of this Chart.
|
Chart |
chartTitleColor(com.illumon.iris.gui.color.Paint color)
Sets the color of this Chart's title.
|
Chart |
chartTitleColor(String color)
Sets the color of this Chart's title.
|
Chart |
chartTitleFont(Font font)
Sets the font of this Chart's title.
|
Chart |
chartTitleFont(String family,
String style,
int size)
Sets the font of this Chart's title.
|
Chart |
colSpan(int n)
Sets the size of this Chart within the grid of the figure.
|
Chart |
legendColor(com.illumon.iris.gui.color.Paint color)
Sets the color of the text inside the Chart's legend.
|
Chart |
legendColor(String color)
Sets the color of the text inside the Chart's legend.
|
Chart |
legendFont(Font font)
Sets the font of this Chart's legend.
|
Chart |
legendFont(String family,
String style,
int size)
Sets the font of this Chart's legend.
|
Chart |
legendVisible(boolean visible)
Sets whether the Chart's legend is shown or hidden.
|
Axes |
newAxes()
Creates new
Axes with dimension 2 on this Chart. |
Axes |
newAxes(int dim)
Creates new
Axes with dimension dim on this Chart. |
Axes |
newAxes(String name)
Creates new
Axes with dimension 2 on this Chart. |
Axes |
newAxes(String name,
int dim)
Creates new
Axes with dimension dim on this Chart. |
Chart |
plotOrientation(String orientation)
Sets the orientation of plots in this Chart.
|
Chart |
rowSpan(int n)
Sets the size of this Chart within the grid of the figure.
|
Chart |
span(int rowSpan,
int colSpan)
Sets the size of this Chart within the grid of the figure.
|
Chart chartRemoveSeries(String... names)
names from this Chart.names - series namesChart chartTitle(String title)
title - titleChart chartTitleFont(Font font)
font - fontChart chartTitleFont(String family, String style, int size)
family - font family; if null, set to Arialstyle - font style; if null, set to Font.FontStyle PLAINsize - the point size of the FontChart chartTitleColor(com.illumon.iris.gui.color.Paint color)
color - colorChart chartTitleColor(String color)
color - colorChart legendVisible(boolean visible)
visible - whether the Chart's legend is shown or hiddenChart legendFont(Font font)
font - fontChart legendFont(String family, String style, int size)
family - font family; if null, set to Arialstyle - font style; if null, set to Font.FontStyle PLAINsize - the point size of the FontChart legendColor(com.illumon.iris.gui.color.Paint color)
color - colorChart legendColor(String color)
color - colorChart span(int rowSpan, int colSpan)
rowSpan - how many rows tallcolSpan - how many columns wideChart colSpan(int n)
n - how many columns wideChart rowSpan(int n)
n - how many rows tallAxes newAxes()
Axes with dimension 2 on this Chart.Axes on this ChartAxes newAxes(String name)
Axes with dimension 2 on this Chart.name - name for the axesAxes on this ChartAxes axes(int id)
id - axes id.Axes axes(String name)
name - axes name.