⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chartutilities.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the file (<code>null</code> not permitted).<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DD><CODE>info</CODE> - the chart rendering info (<code>null</code> permitted).<DD><CODE>encodeAlpha</CODE> - encode alpha?<DD><CODE>compression</CODE> - the PNG compression level (0-9).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="writeChartAsJPEG(java.io.OutputStream, org.jfree.chart.JFreeChart, int, int)"><!-- --></A><H3>writeChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.383"><B>writeChartAsJPEG</B></A>(java.io.OutputStream&nbsp;out,                                    <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                    int&nbsp;width,                                    int&nbsp;height)                             throws java.io.IOException</PRE><DL><DD>Writes a chart to an output stream in JPEG format.  Please note that JPEG is a poor format for chart images, use PNG if possible.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream (<code>null</code> not permitted).<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="writeChartAsJPEG(java.io.OutputStream, float, org.jfree.chart.JFreeChart, int, int)"><!-- --></A><H3>writeChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.405"><B>writeChartAsJPEG</B></A>(java.io.OutputStream&nbsp;out,                                    float&nbsp;quality,                                    <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                    int&nbsp;width,                                    int&nbsp;height)                             throws java.io.IOException</PRE><DL><DD>Writes a chart to an output stream in JPEG format.  Please note that JPEG is a poor format for chart images, use PNG if possible.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream (<code>null</code> not permitted).<DD><CODE>quality</CODE> - the quality setting.<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="writeChartAsJPEG(java.io.OutputStream, org.jfree.chart.JFreeChart, int, int, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>writeChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.432"><B>writeChartAsJPEG</B></A>(java.io.OutputStream&nbsp;out,                                    <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                    int&nbsp;width,                                    int&nbsp;height,                                    <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</A>&nbsp;info)                             throws java.io.IOException</PRE><DL><DD>Writes a chart to an output stream in JPEG format. This method allows  you to pass in a <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart"><CODE>ChartRenderingInfo</CODE></A> object, to collect  information about the chart dimensions/entities.  You will need this  info if you want to create an HTML image map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream (<code>null</code> not permitted).<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DD><CODE>info</CODE> - the chart rendering info (<code>null</code> permitted).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="writeChartAsJPEG(java.io.OutputStream, float, org.jfree.chart.JFreeChart, int, int, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>writeChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.462"><B>writeChartAsJPEG</B></A>(java.io.OutputStream&nbsp;out,                                    float&nbsp;quality,                                    <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                    int&nbsp;width,                                    int&nbsp;height,                                    <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</A>&nbsp;info)                             throws java.io.IOException</PRE><DL><DD>Writes a chart to an output stream in JPEG format.  This method allows  you to pass in a <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart"><CODE>ChartRenderingInfo</CODE></A> object, to collect  information about the chart dimensions/entities.  You will need this  info if you want to create an HTML image map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream (<code>null</code> not permitted).<DD><CODE>quality</CODE> - the output quality (0.0f to 1.0f).<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DD><CODE>info</CODE> - the chart rendering info (<code>null</code> permitted).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="saveChartAsJPEG(java.io.File, org.jfree.chart.JFreeChart, int, int)"><!-- --></A><H3>saveChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.488"><B>saveChartAsJPEG</B></A>(java.io.File&nbsp;file,                                   <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                   int&nbsp;width,                                   int&nbsp;height)                            throws java.io.IOException</PRE><DL><DD>Saves a chart to a file in JPEG format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the file (<code>null</code> not permitted).<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="saveChartAsJPEG(java.io.File, float, org.jfree.chart.JFreeChart, int, int)"><!-- --></A><H3>saveChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.509"><B>saveChartAsJPEG</B></A>(java.io.File&nbsp;file,                                   float&nbsp;quality,                                   <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                   int&nbsp;width,                                   int&nbsp;height)                            throws java.io.IOException</PRE><DL><DD>Saves a chart to a file in JPEG format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the file (<code>null</code> not permitted).<DD><CODE>quality</CODE> - the JPEG quality setting.<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="saveChartAsJPEG(java.io.File, org.jfree.chart.JFreeChart, int, int, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>saveChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.534"><B>saveChartAsJPEG</B></A>(java.io.File&nbsp;file,                                   <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                   int&nbsp;width,                                   int&nbsp;height,                                   <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</A>&nbsp;info)                            throws java.io.IOException</PRE><DL><DD>Saves a chart to a file in JPEG format.  This method allows you to pass  in a <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart"><CODE>ChartRenderingInfo</CODE></A> object, to collect information about the  chart dimensions/entities.  You will need this info if you want to  create an HTML image map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the file name (<code>null</code> not permitted).<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DD><CODE>info</CODE> - the chart rendering info (<code>null</code> permitted).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="saveChartAsJPEG(java.io.File, float, org.jfree.chart.JFreeChart, int, int, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>saveChartAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.568"><B>saveChartAsJPEG</B></A>(java.io.File&nbsp;file,                                   float&nbsp;quality,                                   <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                                   int&nbsp;width,                                   int&nbsp;height,                                   <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</A>&nbsp;info)                            throws java.io.IOException</PRE><DL><DD>Saves a chart to a file in JPEG format.  This method allows you to pass  in a <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart"><CODE>ChartRenderingInfo</CODE></A> object, to collect information about the  chart dimensions/entities.  You will need this info if you want to  create an HTML image map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the file name (<code>null</code> not permitted).<DD><CODE>quality</CODE> - the quality setting.<DD><CODE>chart</CODE> - the chart (<code>null</code> not permitted).<DD><CODE>width</CODE> - the image width.<DD><CODE>height</CODE> - the image height.<DD><CODE>info</CODE> - the chart rendering info (<code>null</code> permitted).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="writeBufferedImageAsJPEG(java.io.OutputStream, java.awt.image.BufferedImage)"><!-- --></A><H3>writeBufferedImageAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.596"><B>writeBufferedImageAsJPEG</B></A>(java.io.OutputStream&nbsp;out,                                            java.awt.image.BufferedImage&nbsp;image)                                     throws java.io.IOException</PRE><DL><DD>Writes a <CODE>BufferedImage</CODE> to an output stream in JPEG format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream (<code>null</code> not permitted).<DD><CODE>image</CODE> - the image (<code>null</code> not permitted).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL></DD></DL><HR><A NAME="writeBufferedImageAsJPEG(java.io.OutputStream, float, java.awt.image.BufferedImage)"><!-- --></A><H3>writeBufferedImageAsJPEG</H3><PRE>public static void <A HREF="../../../src-html/org/jfree/chart/ChartUtilities.html#line.614"><B>writeBufferedImageAsJPEG</B></A>(java.io.OutputStream&nbsp;out,                                            float&nbsp;quality,                                            java.awt.image.BufferedImage&nbsp;image)                                     throws java.io.IOException</PRE><DL><DD>Writes a <CODE>BufferedImage</CODE> to an output stream in JPEG format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - the output stream (<code>null</code> not permitted).<DD><CODE>quality</CODE> - the image quality (0.0f to 1.0f).<DD><CODE>image</CODE> - the image (<code>null</code> not permitted).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if there are any I/O errors.</DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -