public class PieChartOptions extends ChartOptions
Constructor and Description |
---|
PieChartOptions() |
Modifier and Type | Method and Description |
---|---|
Number |
getCircumference()
Gets the circumference
|
Number |
getCutoutPercentage()
Gets the cutoutPercentage
|
Number |
getRotation()
Gets the rotation
|
boolean |
isAnimateRotate()
Gets the animateRotate
|
boolean |
isAnimateScale()
Gets the animateScale
|
void |
setAnimateRotate(boolean animateRotate)
Sets the animateRotate
|
void |
setAnimateScale(boolean animateScale)
Sets the animateScale
|
void |
setCircumference(Number circumference)
Sets the circumference
|
void |
setCutoutPercentage(Number cutoutPercentage)
Sets the cutoutPercentage
|
void |
setRotation(Number rotation)
Sets the rotation
|
getElements, getLegend, getTitle, getTooltip, setElements, setLegend, setTitle, setTooltip
public Number getCutoutPercentage()
public void setCutoutPercentage(Number cutoutPercentage)
cutoutPercentage
- The percentage of the chart that is cut out of the middle.public Number getRotation()
public void setRotation(Number rotation)
rotation
- Starting angle to draw arcs from.public Number getCircumference()
public void setCircumference(Number circumference)
circumference
- Sweep to allow arcs to coverpublic boolean isAnimateRotate()
public void setAnimateRotate(boolean animateRotate)
animateRotate
- If true, the chart will animate in with a rotation animation.public boolean isAnimateScale()
public void setAnimateScale(boolean animateScale)
animateScale
- If true, will animate scaling the chart from the center outwards.Copyright © 2020. All rights reserved.