Package com.jalios.jcms.chart
Class PieChart
-
Field Summary
Fields inherited from class com.jalios.jcms.chart.AbstractChart
MAPPER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSeries(RatioSeries... series) animate(boolean isAnimate) doughnut()doughnut(int value) com.fasterxml.jackson.databind.node.ObjectNodereturn common chart configurationprotected PieChartgetThis()halfCut()booleanbooleanbooleanbooleanbooleanbooleansetDoughnut(boolean isDoughnut) setHalfCut(boolean halfCut) setSeriesList(List<RatioSeries> seriesList) Methods inherited from class com.jalios.jcms.chart.AbstractChart
addPattern, getChartTitle, getDefaultconfiguration, getId, hideLegend, hideTitle, isAddPattern, isHideLegend, isHideTitle, isUseExternalLegend, serializeJsonConfiguration, setAddPattern, setChartTitle, setHideLegend, setHideTitle, setId, setUseExternalLegend, useExternalLegend, useInternalLegend
-
Constructor Details
-
PieChart
-
PieChart
public PieChart()
-
-
Method Details
-
getThis
- Specified by:
getThisin classAbstractChart<PieChart>
-
isDoughnut
public boolean isDoughnut() -
setDoughnut
-
doughnut
-
doughnut
-
isShowPercent
public boolean isShowPercent() -
showPercent
-
isShowValue
public boolean isShowValue() -
showValue
-
isShowLabel
public boolean isShowLabel() -
showLabel
-
isHalfCut
public boolean isHalfCut() -
setHalfCut
-
halfCut
-
isAnimate
public boolean isAnimate() -
animate
-
addSeries
-
getSeriesList
-
setSeriesList
-
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- theJsonProcessingException
-