Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.imagemap |
Classes, including
org.jfree.chart.imagemap.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 |
---|---|
BufferedImage |
JFreeChart.createBufferedImage(int width,
int height,
ChartRenderingInfo info)
Creates and returns a buffered image into which the chart has been drawn.
|
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.
|
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(Graphics2D g2,
Rectangle2D area,
ChartRenderingInfo info)
Draws the chart on a Java 2D graphics device (such as the screen or a
printer).
|
void |
JFreeChart.draw(Graphics2D g2,
Rectangle2D chartArea,
Point2D anchor,
ChartRenderingInfo info)
Draws the chart on a Java 2D graphics device (such as the screen or a
printer).
|
static String |
ChartUtils.getImageMap(String name,
ChartRenderingInfo info)
Creates an HTML image map.
|
static String |
ChartUtils.getImageMap(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 |
ChartUtils.saveChartAsJPEG(File file,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtils.saveChartAsJPEG(File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtils.saveChartAsPNG(File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in PNG format.
|
static void |
ChartUtils.saveChartAsPNG(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 |
ChartUtils.writeChartAsJPEG(OutputStream out,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtils.writeChartAsJPEG(OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtils.writeChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtils.writeChartAsPNG(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 |
ChartUtils.writeImageMap(PrintWriter writer,
String name,
ChartRenderingInfo info,
boolean useOverLibForToolTips)
Writes an image map to an output stream.
|
static void |
ChartUtils.writeImageMap(PrintWriter writer,
String name,
ChartRenderingInfo info,
ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Writes an image map to the specified writer.
|
Modifier and Type | Method and Description |
---|---|
static String |
ImageMapUtils.getImageMap(String name,
ChartRenderingInfo info)
Creates an image map element that complies with the XHTML 1.0
specification.
|
static String |
ImageMapUtils.getImageMap(String name,
ChartRenderingInfo info,
ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Creates an image map element that complies with the XHTML 1.0
specification.
|
static void |
ImageMapUtils.writeImageMap(PrintWriter writer,
String name,
ChartRenderingInfo info)
Writes an image map to an output stream.
|
static void |
ImageMapUtils.writeImageMap(PrintWriter writer,
String name,
ChartRenderingInfo info,
boolean useOverLibForToolTips)
Writes an image map to an output stream.
|
static void |
ImageMapUtils.writeImageMap(PrintWriter writer,
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 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 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. |
Copyright © 2001–2017 JFree.org. All rights reserved.