Interface Chart<SELF,O extends Options<?,?>,D extends AbstractData<?,?>>
- All Known Implementing Classes:
AbstractChart
,BarChart
,BubbleChart
,DoughnutChart
,HomogeneousChart
,LineChart
,MixedChart
,PieChart
,PolarChart
,RadarChart
,ScatterChart
public interface Chart<SELF,O extends Options<?,?>,D extends AbstractData<?,?>>
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
default boolean
Deprecated, for removal: This API element is subject to removal in a future version.No functionality implemented as of 2.1.0setOptions
(O options) toJson()
Convertthis
instance to Json for use with Chart.js library.default String
Deprecated, for removal: This API element is subject to removal in a future version.As of 2.1.0toJson()
has the same functionality and should be used instead
-
Method Details
-
getType
String getType()- Returns:
- type of this
Chart
implementation for proper drawing in JavaScript.
-
toJsonNative
Deprecated, for removal: This API element is subject to removal in a future version.As of 2.1.0toJson()
has the same functionality and should be used instead -
toJson
String toJson()Convert
this
instance to Json for use with Chart.js library.- Returns:
- json representation of
this
Chart
-
isDrawable
Deprecated, for removal: This API element is subject to removal in a future version.No functionality implemented as of 2.1.0 -
setOptions
-
setData
-