Class GraphTypePieChart
java.lang.Object
fr.paris.lutece.plugins.form.business.GraphType
fr.paris.lutece.plugins.form.business.GraphTypePieChart
GraphTypePieChart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jfree.chart.JFreeChartcreateChart(List<StatisticEntrySubmit> listStatistic, String strGraphTitle, boolean nGraphThreeDimension, boolean nGraphLabelValue) return the JFreeChart graph associate to the graph typestatic org.jfree.chart.JFreeChartcreatePieChartGraph(List<StatisticEntrySubmit> listStatistic, String strGraphTitle, boolean nGraphThreeDimension, boolean nGraphLabelValue) return the PieChartGraph JFreeChart graphMethods inherited from class fr.paris.lutece.plugins.form.business.GraphType
getClassName, getIdGraphType, getTitle, setClassName, setIdGraphType, setTitle
-
Constructor Details
-
GraphTypePieChart
public GraphTypePieChart()
-
-
Method Details
-
createChart
public org.jfree.chart.JFreeChart createChart(List<StatisticEntrySubmit> listStatistic, String strGraphTitle, boolean nGraphThreeDimension, boolean nGraphLabelValue) return the JFreeChart graph associate to the graph type- Overrides:
createChartin classGraphType- Parameters:
listStatistic- listStatisticstrGraphTitle- graph titlenGraphThreeDimension- true if the graph must be in three dimensionnGraphLabelValue- true if the labels must appear in the graph- Returns:
- the JFreeChart graph associate to the graph type
-
createPieChartGraph
public static org.jfree.chart.JFreeChart createPieChartGraph(List<StatisticEntrySubmit> listStatistic, String strGraphTitle, boolean nGraphThreeDimension, boolean nGraphLabelValue) return the PieChartGraph JFreeChart graph- Parameters:
listStatistic- listStatisticstrGraphTitle- graph titlenGraphThreeDimension- true if the graph must be in three dimensionnGraphLabelValue- true if the labels must appear in the graph- Returns:
- the JFreeChart graph associate to the graph type
-