Class ChartFrame

    • Constructor Detail

      • ChartFrame

        public ChartFrame​(String title,
                          JFreeChart chart)
        Constructs a frame for a chart.
        Parameters:
        title - the frame title.
        chart - the chart.
      • ChartFrame

        public ChartFrame​(String title,
                          JFreeChart chart,
                          boolean scrollPane)
        Constructs a frame for a chart.
        Parameters:
        title - the frame title.
        chart - the chart.
        scrollPane - if true, put the Chart(Panel) into a JScrollPane.
    • Method Detail

      • getChartPanel

        public ChartPanel getChartPanel()
        Returns the chart panel for the frame.
        Returns:
        The chart panel.