Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.fx |
Core classes that provide JavaFX support for JFreeChart.
|
org.jfree.chart.imagemap |
Classes, including
ImageMapUtilities , for creating HTML image maps. |
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.servlet |
Classes for providing useful servlet and JSP functionality.
|
Modifier and Type | Method and Description |
---|---|
ChartRenderingInfo |
ChartPanel.getChartRenderingInfo()
Returns the chart rendering info from the most recent chart redraw.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
JFreeChart.createBufferedImage(int width,
int height,
ChartRenderingInfo info)
Creates and returns a buffered image into which the chart has been drawn.
|
java.awt.image.BufferedImage |
JFreeChart.createBufferedImage(int imageWidth,
int imageHeight,
double drawWidth,
double drawHeight,
ChartRenderingInfo info)
Creates and returns a buffered image into which the chart has been drawn.
|
java.awt.image.BufferedImage |
JFreeChart.createBufferedImage(int width,
int height,
int imageType,
ChartRenderingInfo info)
Creates and returns a buffered image into which the chart has been drawn.
|
void |
JFreeChart.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
ChartRenderingInfo info)
Draws the chart on a Java 2D graphics device (such as the screen or a
printer).
|
void |
JFreeChart.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D chartArea,
java.awt.geom.Point2D anchor,
ChartRenderingInfo info)
Draws the chart on a Java 2D graphics device (such as the screen or a
printer).
|
static java.lang.String |
ChartUtilities.getImageMap(java.lang.String name,
ChartRenderingInfo info)
Creates an HTML image map.
|
static java.lang.String |
ChartUtilities.getImageMap(java.lang.String name,
ChartRenderingInfo info,
ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Creates an HTML image map.
|
void |
JFreeChart.handleClick(int x,
int y,
ChartRenderingInfo info)
Handles a 'click' on the chart.
|
static void |
ChartUtilities.saveChartAsJPEG(java.io.File file,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtilities.saveChartAsJPEG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtilities.saveChartAsPNG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in PNG format.
|
static void |
ChartUtilities.saveChartAsPNG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
boolean encodeAlpha,
int compression)
Saves a chart to a file in PNG format.
|
static void |
ChartUtilities.writeChartAsJPEG(java.io.OutputStream out,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtilities.writeChartAsJPEG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtilities.writeChartAsPNG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtilities.writeChartAsPNG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
boolean encodeAlpha,
int compression)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtilities.writeImageMap(java.io.PrintWriter writer,
java.lang.String name,
ChartRenderingInfo info,
boolean useOverLibForToolTips)
Writes an image map to an output stream.
|
static void |
ChartUtilities.writeImageMap(java.io.PrintWriter writer,
java.lang.String name,
ChartRenderingInfo info,
ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Writes an image map to the specified writer.
|
Modifier and Type | Method and Description |
---|---|
ChartRenderingInfo |
ChartViewerSkin.getRenderingInfo()
Returns the rendering info from the most recent drawing of the chart.
|
ChartRenderingInfo |
ChartViewer.getRenderingInfo()
Returns the rendering info from the most recent drawing of the chart.
|
ChartRenderingInfo |
ChartCanvas.getRenderingInfo()
Returns the rendering info from the most recent drawing of the chart.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ImageMapUtilities.getImageMap(java.lang.String name,
ChartRenderingInfo info)
Creates an image map element that complies with the XHTML 1.0
specification.
|
static java.lang.String |
ImageMapUtilities.getImageMap(java.lang.String name,
ChartRenderingInfo info,
ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Creates an image map element that complies with the XHTML 1.0
specification.
|
static void |
ImageMapUtilities.writeImageMap(java.io.PrintWriter writer,
java.lang.String name,
ChartRenderingInfo info)
Writes an image map to an output stream.
|
static void |
ImageMapUtilities.writeImageMap(java.io.PrintWriter writer,
java.lang.String name,
ChartRenderingInfo info,
boolean useOverLibForToolTips)
Writes an image map to an output stream.
|
static void |
ImageMapUtilities.writeImageMap(java.io.PrintWriter writer,
java.lang.String name,
ChartRenderingInfo info,
ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Writes an image map to an output stream.
|
Modifier and Type | Method and Description |
---|---|
ChartRenderingInfo |
PlotRenderingInfo.getOwner()
Returns the owner (as specified in the constructor).
|
Constructor and Description |
---|
PlotRenderingInfo(ChartRenderingInfo owner)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ServletUtilities.saveChartAsJPEG(JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
javax.servlet.http.HttpSession session)
Saves the chart as a JPEG format file in the temporary directory and
populates the
ChartRenderingInfo object which can be used
to generate an HTML image map. |
static java.lang.String |
ServletUtilities.saveChartAsPNG(JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
javax.servlet.http.HttpSession session)
Saves the chart as a PNG format file in the temporary directory and
populates the
ChartRenderingInfo object which can be used to
generate an HTML image map. |