Package org.silverpeas.core.chart.pie
Class PieChartItem
- java.lang.Object
-
- org.silverpeas.core.chart.AbstractChartItem<PieChartItem>
-
- org.silverpeas.core.chart.pie.PieChartItem
-
- All Implemented Interfaces:
ChartItem
public class PieChartItem extends AbstractChartItem<PieChartItem>
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
completeJsonData(JSONCodec.JSONObject itemAsJson)
Completes the given json object with the data of specific implementations.String
getLabel()
Number
getValue()
-
Methods inherited from class org.silverpeas.core.chart.AbstractChartItem
addExtra, asJson, getExtra, getJsonProducer, getTitle, withTitle
-
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
getValue
public Number getValue()
-
completeJsonData
protected void completeJsonData(JSONCodec.JSONObject itemAsJson)
Description copied from class:AbstractChartItem
Completes the given json object with the data of specific implementations.- Specified by:
completeJsonData
in classAbstractChartItem<PieChartItem>
- Parameters:
itemAsJson
- the json object to complete.
-
-