public class PolarOptions extends Options<PolarOptions>
Constructor and Description |
---|
PolarOptions() |
Modifier and Type | Method and Description |
---|---|
PolarAnimation |
getAnimation() |
ArcElements |
getElements() |
JavaScriptFunction |
getLegendCallback() |
RadialLinearScale |
getScale() |
static RadialLinearScale |
scales()
Static factory, constructs a
Scale implementation appropriate
for a PolarOptions instance. |
PolarOptions |
setAnimation(PolarAnimation animation)
If true, will animate the rotation of the chart.
|
PolarOptions |
setElements(ArcElements elements) |
PolarOptions |
setLegendCallback(JavaScriptFunction legendCallback)
Generates the HTML legend via calls to generateLegend
|
PolarOptions |
setScale(RadialLinearScale scale)
Options for the one scale used on the chart.
|
getEvents, getHover, getLayout, getLegend, getMaintainAspectRatio, getOnClick, getOnResize, getPlugins, getResponsive, getResponsiveAnimationDuration, getTitle, getTooltips, setAnimation, setEvents, setHover, setLayout, setLegend, setMaintainAspectRatio, setOnClick, setOnResize, setPlugins, setResponsive, setResponsiveAnimationDuration, setTitle, setTooltips
public static RadialLinearScale scales()
Scale
implementation appropriate
for a PolarOptions
instance.RadialLinearScale
instancepublic RadialLinearScale getScale()
setScale(RadialLinearScale)
public PolarOptions setScale(RadialLinearScale scale)
public PolarAnimation getAnimation()
getAnimation
in class Options<PolarOptions>
setAnimation(PolarAnimation)
public PolarOptions setAnimation(PolarAnimation animation)
public JavaScriptFunction getLegendCallback()
getLegendCallback
in class Options<PolarOptions>
setLegendCallback(JavaScriptFunction legendCallback)
public PolarOptions setLegendCallback(JavaScriptFunction legendCallback)
setLegendCallback
in class Options<PolarOptions>
public ArcElements getElements()
ArcElements
instance, or null
if not setpublic PolarOptions setElements(ArcElements elements)
elements
- an ArcElements
instance, or null
Copyright © 2020. All rights reserved.