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 ScatterDatadata()Static factory, constructs anHomogeneousDataimplementation appropriate for aScatterChart.getType()static LineOptionsoptions()Static factory, constructs anOptionsimplementation appropriate for aScatterChart.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, toJsonMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.xdev.chartjs.model.charts.Chart
isDrawable, toJsonNative
-
Constructor Details
-
ScatterChart
public ScatterChart() -
ScatterChart
-
ScatterChart
-
-
Method Details
-
data
Static factory, constructs anHomogeneousDataimplementation appropriate for aScatterChart.- Returns:
- a new
ScatterDatainstance
-
options
Static factory, constructs anOptionsimplementation appropriate for aScatterChart.- Returns:
- a new
LineOptionsinstance
-
getType
- Returns:
- type of this
Chartimplementation for proper drawing in JavaScript.
-