Class Data
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.charts.pojos.Data
-
public class Data extends Object
The chart data to be displayed.
-
-
Constructor Summary
Constructors Constructor Description Data()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Dataset>getDatasets()Get the data sets.List<String>getLabels()Get the labels for the data sets.voidsetDatasets(List<Dataset> datasets)Set the data sets.voidsetLabels(List<String> labels)Set the labels for the data sets.
-
-
-
Method Detail
-
getLabels
public List<String> getLabels()
Get the labels for the data sets.- Returns:
- The list of labels.
-
setLabels
public void setLabels(List<String> labels)
Set the labels for the data sets.- Parameters:
labels- The list of labels.
-
getDatasets
public List<Dataset> getDatasets()
Get the data sets.- Returns:
- The list of
Datasetinstances.
-
-