Class BaseDataSet
- java.lang.Object
-
- org.apache.syncope.client.console.chartjs.BaseDataSet
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BarDataSet
,DoughnutDataSet
,PointColorDataSet
public abstract class BaseDataSet extends Object implements Serializable
Provides the simplest kind of a dataset. Besides the list of data itself, it contains default values for fill - and stroke color.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseDataSet(List<? extends Number> data)
Instantiates a new abstract base data set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends Number>
getData()
String
getFillColor()
Gets the fill color.String
getStrokeColor()
Gets the stroke color.BaseDataSet
setFillColor(String fillColor)
Sets the fill color.BaseDataSet
setStrokeColor(String strokeColor)
Sets the stroke color.
-
-
-
Method Detail
-
getFillColor
public String getFillColor()
Gets the fill color.- Returns:
- the fill color
-
setFillColor
public BaseDataSet setFillColor(String fillColor)
Sets the fill color.- Parameters:
fillColor
- the fill color- Returns:
- the abstract base data set
-
getStrokeColor
public String getStrokeColor()
Gets the stroke color.- Returns:
- the stroke color
-
setStrokeColor
public BaseDataSet setStrokeColor(String strokeColor)
Sets the stroke color.- Parameters:
strokeColor
- the stroke color- Returns:
- the abstract base data set
-
-