Documentation of 'org.knowm.xchart.PdfboxGraphicsEncoder' Java class
PdfboxGraphicsEncoder
org.knowm.xchart

Class PdfboxGraphicsEncoder



  • public class PdfboxGraphicsEncoder
    extends java.lang.Object
    A helper class with static methods for saving Charts as a PDF file
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void savePdfboxGraphics(Chart chart, java.io.File file)
      Write a chart to a file
      static void savePdfboxGraphics(Chart chart, java.io.OutputStream os)
      Write a chart to an OutputStream
      static void savePdfboxGraphics(Chart chart, java.lang.String fileName)
      Write a chart to a file
      static void savePdfboxGraphics(java.util.List<? extends Chart> charts, java.io.File file)
      Write multiple charts to a file
      static void savePdfboxGraphics(java.util.List<? extends Chart> charts, java.io.OutputStream os)
      Write multiple charts to an OutputStream
      static void savePdfboxGraphics(java.util.List<? extends Chart> charts, java.lang.String fileName)
      Write multiple charts to a file
      • Methods inherited from class java.lang.Object

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

      • savePdfboxGraphics

        public static void savePdfboxGraphics(Chart chart,
                                              java.lang.String fileName)
                                       throws java.io.IOException
        Write a chart to a file
        Parameters:
        chart - Chart
        fileName - file name path
        Throws:
        java.io.IOException
      • savePdfboxGraphics

        public static void savePdfboxGraphics(Chart chart,
                                              java.io.File file)
                                       throws java.io.IOException
        Write a chart to a file
        Parameters:
        chart - Chart
        file - File
        Throws:
        java.io.IOException
      • savePdfboxGraphics

        public static void savePdfboxGraphics(Chart chart,
                                              java.io.OutputStream os)
                                       throws java.io.IOException
        Write a chart to an OutputStream
        Parameters:
        chart - Chart
        os - OutputStream
        Throws:
        java.io.IOException
      • savePdfboxGraphics

        public static void savePdfboxGraphics(java.util.List<? extends Chart> charts,
                                              java.lang.String fileName)
                                       throws java.io.IOException
        Write multiple charts to a file
        Parameters:
        charts - List
        fileName - file name path
        Throws:
        java.io.IOException
      • savePdfboxGraphics

        public static void savePdfboxGraphics(java.util.List<? extends Chart> charts,
                                              java.io.File file)
                                       throws java.io.IOException
        Write multiple charts to a file
        Parameters:
        charts - List
        file - File
        Throws:
        java.io.IOException
      • savePdfboxGraphics

        public static void savePdfboxGraphics(java.util.List<? extends Chart> charts,
                                              java.io.OutputStream os)
                                       throws java.io.IOException
        Write multiple charts to an OutputStream
        Parameters:
        charts - List
        os - OutputStream
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.