Class DoughnutChart
java.lang.Object
software.xdev.chartjs.model.charts.AbstractChart<T,O,D>
software.xdev.chartjs.model.charts.HomogeneousChart<DoughnutChart,DoughnutOptions,DoughnutData>
software.xdev.chartjs.model.charts.DoughnutChart
- All Implemented Interfaces:
Chart<DoughnutChart,DoughnutOptions, DoughnutData>
-
Field Summary
Fields inherited from class software.xdev.chartjs.model.charts.AbstractChart
data, defaultObjectWriter, options -
Constructor Summary
ConstructorsConstructorDescriptionDoughnutChart(DoughnutData data) DoughnutChart(DoughnutData data, DoughnutOptions options) -
Method Summary
Modifier and TypeMethodDescriptionstatic DoughnutDatadata()Static factory, constructs anHomogeneousDataimplementation appropriate for aDoughnutChart.getType()static DoughnutOptionsoptions()Static factory, constructs anOptionsimplementation appropriate for aDoughnutChart.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
-
DoughnutChart
public DoughnutChart() -
DoughnutChart
-
DoughnutChart
-
-
Method Details
-
data
Static factory, constructs anHomogeneousDataimplementation appropriate for aDoughnutChart.- Returns:
- a new
DoughnutDatainstance
-
options
Static factory, constructs anOptionsimplementation appropriate for aDoughnutChart.- Returns:
- a new
DoughnutOptionsinstance
-
getType
- Returns:
- type of this
Chartimplementation for proper drawing in JavaScript.
-