public class DoughnutOptions extends Options<DoughnutOptions>
Constructor and Description |
---|
DoughnutOptions() |
Modifier and Type | Method and Description |
---|---|
DoughnutAnimation |
getAnimation() |
BigDecimal |
getCircumference() |
BigDecimal |
getCutoutPercentage() |
ArcElements |
getElements() |
BigDecimal |
getRotation() |
DoughnutOptions |
setAnimation(DoughnutAnimation animation)
If true, will animate the rotation of the chart.
|
DoughnutOptions |
setCircumference(BigDecimal circumference)
Sweep to allow arcs to cover
|
DoughnutOptions |
setCutoutPercentage(BigDecimal cutoutPercentage)
The percentage of the chart that is cut out of the middle.
|
DoughnutOptions |
setElements(ArcElements elements) |
DoughnutOptions |
setRotation(BigDecimal rotation)
Starting angle to draw arcs from
|
getEvents, getHover, getLayout, getLegend, getLegendCallback, getMaintainAspectRatio, getOnClick, getOnResize, getPlugins, getResponsive, getResponsiveAnimationDuration, getTitle, getTooltips, setAnimation, setEvents, setHover, setLayout, setLegend, setLegendCallback, setMaintainAspectRatio, setOnClick, setOnResize, setPlugins, setResponsive, setResponsiveAnimationDuration, setTitle, setTooltips
public BigDecimal getCutoutPercentage()
public DoughnutOptions setCutoutPercentage(BigDecimal cutoutPercentage)
public BigDecimal getRotation()
setRotation(BigDecimal rotation)
public DoughnutOptions setRotation(BigDecimal rotation)
public BigDecimal getCircumference()
public DoughnutOptions setCircumference(BigDecimal circumference)
public DoughnutAnimation getAnimation()
getAnimation
in class Options<DoughnutOptions>
setAnimation(DoughnutAnimation)
public DoughnutOptions setAnimation(DoughnutAnimation animation)
public ArcElements getElements()
ArcElements
instance, or null
if not setpublic DoughnutOptions setElements(ArcElements elements)
elements
- an ArcElements
instance, or null
Copyright © 2020. All rights reserved.