Class GraphType
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.GraphType
-
- Direct Known Subclasses:
GraphTypeBarChart,GraphTypePieChart
public class GraphType extends java.lang.Objectclass GraphType
-
-
Constructor Summary
Constructors Constructor Description GraphType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jfree.chart.JFreeChartcreateChart(java.util.List<StatisticEntrySubmit> listStatistic, java.lang.String strGraphTitle, boolean nGraphThreeDimension, boolean nGraphLabelValue)return the JFreeChart graph associate to the graph typejava.lang.StringgetClassName()intgetIdGraphType()java.lang.StringgetTitle()voidsetClassName(java.lang.String className)set the name of the class associate to the graph typevoidsetIdGraphType(int idGraphType)set the id of the graph typevoidsetTitle(java.lang.String title)set the title of the graph type
-
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
- Returns:
- the name of the class associate to the graph type
-
setClassName
public void setClassName(java.lang.String className)
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
public java.lang.String getTitle()
- Returns:
- the title of the graph type
-
setTitle
public void setTitle(java.lang.String title)
set the title of the graph type- Parameters:
title- the title of the graph type
-
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- 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
-
-