Module nl.crashdata.chartjs.data
Package nl.crashdata.chartjs.data
Interface ChartJsDataset<E extends Serializable>
-
- Type Parameters:
E- The type of the elements of the data.
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleChartJsDataset
public interface ChartJsDataset<E extends Serializable> extends Serializable
Represents the configuration of one dataset for a chart. In other words, this represents the data for one line in a line chart. If there are moultiple lines, there will be multiple datasets. Corresponds to the elements of theconfig.data.datasetsproperty.- Author:
- haster
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ChartJsRGBAColor>getBackgroundColor()List<ChartJsRGBAColor>getBorderColor()List<Integer>getBorderWidth()List<E>getData()ChartJsFillgetFill()List<ChartJsRGBAColor>getHoverBackgroundColor()List<ChartJsRGBAColor>getHoverBorderColor()List<Integer>getHoverBorderWidth()StringgetLabel()StringgetStack()
-
-
-
Method Detail
-
getLabel
String getLabel()
-
getBackgroundColor
List<ChartJsRGBAColor> getBackgroundColor()
-
getBorderColor
List<ChartJsRGBAColor> getBorderColor()
-
getHoverBackgroundColor
List<ChartJsRGBAColor> getHoverBackgroundColor()
-
getHoverBorderColor
List<ChartJsRGBAColor> getHoverBorderColor()
-
getFill
ChartJsFill getFill()
-
getStack
String getStack()
-
-