|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.chart.AbstractChart<PieChartItem>
org.silverpeas.chart.pie.PieChart
public class PieChart
| Method Summary | |
|---|---|
PieChartItem |
add(String label,
Number value)
Adds a new pie part. |
static PieChart |
fromTitle(String title)
Initializes a new chart with the specified title that will provides the data in order to display them on a pie graphic. |
ChartType |
getType()
Gets the type of chart. |
static PieChart |
withoutTitle()
Initializes a new chart without title that will provides the data in order to display them on a pie graphic. |
| Methods inherited from class org.silverpeas.chart.AbstractChart |
|---|
add, addExtra, asJson, computeExtraDataAsJson, getExtra, getItems, getTitle, withTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PieChart fromTitle(String title)
title - the main title of the chart.
PieChart.public static PieChart withoutTitle()
PieChart.public ChartType getType()
Chart
ChartType.
public PieChartItem add(String label,
Number value)
label - the label.value - the value.
PieChartItem that represents the given value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||