Class ScatterChart
java.lang.Object
software.xdev.chartjs.model.charts.AbstractChart<T,O,D>
software.xdev.chartjs.model.charts.HomogeneousChart<ScatterChart,LineOptions,ScatterData>
software.xdev.chartjs.model.charts.ScatterChart
- All Implemented Interfaces:
Chart<ScatterChart,
LineOptions, ScatterData>
-
Field Summary
Fields inherited from class software.xdev.chartjs.model.charts.AbstractChart
data, defaultObjectWriter, options
-
Constructor Summary
ConstructorsConstructorDescriptionScatterChart
(ScatterData data) ScatterChart
(ScatterData data, LineOptions options) -
Method Summary
Modifier and TypeMethodDescriptionstatic ScatterData
data()
Static factory, constructs anHomogeneousData
implementation appropriate for aScatterChart
.getType()
static LineOptions
options()
Static factory, constructs anOptions
implementation appropriate for aScatterChart
.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
-
ScatterChart
public ScatterChart() -
ScatterChart
-
ScatterChart
-
-
Method Details
-
data
Static factory, constructs anHomogeneousData
implementation appropriate for aScatterChart
.- Returns:
- a new
ScatterData
instance
-
options
Static factory, constructs anOptions
implementation appropriate for aScatterChart
.- Returns:
- a new
LineOptions
instance
-
getType
- Returns:
- type of this
Chart
implementation for proper drawing in JavaScript.
-