Package org.silverpeas.core.chart.period
Class PeriodChartItem
- java.lang.Object
-
- org.silverpeas.core.chart.AbstractChartItem<ITEM_TYPE>
-
- org.silverpeas.core.chart.AbstractAxisChartItem<Period,Number,PeriodChartItem>
-
- org.silverpeas.core.chart.period.PeriodChartItem
-
- All Implemented Interfaces:
ChartItem
public class PeriodChartItem extends AbstractAxisChartItem<Period,Number,PeriodChartItem>
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performXValue(JSONCodec.JSONObject jsonObject, Period period)
Complete the given json object with the given X value.protected void
performYValue(JSONCodec.JSONArray jsonArray, Number yValue)
Complete the given json array with the given Y value associated to the X one.-
Methods inherited from class org.silverpeas.core.chart.AbstractAxisChartItem
add, completeJsonData, getX, getYValues
-
Methods inherited from class org.silverpeas.core.chart.AbstractChartItem
addExtra, asJson, getExtra, getJsonProducer, getTitle, withTitle
-
-
-
-
Method Detail
-
performXValue
protected void performXValue(JSONCodec.JSONObject jsonObject, Period period)
Description copied from class:AbstractAxisChartItem
Complete the given json object with the given X value.- Specified by:
performXValue
in classAbstractAxisChartItem<Period,Number,PeriodChartItem>
- Parameters:
jsonObject
- the json object to complete.period
- the value on x axis.
-
performYValue
protected void performYValue(JSONCodec.JSONArray jsonArray, Number yValue)
Description copied from class:AbstractAxisChartItem
Complete the given json array with the given Y value associated to the X one.- Specified by:
performYValue
in classAbstractAxisChartItem<Period,Number,PeriodChartItem>
- Parameters:
jsonArray
- the json array to complete.yValue
- a y value fromAbstractAxisChartItem.getYValues()
.
-
-