public class PolarAreaOptions extends SingleScaleOptions
Constructor and Description |
---|
PolarAreaOptions(IsChart chart,
ChartOptions defaultValues)
Builds the object storing the chart instance and default values.
|
Modifier and Type | Method and Description |
---|---|
IsChart |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
double |
getStartAngle()
Returns the starting angle to draw arcs for the first item in a dataset.
|
void |
merge(NativeObjectContainer source,
String property)
Merge a native object into this one with a specific property name.
This is used by plugins implementation (native java script ones) when they are not using the standard way to add plugin configuration into options of chart. |
static void |
register(IsChart chart,
org.pepstock.charba.client.configuration.IsEventProvider provider)
Adds the event provider implementation as handlers of chart.
|
protected void |
setConfiguration(T configuration) |
void |
setStartAngle(double startAngle)
Sets the starting angle to draw arcs for the first item in a dataset.
|
String |
toJSON()
Returns the JSON representation of the object.
|
setAxis
getAnimation, getAspectRatio, getDevicePixelRatio, getElements, getEvents, getHover, getLayout, getLegend, getLegendCallback, getPlugins, getResponsiveAnimationDuration, getTitle, getTooltips, hasAxisClickHandlers, hasDatasetSelectionHandlers, hasTitleClickHandlers, isMaintainAspectRatio, isResponsive, load, onAdd, onRemove, setAspectRatio, setDevicePixelRatio, setEvents, setLegendCallback, setMaintainAspectRatio, setResponsive, setResponsiveAnimationDuration
public PolarAreaOptions(IsChart chart, ChartOptions defaultValues)
chart
- chart instancedefaultValues
- defaults options of polar area chartpublic void setStartAngle(double startAngle)
startAngle
- starting angle to draw arcs for the first item in a dataset.public double getStartAngle()
public static void register(IsChart chart, org.pepstock.charba.client.configuration.IsEventProvider provider)
chart
- chart instanceprovider
- event provider implmentationprotected final void setConfiguration(T configuration)
configuration
- the configuration to setprotected final T getConfiguration()
public final void merge(NativeObjectContainer source, String property)
source
- native object container to addproperty
- property namepublic final String toJSON()
public final IsChart getChart()