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