Package nl.crashdata.chartjs.data.simple
Class SimpleChartJsDataset<V extends Serializable>
- java.lang.Object
-
- nl.crashdata.chartjs.data.simple.SimpleChartJsDataset<V>
-
- All Implemented Interfaces:
Serializable,ChartJsDataset<V>
public class SimpleChartJsDataset<V extends Serializable> extends Object implements ChartJsDataset<V>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleChartJsDataset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ChartJsRGBAColor>getBackgroundColor()List<ChartJsRGBAColor>getBorderColor()List<Integer>getBorderWidth()List<V>getData()StringgetFill()List<ChartJsRGBAColor>getHoverBackgroundColor()List<ChartJsRGBAColor>getHoverBorderColor()List<Integer>getHoverBorderWidth()StringgetLabel()voidsetBackgroundColor(List<ChartJsRGBAColor> backgroundColor)voidsetBorderColor(List<ChartJsRGBAColor> borderColor)voidsetBorderWidth(List<Integer> borderWidth)voidsetData(List<V> data)voidsetFill(String fill)voidsetHoverBackgroundColor(List<ChartJsRGBAColor> hoverBackgroundColor)voidsetHoverBorderColor(List<ChartJsRGBAColor> hoverBorderColor)voidsetHoverBorderWidth(List<Integer> hoverBorderWidth)voidsetLabel(String label)
-
-
-
Method Detail
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceChartJsDataset<V extends Serializable>
-
setLabel
public void setLabel(String label)
-
getBackgroundColor
public List<ChartJsRGBAColor> getBackgroundColor()
- Specified by:
getBackgroundColorin interfaceChartJsDataset<V extends Serializable>
-
setBackgroundColor
public void setBackgroundColor(List<ChartJsRGBAColor> backgroundColor)
-
getBorderColor
public List<ChartJsRGBAColor> getBorderColor()
- Specified by:
getBorderColorin interfaceChartJsDataset<V extends Serializable>
-
setBorderColor
public void setBorderColor(List<ChartJsRGBAColor> borderColor)
-
getBorderWidth
public List<Integer> getBorderWidth()
- Specified by:
getBorderWidthin interfaceChartJsDataset<V extends Serializable>
-
getHoverBackgroundColor
public List<ChartJsRGBAColor> getHoverBackgroundColor()
- Specified by:
getHoverBackgroundColorin interfaceChartJsDataset<V extends Serializable>
-
setHoverBackgroundColor
public void setHoverBackgroundColor(List<ChartJsRGBAColor> hoverBackgroundColor)
-
getHoverBorderColor
public List<ChartJsRGBAColor> getHoverBorderColor()
- Specified by:
getHoverBorderColorin interfaceChartJsDataset<V extends Serializable>
-
setHoverBorderColor
public void setHoverBorderColor(List<ChartJsRGBAColor> hoverBorderColor)
-
getHoverBorderWidth
public List<Integer> getHoverBorderWidth()
- Specified by:
getHoverBorderWidthin interfaceChartJsDataset<V extends Serializable>
-
getFill
public String getFill()
- Specified by:
getFillin interfaceChartJsDataset<V extends Serializable>
-
setFill
public void setFill(String fill)
-
getData
public List<V> getData()
- Specified by:
getDatain interfaceChartJsDataset<V extends Serializable>
-
-