123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:26 CEST 2014 -->
- <title>ChartUtilities (JFreeChart Class Library (version 1.0.19-fx))</title>
- <meta name="date" content="2014-07-31">
- <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
- <script type="text/javascript" src="../../../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="ChartUtilities (JFreeChart Class Library (version 1.0.19-fx))";
- }
- }
- catch(err) {
- }
- //-->
- var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9};
- var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/ChartUtilities.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../org/jfree/chart/ChartTransferable.html" title="class in org.jfree.chart"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../../org/jfree/chart/ClipPath.html" title="class in org.jfree.chart"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../index.html?org/jfree/chart/ChartUtilities.html" target="_top">Frames</a></li>
- <li><a href="ChartUtilities.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">org.jfree.chart</div>
- <h2 title="Class ChartUtilities" class="title">Class ChartUtilities</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>org.jfree.chart.ChartUtilities</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <hr>
- <br>
- <pre>public abstract class <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.109">ChartUtilities</a>
- extends java.lang.Object</pre>
- <div class="block">A collection of utility methods for JFreeChart. Includes methods for
- converting charts to image formats (PNG and JPEG) plus creating simple HTML
- image maps.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../org/jfree/chart/imagemap/ImageMapUtilities.html" title="class in org.jfree.chart.imagemap"><code>ImageMapUtilities</code></a></dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#ChartUtilities--">ChartUtilities</a></span>()</code> </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#applyCurrentTheme-org.jfree.chart.JFreeChart-">applyCurrentTheme</a></span>(<a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart)</code>
- <div class="block">Applies the current theme to the specified chart.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>static byte[]</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#encodeAsPNG-java.awt.image.BufferedImage-">encodeAsPNG</a></span>(java.awt.image.BufferedImage image)</code>
- <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>static byte[]</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#encodeAsPNG-java.awt.image.BufferedImage-boolean-int-">encodeAsPNG</a></span>(java.awt.image.BufferedImage image,
- boolean encodeAlpha,
- int compression)</code>
- <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>static java.lang.String</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-">getImageMap</a></span>(java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Creates an HTML image map.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>static java.lang.String</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-">getImageMap</a></span>(java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a> toolTipTagFragmentGenerator,
- <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a> urlTagFragmentGenerator)</code>
- <div class="block">Creates an HTML image map.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsJPEG-java.io.File-float-org.jfree.chart.JFreeChart-int-int-">saveChartAsJPEG</a></span>(java.io.File file,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)</code>
- <div class="block">Saves a chart to a file in JPEG format.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsJPEG-java.io.File-float-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">saveChartAsJPEG</a></span>(java.io.File file,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Saves a chart to a file in JPEG format.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsJPEG-java.io.File-org.jfree.chart.JFreeChart-int-int-">saveChartAsJPEG</a></span>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)</code>
- <div class="block">Saves a chart to a file in JPEG format.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsJPEG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">saveChartAsJPEG</a></span>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Saves a chart to a file in JPEG format.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-">saveChartAsPNG</a></span>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)</code>
- <div class="block">Saves a chart to the specified file in PNG format.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">saveChartAsPNG</a></span>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Saves a chart to a file in PNG format.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-boolean-int-">saveChartAsPNG</a></span>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- boolean encodeAlpha,
- int compression)</code>
- <div class="block">Saves a chart to a file in PNG format.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeBufferedImageAsJPEG-java.io.OutputStream-java.awt.image.BufferedImage-">writeBufferedImageAsJPEG</a></span>(java.io.OutputStream out,
- java.awt.image.BufferedImage image)</code>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeBufferedImageAsJPEG-java.io.OutputStream-float-java.awt.image.BufferedImage-">writeBufferedImageAsJPEG</a></span>(java.io.OutputStream out,
- float quality,
- java.awt.image.BufferedImage image)</code>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeBufferedImageAsPNG-java.io.OutputStream-java.awt.image.BufferedImage-">writeBufferedImageAsPNG</a></span>(java.io.OutputStream out,
- java.awt.image.BufferedImage image)</code>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeBufferedImageAsPNG-java.io.OutputStream-java.awt.image.BufferedImage-boolean-int-">writeBufferedImageAsPNG</a></span>(java.io.OutputStream out,
- java.awt.image.BufferedImage image,
- boolean encodeAlpha,
- int compression)</code>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsJPEG-java.io.OutputStream-float-org.jfree.chart.JFreeChart-int-int-">writeChartAsJPEG</a></span>(java.io.OutputStream out,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)</code>
- <div class="block">Writes a chart to an output stream in JPEG format.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsJPEG-java.io.OutputStream-float-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">writeChartAsJPEG</a></span>(java.io.OutputStream out,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Writes a chart to an output stream in JPEG format.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsJPEG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-">writeChartAsJPEG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)</code>
- <div class="block">Writes a chart to an output stream in JPEG format.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsJPEG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">writeChartAsJPEG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Writes a chart to an output stream in JPEG format.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-">writeChartAsPNG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)</code>
- <div class="block">Writes a chart to an output stream in PNG format.</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-boolean-int-">writeChartAsPNG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- boolean encodeAlpha,
- int compression)</code>
- <div class="block">Writes a chart to an output stream in PNG format.</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">writeChartAsPNG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</code>
- <div class="block">Writes a chart to an output stream in PNG format.</div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-boolean-int-">writeChartAsPNG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- boolean encodeAlpha,
- int compression)</code>
- <div class="block">Writes a chart to an output stream in PNG format.</div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeImageMap-java.io.PrintWriter-java.lang.String-org.jfree.chart.ChartRenderingInfo-boolean-">writeImageMap</a></span>(java.io.PrintWriter writer,
- java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- boolean useOverLibForToolTips)</code>
- <div class="block">Writes an image map to an output stream.</div>
- </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeImageMap-java.io.PrintWriter-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-">writeImageMap</a></span>(java.io.PrintWriter writer,
- java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a> toolTipTagFragmentGenerator,
- <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a> urlTagFragmentGenerator)</code>
- <div class="block">Writes an image map to the specified writer.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>static void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#writeScaledChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-int-int-">writeScaledChartAsPNG</a></span>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- int widthScaleFactor,
- int heightScaleFactor)</code>
- <div class="block">Writes a scaled version of a chart to an output stream in PNG format.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="ChartUtilities--">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>ChartUtilities</h4>
- <pre>public <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.109">ChartUtilities</a>()</pre>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="applyCurrentTheme-org.jfree.chart.JFreeChart-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>applyCurrentTheme</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.120">applyCurrentTheme</a>(<a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart)</pre>
- <div class="block">Applies the current theme to the specified chart. This method is
- provided for convenience, the theme itself is stored in the
- <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a> class.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>1.0.11</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.134">writeChartAsPNG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)
- throws java.io.IOException</pre>
- <div class="block">Writes a chart to an output stream in PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-boolean-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.154">writeChartAsPNG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- boolean encodeAlpha,
- int compression)
- throws java.io.IOException</pre>
- <div class="block">Writes a chart to an output stream in PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>encodeAlpha</code> - encode alpha?</dd>
- <dd><code>compression</code> - the compression level (0-9).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.178">writeChartAsPNG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)
- throws java.io.IOException</pre>
- <div class="block">Writes a chart to an output stream in PNG 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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-boolean-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.205">writeChartAsPNG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- boolean encodeAlpha,
- int compression)
- throws java.io.IOException</pre>
- <div class="block">Writes a chart to an output stream in PNG 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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - carries back chart rendering info (<code>null</code>
- permitted).</dd>
- <dd><code>encodeAlpha</code> - encode alpha?</dd>
- <dd><code>compression</code> - the PNG compression level (0-9).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeScaledChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeScaledChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.230">writeScaledChartAsPNG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- int widthScaleFactor,
- int heightScaleFactor)
- throws java.io.IOException</pre>
- <div class="block">Writes a scaled version of a chart to an output stream in PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the unscaled chart width.</dd>
- <dd><code>height</code> - the unscaled chart height.</dd>
- <dd><code>widthScaleFactor</code> - the horizontal scale factor.</dd>
- <dd><code>heightScaleFactor</code> - the vertical scale factor.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O problems.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.281">saveChartAsPNG</a>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)
- throws java.io.IOException</pre>
- <div class="block">Saves a chart to the specified file in PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file name (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.303">saveChartAsPNG</a>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)
- throws java.io.IOException</pre>
- <div class="block">Saves a chart to a file in PNG 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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-boolean-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.333">saveChartAsPNG</a>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- boolean encodeAlpha,
- int compression)
- throws java.io.IOException</pre>
- <div class="block">Saves a chart to a file in PNG 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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dd><code>encodeAlpha</code> - encode alpha?</dd>
- <dd><code>compression</code> - the PNG compression level (0-9).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsJPEG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.361">writeChartAsJPEG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)
- throws java.io.IOException</pre>
- <div class="block">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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsJPEG-java.io.OutputStream-float-org.jfree.chart.JFreeChart-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.381">writeChartAsJPEG</a>(java.io.OutputStream out,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)
- throws java.io.IOException</pre>
- <div class="block">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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>quality</code> - the quality setting.</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsJPEG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.404">writeChartAsJPEG</a>(java.io.OutputStream out,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)
- throws java.io.IOException</pre>
- <div class="block">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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeChartAsJPEG-java.io.OutputStream-float-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.431">writeChartAsJPEG</a>(java.io.OutputStream out,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)
- throws java.io.IOException</pre>
- <div class="block">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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>quality</code> - the output quality (0.0f to 1.0f).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsJPEG-java.io.File-org.jfree.chart.JFreeChart-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.453">saveChartAsJPEG</a>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)
- throws java.io.IOException</pre>
- <div class="block">Saves a chart to a file in JPEG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsJPEG-java.io.File-float-org.jfree.chart.JFreeChart-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.472">saveChartAsJPEG</a>(java.io.File file,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height)
- throws java.io.IOException</pre>
- <div class="block">Saves a chart to a file in JPEG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
- <dd><code>quality</code> - the JPEG quality setting.</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsJPEG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.494">saveChartAsJPEG</a>(java.io.File file,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)
- throws java.io.IOException</pre>
- <div class="block">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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file name (<code>null</code> not permitted).</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="saveChartAsJPEG-java.io.File-float-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveChartAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.524">saveChartAsJPEG</a>(java.io.File file,
- float quality,
- <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a> chart,
- int width,
- int height,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)
- throws java.io.IOException</pre>
- <div class="block">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.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>file</code> - the file name (<code>null</code> not permitted).</dd>
- <dd><code>quality</code> - the quality setting.</dd>
- <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
- <dd><code>width</code> - the image width.</dd>
- <dd><code>height</code> - the image height.</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeBufferedImageAsJPEG-java.io.OutputStream-java.awt.image.BufferedImage-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeBufferedImageAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.549">writeBufferedImageAsJPEG</a>(java.io.OutputStream out,
- java.awt.image.BufferedImage image)
- throws java.io.IOException</pre>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeBufferedImageAsJPEG-java.io.OutputStream-float-java.awt.image.BufferedImage-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeBufferedImageAsJPEG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.566">writeBufferedImageAsJPEG</a>(java.io.OutputStream out,
- float quality,
- java.awt.image.BufferedImage image)
- throws java.io.IOException</pre>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>quality</code> - the image quality (0.0f to 1.0f).</dd>
- <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeBufferedImageAsPNG-java.io.OutputStream-java.awt.image.BufferedImage-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeBufferedImageAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.581">writeBufferedImageAsPNG</a>(java.io.OutputStream out,
- java.awt.image.BufferedImage image)
- throws java.io.IOException</pre>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeBufferedImageAsPNG-java.io.OutputStream-java.awt.image.BufferedImage-boolean-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeBufferedImageAsPNG</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.598">writeBufferedImageAsPNG</a>(java.io.OutputStream out,
- java.awt.image.BufferedImage image,
- boolean encodeAlpha,
- int compression)
- throws java.io.IOException</pre>
- <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
- <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
- <dd><code>encodeAlpha</code> - encode alpha?</dd>
- <dd><code>compression</code> - the compression level (0-9).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="encodeAsPNG-java.awt.image.BufferedImage-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>encodeAsPNG</h4>
- <pre>public static byte[] <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.615">encodeAsPNG</a>(java.awt.image.BufferedImage image)
- throws java.io.IOException</pre>
- <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A byte array in PNG format.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there is an I/O problem.</dd>
- </dl>
- </li>
- </ul>
- <a name="encodeAsPNG-java.awt.image.BufferedImage-boolean-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>encodeAsPNG</h4>
- <pre>public static byte[] <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.630">encodeAsPNG</a>(java.awt.image.BufferedImage image,
- boolean encodeAlpha,
- int compression)
- throws java.io.IOException</pre>
- <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
- <dd><code>encodeAlpha</code> - encode alpha?</dd>
- <dd><code>compression</code> - the PNG compression level (0-9).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The byte array in PNG format.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there is an I/O problem.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeImageMap-java.io.PrintWriter-java.lang.String-org.jfree.chart.ChartRenderingInfo-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeImageMap</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.647">writeImageMap</a>(java.io.PrintWriter writer,
- java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- boolean useOverLibForToolTips)
- throws java.io.IOException</pre>
- <div class="block">Writes an image map to an output stream.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>writer</code> - the writer (<code>null</code> not permitted).</dd>
- <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
- <dd><code>useOverLibForToolTips</code> - whether to use OverLIB for tooltips
- (http://www.bosrup.com/web/overlib/).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="writeImageMap-java.io.PrintWriter-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeImageMap</h4>
- <pre>public static void <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.681">writeImageMap</a>(java.io.PrintWriter writer,
- java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a> toolTipTagFragmentGenerator,
- <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a> urlTagFragmentGenerator)
- throws java.io.IOException</pre>
- <div class="block">Writes an image map to the specified writer.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>writer</code> - the writer (<code>null</code> not permitted).</dd>
- <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
- <dd><code>toolTipTagFragmentGenerator</code> - a generator for the HTML fragment
- that will contain the tooltip text (<code>null</code> not permitted
- if <code>info</code> contains tooltip information).</dd>
- <dd><code>urlTagFragmentGenerator</code> - a generator for the HTML fragment that
- will contain the URL reference (<code>null</code> not permitted if
- <code>info</code> contains URLs).</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
- </dl>
- </li>
- </ul>
- <a name="getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getImageMap</h4>
- <pre>public static java.lang.String <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.702">getImageMap</a>(java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info)</pre>
- <div class="block">Creates an HTML image map. This method maps to
- <a href="../../../org/jfree/chart/imagemap/ImageMapUtilities.html#getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-"><code>ImageMapUtilities.getImageMap(String, ChartRenderingInfo,
- ToolTipTagFragmentGenerator, URLTagFragmentGenerator)</code></a>, using default
- generators.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The map tag.</dd>
- </dl>
- </li>
- </ul>
- <a name="getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>getImageMap</h4>
- <pre>public static java.lang.String <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.724">getImageMap</a>(java.lang.String name,
- <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a> info,
- <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a> toolTipTagFragmentGenerator,
- <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a> urlTagFragmentGenerator)</pre>
- <div class="block">Creates an HTML image map. This method maps directly to
- <a href="../../../org/jfree/chart/imagemap/ImageMapUtilities.html#getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-"><code>ImageMapUtilities.getImageMap(String, ChartRenderingInfo,
- ToolTipTagFragmentGenerator, URLTagFragmentGenerator)</code></a>.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
- <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
- <dd><code>toolTipTagFragmentGenerator</code> - a generator for the HTML fragment
- that will contain the tooltip text (<code>null</code> not permitted
- if <code>info</code> contains tooltip information).</dd>
- <dd><code>urlTagFragmentGenerator</code> - a generator for the HTML fragment that
- will contain the URL reference (<code>null</code> not permitted if
- <code>info</code> contains URLs).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The map tag.</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/ChartUtilities.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../org/jfree/chart/ChartTransferable.html" title="class in org.jfree.chart"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../../org/jfree/chart/ClipPath.html" title="class in org.jfree.chart"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../index.html?org/jfree/chart/ChartUtilities.html" target="_top">Frames</a></li>
- <li><a href="ChartUtilities.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </body>
- </html>
|