Uses of Class
org.jfree.chart.ChartRenderingInfo
-
Packages that use ChartRenderingInfo Package Description org.jfree.chart Core classes, includingJFreeChart
andChartPanel
.org.jfree.chart.imagemap Classes, includingImageMapUtils
, 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. -
-
Uses of ChartRenderingInfo in org.jfree.chart
Fields in org.jfree.chart declared as ChartRenderingInfo Modifier and Type Field Description private ChartRenderingInfo
OfflineRenderingChartPanel. currentChartRenderingInfo
private ChartRenderingInfo
ChartPanel. info
The drawing info collected the last time the chart was drawn.private ChartRenderingInfo
OfflineRenderingChartPanel.OfflineChartRenderer. info
Methods in org.jfree.chart that return ChartRenderingInfo Modifier and Type Method Description ChartRenderingInfo
ChartRenderingInfo. clone()
Returns a clone of this object.ChartRenderingInfo
ChartPanel. getChartRenderingInfo()
Returns the chart rendering info from the most recent chart redraw.Methods in org.jfree.chart with parameters of type ChartRenderingInfo Modifier and Type Method Description private static void
OfflineRenderingChartPanel. copyChartRenderingInfo(ChartRenderingInfo source, ChartRenderingInfo target)
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.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.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).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).static java.lang.String
ChartUtils. getImageMap(java.lang.String name, ChartRenderingInfo info)
Creates an HTML image map.static java.lang.String
ChartUtils. 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.protected java.awt.image.BufferedImage
ChartPanel. paintChartToBuffer(java.awt.Graphics2D g2, java.awt.Dimension bufferSize, java.awt.Dimension chartSize, java.awt.geom.Point2D anchor, ChartRenderingInfo info)
Paints the chart to fill the entire off-screen buffer image.protected java.awt.image.BufferedImage
OfflineRenderingChartPanel. paintChartToBuffer(java.awt.Graphics2D g2, java.awt.Dimension bufferSize, java.awt.Dimension chartSize, java.awt.geom.Point2D anchor, ChartRenderingInfo info)
static void
ChartUtils. 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
ChartUtils. saveChartAsJPEG(java.io.File file, JFreeChart chart, int width, int height, ChartRenderingInfo info)
Saves a chart to a file in JPEG format.static void
ChartUtils. saveChartAsPNG(java.io.File file, JFreeChart chart, int width, int height, ChartRenderingInfo info)
Saves a chart to a file in PNG format.static void
ChartUtils. 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
ChartUtils. 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
ChartUtils. 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
ChartUtils. 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
ChartUtils. 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
ChartUtils. writeImageMap(java.io.PrintWriter writer, java.lang.String name, ChartRenderingInfo info, boolean useOverLibForToolTips)
Writes an image map to an output stream.static void
ChartUtils. writeImageMap(java.io.PrintWriter writer, java.lang.String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator)
Writes an image map to the specified writer.Constructors in org.jfree.chart with parameters of type ChartRenderingInfo Constructor Description OfflineChartRenderer(JFreeChart chart, java.awt.image.BufferedImage image, java.awt.Dimension chartSize, java.awt.geom.Point2D anchor, ChartRenderingInfo info)
-
Uses of ChartRenderingInfo in org.jfree.chart.imagemap
Methods in org.jfree.chart.imagemap with parameters of type ChartRenderingInfo Modifier and Type Method Description static java.lang.String
ImageMapUtils. getImageMap(java.lang.String name, ChartRenderingInfo info)
Creates an image map element that complies with the XHTML 1.0 specification.static java.lang.String
ImageMapUtils. 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
ImageMapUtils. writeImageMap(java.io.PrintWriter writer, java.lang.String name, ChartRenderingInfo info)
Writes an image map to an output stream.static void
ImageMapUtils. writeImageMap(java.io.PrintWriter writer, java.lang.String name, ChartRenderingInfo info, boolean useOverLibForToolTips)
Writes an image map to an output stream.static void
ImageMapUtils. writeImageMap(java.io.PrintWriter writer, java.lang.String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator)
Writes an image map to an output stream. -
Uses of ChartRenderingInfo in org.jfree.chart.plot
Fields in org.jfree.chart.plot declared as ChartRenderingInfo Modifier and Type Field Description private ChartRenderingInfo
PlotRenderingInfo. owner
The owner of this info.Methods in org.jfree.chart.plot that return ChartRenderingInfo Modifier and Type Method Description ChartRenderingInfo
PlotRenderingInfo. getOwner()
Returns the owner (as specified in the constructor).Constructors in org.jfree.chart.plot with parameters of type ChartRenderingInfo Constructor Description PlotRenderingInfo(ChartRenderingInfo owner)
Creates a new instance. -
Uses of ChartRenderingInfo in org.jfree.chart.servlet
Methods in org.jfree.chart.servlet with parameters of type ChartRenderingInfo Modifier and Type Method 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 theChartRenderingInfo
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 theChartRenderingInfo
object which can be used to generate an HTML image map.
-