Class LineChart
java.lang.Object
software.xdev.chartjs.model.charts.AbstractChart<T,O,D>
software.xdev.chartjs.model.charts.HomogeneousChart<LineChart,LineOptions,LineData>
software.xdev.chartjs.model.charts.LineChart
- All Implemented Interfaces:
Chart<LineChart,
LineOptions, LineData>
-
Field Summary
Fields inherited from class software.xdev.chartjs.model.charts.AbstractChart
data, defaultObjectWriter, options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LineData
data()
Static factory, constructs anHomogeneousData
implementation appropriate for aLineChart
.getType()
static LineOptions
options()
Methods inherited from class software.xdev.chartjs.model.charts.HomogeneousChart
hasScaleWithId
Methods inherited from class software.xdev.chartjs.model.charts.AbstractChart
getData, getDefaultObjectWriter, getOptions, self, setData, setDefaultObjectWriter, setOptions, toJson
-
Constructor Details
-
LineChart
public LineChart() -
LineChart
-
LineChart
-
-
Method Details
-
data
Static factory, constructs anHomogeneousData
implementation appropriate for aLineChart
.- Returns:
- a new
LineData
instance
-
options
- Returns:
- a new
LineOptions
instance
-
getType
- Returns:
- type of this
Chart
implementation for proper drawing in JavaScript.
-