Class AbstractPieChartBuilder
- java.lang.Object
-
- org.silverpeas.web.silverstatistics.control.AbstractPieChartBuilder
-
- Direct Known Subclasses:
DocPieChartBuilder
,DocSizePieChartBuilder
,PubliPieChartBuilder
,UserPieChartBuilder
public abstract class AbstractPieChartBuilder extends Object
- Author:
- BERTINL
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
FINESSE_GROUPE
protected static String
FINESSE_TOUS
protected static String
FINESSE_USER
-
Constructor Summary
Constructors Constructor Description AbstractPieChartBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PieChart
getChart(String spaceId, List<String[]> currentStats)
abstract String
getChartTitle()
protected PieChart
getPieChartFrom(List<String> labels, List values)
protected void
setScope(String scope)
-
-
-
Field Detail
-
FINESSE_TOUS
protected static final String FINESSE_TOUS
- See Also:
- Constant Field Values
-
FINESSE_GROUPE
protected static final String FINESSE_GROUPE
- See Also:
- Constant Field Values
-
FINESSE_USER
protected static final String FINESSE_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChart
public PieChart getChart(String spaceId, List<String[]> currentStats)
- Parameters:
spaceId
- the space identifiercurrentStats
- list of current statistics- Returns:
- a PieChart in 2D
-
setScope
protected void setScope(String scope)
-
getChartTitle
public abstract String getChartTitle()
-
-