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 LineDatadata()Static factory, constructs anHomogeneousDataimplementation appropriate for aLineChart.getType()static LineOptionsoptions()Methods inherited from class software.xdev.chartjs.model.charts.HomogeneousChart
hasScaleWithIdMethods 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 anHomogeneousDataimplementation appropriate for aLineChart.- Returns:
- a new
LineDatainstance
-
options
- Returns:
- a new
LineOptionsinstance
-
getType
- Returns:
- type of this
Chartimplementation for proper drawing in JavaScript.
-