org.silverpeas.chart.period
Class PeriodChartItem
java.lang.Object
org.silverpeas.chart.AbstractChartItem<ITEM_TYPE>
org.silverpeas.chart.AbstractAxisChartItem<Period,Number,PeriodChartItem>
org.silverpeas.chart.period.PeriodChartItem
- All Implemented Interfaces:
- ChartItem
public class PeriodChartItem
- extends AbstractAxisChartItem<Period,Number,PeriodChartItem>
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
computeXAsJson
protected org.json.JSONObject computeXAsJson(Period period)
- Description copied from class:
AbstractAxisChartItem
- Computes the data of the x value into a JSON representation.
- Specified by:
computeXAsJson
in class AbstractAxisChartItem<Period,Number,PeriodChartItem>
- Parameters:
period
- the value on x axis.
computeYValueAsJson
protected Number computeYValueAsJson(Number yValue)
- Description copied from class:
AbstractAxisChartItem
- Computes the data of a y value into a JSON representation.
- Specified by:
computeYValueAsJson
in class AbstractAxisChartItem<Period,Number,PeriodChartItem>
- Parameters:
yValue
- a y value from AbstractAxisChartItem.getYValues()
.
Copyright © 2016 Silverpeas. All Rights Reserved.