Class GraphType

    • Constructor Summary

      Constructors 
      Constructor Description
      GraphType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
      java.lang.String getClassName()  
      int getIdGraphType()  
      java.lang.String getTitle()  
      void setClassName​(java.lang.String className)
      set the name of the class associate to the graph type
      void setIdGraphType​(int idGraphType)
      set the id of the graph type
      void setTitle​(java.lang.String title)
      set the title of the graph type
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphType

        public GraphType()
    • 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 - 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