public class DoughnutOptions extends AbstractPieOptions
| Constructor and Description |
|---|
DoughnutOptions(AbstractChart<?,?> chart,
ChartOptions defaultValues)
Builds the object storing the chart instance and default options.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractChart<?,?> |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
protected void |
setConfiguration(T configuration) |
String |
toJSON()
Returns the JSON representation of the object.
|
getCircumference, getCutoutPercentage, getRotation, setCircumference, setCutoutPercentage, setRotationaddHandler, getAnimation, getAspectRatio, getDevicePixelRatio, getElements, getEvents, getHover, getLayout, getLegend, getLegendCallback, getPlugins, getResponsiveAnimationDuration, getTitle, getTooltips, hasDatasetSelectionHandlers, isMaintainAspectRatio, isResponsive, load, removeHandler, setAspectRatio, setDevicePixelRatio, setEvents, setLegendCallback, setMaintainAspectRatio, setResponsive, setResponsiveAnimationDurationonAdd, onRemovepublic DoughnutOptions(AbstractChart<?,?> chart, ChartOptions defaultValues)
chart - chart instancedefaultValues - default optionsprotected final void setConfiguration(T configuration)
configuration - the configuration to setprotected final T getConfiguration()
public final String toJSON()
public final AbstractChart<?,?> getChart()