org.silverpeas.chart
Interface ChartItem

All Known Implementing Classes:
AbstractAxisChartItem, AbstractChartItem, PeriodChartItem, PieChartItem

public interface ChartItem

Representation of a chart item.

Author:
Yohann Chastagnier

Method Summary
 String asJson()
          Converts the item into json data.
 String getTitle()
          Gets the label of the item.
 

Method Detail

getTitle

String getTitle()
Gets the label of the item.

Returns:
a string representation of the label that defines the item, empty if no label.

asJson

String asJson()
Converts the item into json data.

Returns:
a string that represents the item as json data.


Copyright © 2016 Silverpeas. All Rights Reserved.