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 PieChart
addSeries(RatioSeries... series)
PieChart
animate(boolean isAnimate)
PieChart
doughnut()
PieChart
doughnut(int value)
com.fasterxml.jackson.databind.node.ObjectNode
getJsonConfiguration()
return common chart configurationjava.util.List<RatioSeries>
getSeriesList()
protected PieChart
getThis()
PieChart
halfCut()
boolean
isAnimate()
boolean
isDoughnut()
boolean
isHalfCut()
boolean
isShowLabel()
boolean
isShowPercent()
boolean
isShowValue()
PieChart
setDoughnut(boolean isDoughnut)
PieChart
setHalfCut(boolean halfCut)
PieChart
setSeriesList(java.util.List<RatioSeries> seriesList)
PieChart
showLabel()
PieChart
showPercent()
PieChart
showValue()
-
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:
getThis
in 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.JsonProcessingException
Description copied from class:AbstractChart
return common chart configuration- Overrides:
getJsonConfiguration
in classAbstractChart<PieChart>
- Returns:
- the
ObjectNode
configuration - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-