クラス ChartUtils


  • public class ChartUtils
    extends Object
    • コンストラクタの詳細

      • ChartUtils

        public ChartUtils()
    • メソッドの詳細

      • saveChartAsPng

        public static void saveChartAsPng​(File file,
                                          org.jfree.chart.JFreeChart chart,
                                          int width,
                                          int height)
      • encodeAsPng

        public static byte[] encodeAsPng​(org.jfree.chart.JFreeChart chart,
                                         int width,
                                         int height)
      • viewInFrame

        public static org.jfree.chart.ChartFrame viewInFrame​(org.jfree.chart.JFreeChart chart,
                                                             String title,
                                                             int x,
                                                             int y,
                                                             int width,
                                                             int height)
      • setLegacyTheme

        public void setLegacyTheme()
      • setDefaultTheme

        public void setDefaultTheme()
      • createBufferedImage

        public static BufferedImage createBufferedImage​(org.jfree.chart.JFreeChart chart,
                                                        int width,
                                                        int height)