Class GraphType
java.lang.Object
fr.paris.lutece.plugins.form.business.GraphType
- Direct Known Subclasses:
GraphTypeBarChart,GraphTypePieChart
class GraphType
-
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 typeintgetTitle()voidsetClassName(String className) set the name of the class associate to the graph typevoidsetIdGraphType(int idGraphType) set the id of the graph typevoidset the title of the graph type
-
Constructor Details
-
GraphType
public GraphType()
-
-
Method Details
-
getClassName
- Returns:
- the name of the class associate to the graph type
-
setClassName
set the name of the class associate to the graph type- Parameters:
className- the name of the class associate to the graph type
-
getIdGraphType
public int getIdGraphType()- Returns:
- the id of the graph type
-
setIdGraphType
public void setIdGraphType(int idGraphType) set the id of the graph type- Parameters:
idGraphType- the id of the graph type
-
getTitle
- Returns:
- the title of the graph type
-
setTitle
set the title of the graph type- Parameters:
title- the title of the graph type
-
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- 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
-