choco.visu.components.chart
Class PdfExport

java.lang.Object
  extended by choco.visu.components.chart.PdfExport

public final class PdfExport
extends Object


Field Summary
static Logger LOGGER
           
 
Method Summary
static void saveChartAsPDF(File file, org.jfree.chart.JFreeChart chart, int width, int height)
           
static void saveChartAsPDF(File file, org.jfree.chart.JFreeChart chart, int width, int height, com.lowagie.text.pdf.FontMapper mapper)
          Saves a chart to a PDF file.
static void writeChartAsPDF(OutputStream out, org.jfree.chart.JFreeChart chart, int width, int height, com.lowagie.text.pdf.FontMapper mapper)
          Writes a chart to an output stream in PDF format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final Logger LOGGER
Method Detail

saveChartAsPDF

public static void saveChartAsPDF(File file,
                                  org.jfree.chart.JFreeChart chart,
                                  int width,
                                  int height)
                           throws IOException
Throws:
IOException

saveChartAsPDF

public static void saveChartAsPDF(File file,
                                  org.jfree.chart.JFreeChart chart,
                                  int width,
                                  int height,
                                  com.lowagie.text.pdf.FontMapper mapper)
                           throws IOException
Saves a chart to a PDF file.

Parameters:
file - the file.
chart - the chart.
width - the chart width.
height - the chart height.
Throws:
IOException

writeChartAsPDF

public static void writeChartAsPDF(OutputStream out,
                                   org.jfree.chart.JFreeChart chart,
                                   int width,
                                   int height,
                                   com.lowagie.text.pdf.FontMapper mapper)
                            throws IOException
Writes a chart to an output stream in PDF format.

Parameters:
out - the output stream.
chart - the chart.
width - the chart width.
height - the chart height.
Throws:
IOException


Copyright © 2012. All Rights Reserved.