Package com.jalios.jcms.chart
Class PieChart
- java.lang.Object
 - 
- com.jalios.jcms.chart.AbstractChart<PieChart>
 - 
- com.jalios.jcms.chart.PieChart
 
 
 
- 
public class PieChart extends AbstractChart<PieChart>
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PieChartaddSeries(RatioSeries... series)PieChartanimate(boolean isAnimate)PieChartdoughnut()PieChartdoughnut(int value)com.fasterxml.jackson.databind.node.ObjectNodegetJsonConfiguration()return common chart configurationjava.util.List<RatioSeries>getSeriesList()protected PieChartgetThis()PieCharthalfCut()booleanisAnimate()booleanisDoughnut()booleanisHalfCut()booleanisShowLabel()booleanisShowPercent()booleanisShowValue()PieChartsetDoughnut(boolean isDoughnut)PieChartsetHalfCut(boolean halfCut)PieChartsetSeriesList(java.util.List<RatioSeries> seriesList)PieChartshowLabel()PieChartshowPercent()PieChartshowValue()- 
Methods inherited from class com.jalios.jcms.chart.AbstractChart
addPattern, getChartTitle, getDefaultconfiguration, hideLegend, hideTitle, isAddPattern, isHideLegend, isHideTitle, setAddPattern, setChartTitle, setHideLegend, setHideTitle 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getThis
protected PieChart getThis()
- Specified by:
 getThisin classAbstractChart<PieChart>
 
- 
isDoughnut
public boolean isDoughnut()
 
- 
setDoughnut
public PieChart setDoughnut(boolean isDoughnut)
 
- 
doughnut
public PieChart doughnut()
 
- 
doughnut
public PieChart doughnut(int value)
 
- 
isShowPercent
public boolean isShowPercent()
 
- 
showPercent
public PieChart showPercent()
 
- 
isShowValue
public boolean isShowValue()
 
- 
showValue
public PieChart showValue()
 
- 
isShowLabel
public boolean isShowLabel()
 
- 
showLabel
public PieChart showLabel()
 
- 
isHalfCut
public boolean isHalfCut()
 
- 
setHalfCut
public PieChart setHalfCut(boolean halfCut)
 
- 
halfCut
public PieChart halfCut()
 
- 
isAnimate
public boolean isAnimate()
 
- 
animate
public PieChart animate(boolean isAnimate)
 
- 
addSeries
public PieChart addSeries(RatioSeries... series)
 
- 
getSeriesList
public java.util.List<RatioSeries> getSeriesList()
 
- 
setSeriesList
public PieChart setSeriesList(java.util.List<RatioSeries> seriesList)
 
- 
getJsonConfiguration
public com.fasterxml.jackson.databind.node.ObjectNode getJsonConfiguration() throws com.fasterxml.jackson.core.JsonProcessingExceptionDescription copied from class:AbstractChartreturn common chart configuration- Overrides:
 getJsonConfigurationin classAbstractChart<PieChart>- Returns:
 - the 
ObjectNodeconfiguration - Throws:
 com.fasterxml.jackson.core.JsonProcessingException
 
 - 
 
 -