Class GraphType

java.lang.Object
fr.paris.lutece.plugins.form.business.GraphType
Direct Known Subclasses:
GraphTypeBarChart, GraphTypePieChart

public class GraphType extends Object
class GraphType
  • Constructor Details

    • GraphType

      public GraphType()
  • Method Details

    • getClassName

      public String getClassName()
      Returns:
      the name of the class associate to the graph type
    • setClassName

      public void setClassName(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 String getTitle()
      Returns:
      the title of the graph type
    • setTitle

      public void setTitle(String title)
      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 - listStatistic
      strGraphTitle - graph title
      nGraphThreeDimension - true if the graph must be in three dimension
      nGraphLabelValue - true if the labels must appear in the graph
      Returns:
      the JFreeChart graph associate to the graph type