fr.paris.lutece.plugins.form.business
Class GraphTypePieChart
java.lang.Object
fr.paris.lutece.plugins.form.business.GraphType
fr.paris.lutece.plugins.form.business.GraphTypePieChart
public class GraphTypePieChart
- extends GraphType
GraphTypePieChart
Method Summary |
org.jfree.chart.JFreeChart |
createChart(java.util.List<StatisticEntrySubmit> listStatistic,
java.lang.String strGraphTitle,
boolean nGraphThreeDimension,
boolean nGraphLabelValue)
return the JFreeChart graph associate to the graph type |
static org.jfree.chart.JFreeChart |
createPieChartGraph(java.util.List<StatisticEntrySubmit> listStatistic,
java.lang.String strGraphTitle,
boolean nGraphThreeDimension,
boolean nGraphLabelValue)
return the PieChartGraph JFreeChart graph |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphTypePieChart
public GraphTypePieChart()
createChart
public org.jfree.chart.JFreeChart createChart(java.util.List<StatisticEntrySubmit> listStatistic,
java.lang.String strGraphTitle,
boolean nGraphThreeDimension,
boolean nGraphLabelValue)
- return the JFreeChart graph associate to the graph type
- Overrides:
createChart
in class GraphType
- 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(java.util.List<StatisticEntrySubmit> listStatistic,
java.lang.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
Copyright © 2011 Mairie de Paris. All Rights Reserved.