java.lang.Object
software.xdev.chartjs.model.charts.AbstractChart<T,O,D>
- All Implemented Interfaces:
Chart<T,
O, D>
- Direct Known Subclasses:
BarChart
,BubbleChart
,DoughnutChart
,LineChart
,PieChart
,PolarChart
,RadarChart
,ScatterChart
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
AbstractChart
(D data) protected
AbstractChart
(D data, O options) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
protected T
self()
setOptions
(O options) Convertthis
instance to Json for use with Chart.js library.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.xdev.chartjs.model.charts.Chart
getType, isDrawable, toJson
-
Field Details
-
data
-
options
-
objectWriter
protected final com.fasterxml.jackson.databind.ObjectWriter objectWriter
-
-
Constructor Details
-
AbstractChart
protected AbstractChart() -
AbstractChart
-
AbstractChart
-
-
Method Details
-
getData
-
setData
-
getOptions
-
setOptions
-
toJsonNative
Description copied from interface:Chart
Convert
this
instance to Json for use with Chart.js library. -
self
-