public class LineSeries extends Object
This class will be automatically converted to a JSON object.
| Modifier and Type | Class and Description |
|---|---|
static class |
LineSeries.FilledMode
Determines whether the area of the lines should be filled or just the lines should be shown.
|
static class |
LineSeries.StackedMode
Determines whether multiple lines of a chart will be stacked or shown as separate lines.
|
| Constructor and Description |
|---|
LineSeries(String name,
String color,
LineSeries.StackedMode stackedMode,
LineSeries.FilledMode filledMode)
Creates a new instance of
LineSeries. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int value)
Adds a new build result to this series.
|
void |
addAll(List<Integer> values)
Adds a new build result to this series.
|
AreaStyle |
getAreaStyle() |
List<Integer> |
getData() |
ItemStyle |
getItemStyle() |
String |
getName() |
String |
getStack() |
String |
getSymbol() |
String |
getType() |
public LineSeries(String name, String color, LineSeries.StackedMode stackedMode, LineSeries.FilledMode filledMode)
LineSeries.name - the name of the seriescolor - the color of the seriesstackedMode - determines the LineSeries.StackedMode to usefilledMode - determines the LineSeries.FilledMode to usepublic String getName()
public String getSymbol()
public String getStack()
public String getType()
@Nullable public AreaStyle getAreaStyle()
public ItemStyle getItemStyle()
public void add(int value)
value - the new build resultCopyright © 2016–2019. All rights reserved.