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
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractChart(D data) protectedAbstractChart(D data, O options) -
Method Summary
Modifier and TypeMethodDescriptiongetData()protected Tself()setOptions(O options) Convertthisinstance 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, waitMethods 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:ChartConvert
thisinstance to Json for use with Chart.js library. -
self
-