Class PieChart
java.lang.Object
software.xdev.chartjs.model.charts.AbstractChart<T,O,D>
software.xdev.chartjs.model.charts.HomogeneousChart<PieChart,PieOptions,PieData>
software.xdev.chartjs.model.charts.PieChart
- All Implemented Interfaces:
Chart<PieChart,PieOptions, PieData>
-
Field Summary
Fields inherited from class software.xdev.chartjs.model.charts.AbstractChart
data, defaultObjectWriter, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PieDatadata()Static factory, constructs anHomogeneousDataimplementation appropriate for aPieChart.getType()static PieOptionsoptions()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
-
PieChart
public PieChart() -
PieChart
-
PieChart
-
-
Method Details
-
data
Static factory, constructs anHomogeneousDataimplementation appropriate for aPieChart.- Returns:
- a new
PieDatainstance
-
options
- Returns:
- a new
PieOptionsinstance
-
getType
- Returns:
- type of this
Chartimplementation for proper drawing in JavaScript.
-