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