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 BarData
data()
Static factory, constructs anHomogeneousData
implementation appropriate for aBarChart
.getType()
static BarOptions
options()
Methods inherited from class software.xdev.chartjs.model.charts.HomogeneousChart
hasScaleWithId
Methods inherited from class software.xdev.chartjs.model.charts.AbstractChart
getData, getDefaultObjectWriter, getOptions, self, setData, setDefaultObjectWriter, setOptions, toJson
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.xdev.chartjs.model.charts.Chart
isDrawable, toJsonNative
-
Constructor Details
-
BarChart
public BarChart() -
BarChart
-
BarChart
-
-
Method Details
-
data
Static factory, constructs anHomogeneousData
implementation appropriate for aBarChart
.- Returns:
- a new
BarData
instance
-
options
- Returns:
- a new
BarOptions
instance
-
getType
- Returns:
- type of this
Chart
implementation for proper drawing in JavaScript.
-