Class GraphTypeBarChart


  • public class GraphTypeBarChart
    extends GraphType
    class GraphTypeBarChart
    • Constructor Detail

      • GraphTypeBarChart

        public GraphTypeBarChart()
    • Method Detail

      • 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 - 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
      • createBarChart

        public static org.jfree.chart.JFreeChart createBarChart​(java.util.List<StatisticEntrySubmit> listStatistic,
                                                                java.lang.String strGraphTitle,
                                                                boolean nGraphThreeDimension,
                                                                boolean nGraphLabelValue)
        return the JFreeChart BarChart graph
        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