Class PolarOptions
java.lang.Object
software.xdev.chartjs.model.options.Options<PolarOptions,PolarAnimation>
software.xdev.chartjs.model.options.PolarOptions
-
Field Summary
FieldsFields inherited from class software.xdev.chartjs.model.options.Options
animation, animations, events, hover, layout, legendCallback, maintainAspectRatio, onClick, onResize, plugins, responsive, responsiveAnimationDuration, scales
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetScale()
static RadialLinearScaleOptions
scales()
Static factory, constructs a Scale implementation appropriate for aPolarOptions
instance.setElements
(ArcElements elements) setScale
(RadialLinearScaleOptions scale) Options for the one scale used on the chart.Methods inherited from class software.xdev.chartjs.model.options.Options
getAnimation, getAnimations, getEvents, getHover, getLayout, getLegendCallback, getMaintainAspectRatio, getOnClick, getOnResize, getPlugins, getResponsive, getResponsiveAnimationDuration, getScales, self, setAnimation, setAnimations, setEvents, setHover, setLayout, setLegendCallback, setMaintainAspectRatio, setOnClick, setOnResize, setPlugins, setResponsive, setResponsiveAnimationDuration, setScales
-
Field Details
-
scale
- See Also:
-
elements
-
-
Constructor Details
-
PolarOptions
public PolarOptions()
-
-
Method Details
-
scales
Static factory, constructs a Scale implementation appropriate for aPolarOptions
instance.- Returns:
- a new
RadialLinearScaleOptions
instance
-
getScale
- See Also:
-
setScale
Options for the one scale used on the chart. Use this to style the ticks, labels, and grid. -
getElements
- Returns:
ArcElements
instance, ornull
if not set
-
setElements
- Parameters:
elements
- anArcElements
instance, ornull
- Returns:
- this instance for method chaining
-