public class LinesChartModel extends Object
This class will be automatically converted to a JSON object.
| Constructor and Description |
|---|
LinesChartModel()
Creates a new
LinesChartModel with no id. |
| Modifier and Type | Method and Description |
|---|---|
void |
addSeries(LineSeries... lineSeries)
Adds the series to this model.
|
List<Integer> |
getBuildNumbers() |
List<String> |
getDomainAxisLabels() |
String |
getId() |
List<LineSeries> |
getSeries() |
void |
setBuildNumbers(List<Integer> builds)
Adds the specified build numbers to this model.
|
void |
setDomainAxisLabels(List<String> labels)
Adds the specified domain axis (X-axis) labels to this model.
|
void |
setId(String id) |
int |
size()
Returns the number of points in the series.
|
String |
toString() |
public LinesChartModel()
LinesChartModel with no id.public void setId(String id)
public String getId()
public void setDomainAxisLabels(List<String> labels)
labels - the X-axis labels of the modelpublic void setBuildNumbers(List<Integer> builds)
builds - the build numbers of the modelpublic void addSeries(LineSeries... lineSeries)
lineSeries - the series of the modelpublic List<LineSeries> getSeries()
public int size()
Copyright © 2016–2019. All rights reserved.