Package org.silverpeas.core.chart
Interface Chart<CHART_ITEM_TYPE extends ChartItem>
-
- All Known Implementing Classes:
AbstractAxisChart
,AbstractChart
,PeriodChart
,PieChart
public interface Chart<CHART_ITEM_TYPE extends ChartItem>
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asJson()
Gets data list as a json array.List<CHART_ITEM_TYPE>
getItems()
Gets all items that constitutes the chart.String
getTitle()
Gets the title of the chart.ChartType
getType()
Gets the type of chart.
-
-
-
Method Detail
-
getTitle
String getTitle()
Gets the title of the chart.- Returns:
- the title of the chart.
-
getItems
List<CHART_ITEM_TYPE> getItems()
Gets all items that constitutes the chart.- Returns:
- a list of data where each data represents a chart part.
-
asJson
String asJson()
Gets data list as a json array.- Returns:
- a string that represents a json array.
-
-