org.silverpeas.chart.pie
Class PieChartItem

java.lang.Object
  extended by org.silverpeas.chart.AbstractChartItem<PieChartItem>
      extended by org.silverpeas.chart.pie.PieChartItem
All Implemented Interfaces:
ChartItem

public class PieChartItem
extends AbstractChartItem<PieChartItem>

Author:
Yohann Chastagnier

Method Summary
protected  void computeDataAsJson(org.json.JSONObject itemAsJson)
          Computes the data of the item into a JSON representation.
 String getLabel()
           
 Number getValue()
           
 
Methods inherited from class org.silverpeas.chart.AbstractChartItem
addExtra, asJson, getExtra, getTitle, withTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLabel

public String getLabel()

getValue

public Number getValue()

computeDataAsJson

protected void computeDataAsJson(org.json.JSONObject itemAsJson)
Description copied from class: AbstractChartItem
Computes the data of the item into a JSON representation.

Specified by:
computeDataAsJson in class AbstractChartItem<PieChartItem>


Copyright © 2016 Silverpeas. All Rights Reserved.