ChartUtilities.html 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:26 CEST 2014 -->
  6. <title>ChartUtilities (JFreeChart Class Library (version 1.0.19-fx))</title>
  7. <meta name="date" content="2014-07-31">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="ChartUtilities (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. 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};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/ChartUtilities.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../index-files/index-1.html">Index</a></li>
  47. <li><a href="../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../org/jfree/chart/ChartTransferable.html" title="class in org.jfree.chart"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../org/jfree/chart/ClipPath.html" title="class in org.jfree.chart"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../index.html?org/jfree/chart/ChartUtilities.html" target="_top">Frames</a></li>
  57. <li><a href="ChartUtilities.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li>Field&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li>Field&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">org.jfree.chart</div>
  96. <h2 title="Class ChartUtilities" class="title">Class ChartUtilities</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li>java.lang.Object</li>
  101. <li>
  102. <ul class="inheritance">
  103. <li>org.jfree.chart.ChartUtilities</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <hr>
  111. <br>
  112. <pre>public abstract class <a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.109">ChartUtilities</a>
  113. extends java.lang.Object</pre>
  114. <div class="block">A collection of utility methods for JFreeChart. Includes methods for
  115. converting charts to image formats (PNG and JPEG) plus creating simple HTML
  116. image maps.</div>
  117. <dl>
  118. <dt><span class="seeLabel">See Also:</span></dt>
  119. <dd><a href="../../../org/jfree/chart/imagemap/ImageMapUtilities.html" title="class in org.jfree.chart.imagemap"><code>ImageMapUtilities</code></a></dd>
  120. </dl>
  121. </li>
  122. </ul>
  123. </div>
  124. <div class="summary">
  125. <ul class="blockList">
  126. <li class="blockList">
  127. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  128. <ul class="blockList">
  129. <li class="blockList"><a name="constructor.summary">
  130. <!-- -->
  131. </a>
  132. <h3>Constructor Summary</h3>
  133. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  134. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  135. <tr>
  136. <th class="colOne" scope="col">Constructor and Description</th>
  137. </tr>
  138. <tr class="altColor">
  139. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/ChartUtilities.html#ChartUtilities--">ChartUtilities</a></span>()</code>&nbsp;</td>
  140. </tr>
  141. </table>
  142. </li>
  143. </ul>
  144. <!-- ========== METHOD SUMMARY =========== -->
  145. <ul class="blockList">
  146. <li class="blockList"><a name="method.summary">
  147. <!-- -->
  148. </a>
  149. <h3>Method Summary</h3>
  150. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  151. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  152. <tr>
  153. <th class="colFirst" scope="col">Modifier and Type</th>
  154. <th class="colLast" scope="col">Method and Description</th>
  155. </tr>
  156. <tr id="i0" class="altColor">
  157. <td class="colFirst"><code>static void</code></td>
  158. <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>&nbsp;chart)</code>
  159. <div class="block">Applies the current theme to the specified chart.</div>
  160. </td>
  161. </tr>
  162. <tr id="i1" class="rowColor">
  163. <td class="colFirst"><code>static byte[]</code></td>
  164. <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&nbsp;image)</code>
  165. <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
  166. </td>
  167. </tr>
  168. <tr id="i2" class="altColor">
  169. <td class="colFirst"><code>static byte[]</code></td>
  170. <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&nbsp;image,
  171. boolean&nbsp;encodeAlpha,
  172. int&nbsp;compression)</code>
  173. <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
  174. </td>
  175. </tr>
  176. <tr id="i3" class="rowColor">
  177. <td class="colFirst"><code>static java.lang.String</code></td>
  178. <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&nbsp;name,
  179. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  180. <div class="block">Creates an HTML image map.</div>
  181. </td>
  182. </tr>
  183. <tr id="i4" class="altColor">
  184. <td class="colFirst"><code>static java.lang.String</code></td>
  185. <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&nbsp;name,
  186. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  187. <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a>&nbsp;toolTipTagFragmentGenerator,
  188. <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a>&nbsp;urlTagFragmentGenerator)</code>
  189. <div class="block">Creates an HTML image map.</div>
  190. </td>
  191. </tr>
  192. <tr id="i5" class="rowColor">
  193. <td class="colFirst"><code>static void</code></td>
  194. <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&nbsp;file,
  195. float&nbsp;quality,
  196. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  197. int&nbsp;width,
  198. int&nbsp;height)</code>
  199. <div class="block">Saves a chart to a file in JPEG format.</div>
  200. </td>
  201. </tr>
  202. <tr id="i6" class="altColor">
  203. <td class="colFirst"><code>static void</code></td>
  204. <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&nbsp;file,
  205. float&nbsp;quality,
  206. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  207. int&nbsp;width,
  208. int&nbsp;height,
  209. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  210. <div class="block">Saves a chart to a file in JPEG format.</div>
  211. </td>
  212. </tr>
  213. <tr id="i7" class="rowColor">
  214. <td class="colFirst"><code>static void</code></td>
  215. <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&nbsp;file,
  216. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  217. int&nbsp;width,
  218. int&nbsp;height)</code>
  219. <div class="block">Saves a chart to a file in JPEG format.</div>
  220. </td>
  221. </tr>
  222. <tr id="i8" class="altColor">
  223. <td class="colFirst"><code>static void</code></td>
  224. <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&nbsp;file,
  225. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  226. int&nbsp;width,
  227. int&nbsp;height,
  228. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  229. <div class="block">Saves a chart to a file in JPEG format.</div>
  230. </td>
  231. </tr>
  232. <tr id="i9" class="rowColor">
  233. <td class="colFirst"><code>static void</code></td>
  234. <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&nbsp;file,
  235. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  236. int&nbsp;width,
  237. int&nbsp;height)</code>
  238. <div class="block">Saves a chart to the specified file in PNG format.</div>
  239. </td>
  240. </tr>
  241. <tr id="i10" class="altColor">
  242. <td class="colFirst"><code>static void</code></td>
  243. <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&nbsp;file,
  244. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  245. int&nbsp;width,
  246. int&nbsp;height,
  247. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  248. <div class="block">Saves a chart to a file in PNG format.</div>
  249. </td>
  250. </tr>
  251. <tr id="i11" class="rowColor">
  252. <td class="colFirst"><code>static void</code></td>
  253. <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&nbsp;file,
  254. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  255. int&nbsp;width,
  256. int&nbsp;height,
  257. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  258. boolean&nbsp;encodeAlpha,
  259. int&nbsp;compression)</code>
  260. <div class="block">Saves a chart to a file in PNG format.</div>
  261. </td>
  262. </tr>
  263. <tr id="i12" class="altColor">
  264. <td class="colFirst"><code>static void</code></td>
  265. <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&nbsp;out,
  266. java.awt.image.BufferedImage&nbsp;image)</code>
  267. <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
  268. </td>
  269. </tr>
  270. <tr id="i13" class="rowColor">
  271. <td class="colFirst"><code>static void</code></td>
  272. <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&nbsp;out,
  273. float&nbsp;quality,
  274. java.awt.image.BufferedImage&nbsp;image)</code>
  275. <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
  276. </td>
  277. </tr>
  278. <tr id="i14" class="altColor">
  279. <td class="colFirst"><code>static void</code></td>
  280. <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&nbsp;out,
  281. java.awt.image.BufferedImage&nbsp;image)</code>
  282. <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
  283. </td>
  284. </tr>
  285. <tr id="i15" class="rowColor">
  286. <td class="colFirst"><code>static void</code></td>
  287. <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&nbsp;out,
  288. java.awt.image.BufferedImage&nbsp;image,
  289. boolean&nbsp;encodeAlpha,
  290. int&nbsp;compression)</code>
  291. <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
  292. </td>
  293. </tr>
  294. <tr id="i16" class="altColor">
  295. <td class="colFirst"><code>static void</code></td>
  296. <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&nbsp;out,
  297. float&nbsp;quality,
  298. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  299. int&nbsp;width,
  300. int&nbsp;height)</code>
  301. <div class="block">Writes a chart to an output stream in JPEG format.</div>
  302. </td>
  303. </tr>
  304. <tr id="i17" class="rowColor">
  305. <td class="colFirst"><code>static void</code></td>
  306. <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&nbsp;out,
  307. float&nbsp;quality,
  308. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  309. int&nbsp;width,
  310. int&nbsp;height,
  311. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  312. <div class="block">Writes a chart to an output stream in JPEG format.</div>
  313. </td>
  314. </tr>
  315. <tr id="i18" class="altColor">
  316. <td class="colFirst"><code>static void</code></td>
  317. <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&nbsp;out,
  318. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  319. int&nbsp;width,
  320. int&nbsp;height)</code>
  321. <div class="block">Writes a chart to an output stream in JPEG format.</div>
  322. </td>
  323. </tr>
  324. <tr id="i19" class="rowColor">
  325. <td class="colFirst"><code>static void</code></td>
  326. <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&nbsp;out,
  327. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  328. int&nbsp;width,
  329. int&nbsp;height,
  330. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  331. <div class="block">Writes a chart to an output stream in JPEG format.</div>
  332. </td>
  333. </tr>
  334. <tr id="i20" class="altColor">
  335. <td class="colFirst"><code>static void</code></td>
  336. <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&nbsp;out,
  337. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  338. int&nbsp;width,
  339. int&nbsp;height)</code>
  340. <div class="block">Writes a chart to an output stream in PNG format.</div>
  341. </td>
  342. </tr>
  343. <tr id="i21" class="rowColor">
  344. <td class="colFirst"><code>static void</code></td>
  345. <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&nbsp;out,
  346. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  347. int&nbsp;width,
  348. int&nbsp;height,
  349. boolean&nbsp;encodeAlpha,
  350. int&nbsp;compression)</code>
  351. <div class="block">Writes a chart to an output stream in PNG format.</div>
  352. </td>
  353. </tr>
  354. <tr id="i22" class="altColor">
  355. <td class="colFirst"><code>static void</code></td>
  356. <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&nbsp;out,
  357. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  358. int&nbsp;width,
  359. int&nbsp;height,
  360. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  361. <div class="block">Writes a chart to an output stream in PNG format.</div>
  362. </td>
  363. </tr>
  364. <tr id="i23" class="rowColor">
  365. <td class="colFirst"><code>static void</code></td>
  366. <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&nbsp;out,
  367. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  368. int&nbsp;width,
  369. int&nbsp;height,
  370. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  371. boolean&nbsp;encodeAlpha,
  372. int&nbsp;compression)</code>
  373. <div class="block">Writes a chart to an output stream in PNG format.</div>
  374. </td>
  375. </tr>
  376. <tr id="i24" class="altColor">
  377. <td class="colFirst"><code>static void</code></td>
  378. <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&nbsp;writer,
  379. java.lang.String&nbsp;name,
  380. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  381. boolean&nbsp;useOverLibForToolTips)</code>
  382. <div class="block">Writes an image map to an output stream.</div>
  383. </td>
  384. </tr>
  385. <tr id="i25" class="rowColor">
  386. <td class="colFirst"><code>static void</code></td>
  387. <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&nbsp;writer,
  388. java.lang.String&nbsp;name,
  389. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  390. <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a>&nbsp;toolTipTagFragmentGenerator,
  391. <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a>&nbsp;urlTagFragmentGenerator)</code>
  392. <div class="block">Writes an image map to the specified writer.</div>
  393. </td>
  394. </tr>
  395. <tr id="i26" class="altColor">
  396. <td class="colFirst"><code>static void</code></td>
  397. <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&nbsp;out,
  398. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  399. int&nbsp;width,
  400. int&nbsp;height,
  401. int&nbsp;widthScaleFactor,
  402. int&nbsp;heightScaleFactor)</code>
  403. <div class="block">Writes a scaled version of a chart to an output stream in PNG format.</div>
  404. </td>
  405. </tr>
  406. </table>
  407. <ul class="blockList">
  408. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  409. <!-- -->
  410. </a>
  411. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  412. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  413. </ul>
  414. </li>
  415. </ul>
  416. </li>
  417. </ul>
  418. </div>
  419. <div class="details">
  420. <ul class="blockList">
  421. <li class="blockList">
  422. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  423. <ul class="blockList">
  424. <li class="blockList"><a name="constructor.detail">
  425. <!-- -->
  426. </a>
  427. <h3>Constructor Detail</h3>
  428. <a name="ChartUtilities--">
  429. <!-- -->
  430. </a>
  431. <ul class="blockListLast">
  432. <li class="blockList">
  433. <h4>ChartUtilities</h4>
  434. <pre>public&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.109">ChartUtilities</a>()</pre>
  435. </li>
  436. </ul>
  437. </li>
  438. </ul>
  439. <!-- ============ METHOD DETAIL ========== -->
  440. <ul class="blockList">
  441. <li class="blockList"><a name="method.detail">
  442. <!-- -->
  443. </a>
  444. <h3>Method Detail</h3>
  445. <a name="applyCurrentTheme-org.jfree.chart.JFreeChart-">
  446. <!-- -->
  447. </a>
  448. <ul class="blockList">
  449. <li class="blockList">
  450. <h4>applyCurrentTheme</h4>
  451. <pre>public static&nbsp;void&nbsp;<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>&nbsp;chart)</pre>
  452. <div class="block">Applies the current theme to the specified chart. This method is
  453. provided for convenience, the theme itself is stored in the
  454. <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a> class.</div>
  455. <dl>
  456. <dt><span class="paramLabel">Parameters:</span></dt>
  457. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  458. <dt><span class="simpleTagLabel">Since:</span></dt>
  459. <dd>1.0.11</dd>
  460. </dl>
  461. </li>
  462. </ul>
  463. <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-">
  464. <!-- -->
  465. </a>
  466. <ul class="blockList">
  467. <li class="blockList">
  468. <h4>writeChartAsPNG</h4>
  469. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.134">writeChartAsPNG</a>(java.io.OutputStream&nbsp;out,
  470. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  471. int&nbsp;width,
  472. int&nbsp;height)
  473. throws java.io.IOException</pre>
  474. <div class="block">Writes a chart to an output stream in PNG format.</div>
  475. <dl>
  476. <dt><span class="paramLabel">Parameters:</span></dt>
  477. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  478. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  479. <dd><code>width</code> - the image width.</dd>
  480. <dd><code>height</code> - the image height.</dd>
  481. <dt><span class="throwsLabel">Throws:</span></dt>
  482. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  483. </dl>
  484. </li>
  485. </ul>
  486. <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-boolean-int-">
  487. <!-- -->
  488. </a>
  489. <ul class="blockList">
  490. <li class="blockList">
  491. <h4>writeChartAsPNG</h4>
  492. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.154">writeChartAsPNG</a>(java.io.OutputStream&nbsp;out,
  493. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  494. int&nbsp;width,
  495. int&nbsp;height,
  496. boolean&nbsp;encodeAlpha,
  497. int&nbsp;compression)
  498. throws java.io.IOException</pre>
  499. <div class="block">Writes a chart to an output stream in PNG format.</div>
  500. <dl>
  501. <dt><span class="paramLabel">Parameters:</span></dt>
  502. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  503. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  504. <dd><code>width</code> - the image width.</dd>
  505. <dd><code>height</code> - the image height.</dd>
  506. <dd><code>encodeAlpha</code> - encode alpha?</dd>
  507. <dd><code>compression</code> - the compression level (0-9).</dd>
  508. <dt><span class="throwsLabel">Throws:</span></dt>
  509. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  510. </dl>
  511. </li>
  512. </ul>
  513. <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
  514. <!-- -->
  515. </a>
  516. <ul class="blockList">
  517. <li class="blockList">
  518. <h4>writeChartAsPNG</h4>
  519. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.178">writeChartAsPNG</a>(java.io.OutputStream&nbsp;out,
  520. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  521. int&nbsp;width,
  522. int&nbsp;height,
  523. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)
  524. throws java.io.IOException</pre>
  525. <div class="block">Writes a chart to an output stream in PNG format. This method allows
  526. 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
  527. information about the chart dimensions/entities. You will need this
  528. info if you want to create an HTML image map.</div>
  529. <dl>
  530. <dt><span class="paramLabel">Parameters:</span></dt>
  531. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  532. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  533. <dd><code>width</code> - the image width.</dd>
  534. <dd><code>height</code> - the image height.</dd>
  535. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  536. <dt><span class="throwsLabel">Throws:</span></dt>
  537. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  538. </dl>
  539. </li>
  540. </ul>
  541. <a name="writeChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-boolean-int-">
  542. <!-- -->
  543. </a>
  544. <ul class="blockList">
  545. <li class="blockList">
  546. <h4>writeChartAsPNG</h4>
  547. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.205">writeChartAsPNG</a>(java.io.OutputStream&nbsp;out,
  548. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  549. int&nbsp;width,
  550. int&nbsp;height,
  551. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  552. boolean&nbsp;encodeAlpha,
  553. int&nbsp;compression)
  554. throws java.io.IOException</pre>
  555. <div class="block">Writes a chart to an output stream in PNG format. This method allows
  556. 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
  557. information about the chart dimensions/entities. You will need this
  558. info if you want to create an HTML image map.</div>
  559. <dl>
  560. <dt><span class="paramLabel">Parameters:</span></dt>
  561. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  562. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  563. <dd><code>width</code> - the image width.</dd>
  564. <dd><code>height</code> - the image height.</dd>
  565. <dd><code>info</code> - carries back chart rendering info (<code>null</code>
  566. permitted).</dd>
  567. <dd><code>encodeAlpha</code> - encode alpha?</dd>
  568. <dd><code>compression</code> - the PNG compression level (0-9).</dd>
  569. <dt><span class="throwsLabel">Throws:</span></dt>
  570. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  571. </dl>
  572. </li>
  573. </ul>
  574. <a name="writeScaledChartAsPNG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-int-int-">
  575. <!-- -->
  576. </a>
  577. <ul class="blockList">
  578. <li class="blockList">
  579. <h4>writeScaledChartAsPNG</h4>
  580. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.230">writeScaledChartAsPNG</a>(java.io.OutputStream&nbsp;out,
  581. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  582. int&nbsp;width,
  583. int&nbsp;height,
  584. int&nbsp;widthScaleFactor,
  585. int&nbsp;heightScaleFactor)
  586. throws java.io.IOException</pre>
  587. <div class="block">Writes a scaled version of a chart to an output stream in PNG format.</div>
  588. <dl>
  589. <dt><span class="paramLabel">Parameters:</span></dt>
  590. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  591. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  592. <dd><code>width</code> - the unscaled chart width.</dd>
  593. <dd><code>height</code> - the unscaled chart height.</dd>
  594. <dd><code>widthScaleFactor</code> - the horizontal scale factor.</dd>
  595. <dd><code>heightScaleFactor</code> - the vertical scale factor.</dd>
  596. <dt><span class="throwsLabel">Throws:</span></dt>
  597. <dd><code>java.io.IOException</code> - if there are any I/O problems.</dd>
  598. </dl>
  599. </li>
  600. </ul>
  601. <a name="saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-">
  602. <!-- -->
  603. </a>
  604. <ul class="blockList">
  605. <li class="blockList">
  606. <h4>saveChartAsPNG</h4>
  607. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.281">saveChartAsPNG</a>(java.io.File&nbsp;file,
  608. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  609. int&nbsp;width,
  610. int&nbsp;height)
  611. throws java.io.IOException</pre>
  612. <div class="block">Saves a chart to the specified file in PNG format.</div>
  613. <dl>
  614. <dt><span class="paramLabel">Parameters:</span></dt>
  615. <dd><code>file</code> - the file name (<code>null</code> not permitted).</dd>
  616. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  617. <dd><code>width</code> - the image width.</dd>
  618. <dd><code>height</code> - the image height.</dd>
  619. <dt><span class="throwsLabel">Throws:</span></dt>
  620. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  621. </dl>
  622. </li>
  623. </ul>
  624. <a name="saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
  625. <!-- -->
  626. </a>
  627. <ul class="blockList">
  628. <li class="blockList">
  629. <h4>saveChartAsPNG</h4>
  630. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.303">saveChartAsPNG</a>(java.io.File&nbsp;file,
  631. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  632. int&nbsp;width,
  633. int&nbsp;height,
  634. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)
  635. throws java.io.IOException</pre>
  636. <div class="block">Saves a chart to a file in PNG format. This method allows you to pass
  637. 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
  638. chart dimensions/entities. You will need this info if you want to
  639. create an HTML image map.</div>
  640. <dl>
  641. <dt><span class="paramLabel">Parameters:</span></dt>
  642. <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
  643. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  644. <dd><code>width</code> - the image width.</dd>
  645. <dd><code>height</code> - the image height.</dd>
  646. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  647. <dt><span class="throwsLabel">Throws:</span></dt>
  648. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  649. </dl>
  650. </li>
  651. </ul>
  652. <a name="saveChartAsPNG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-boolean-int-">
  653. <!-- -->
  654. </a>
  655. <ul class="blockList">
  656. <li class="blockList">
  657. <h4>saveChartAsPNG</h4>
  658. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.333">saveChartAsPNG</a>(java.io.File&nbsp;file,
  659. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  660. int&nbsp;width,
  661. int&nbsp;height,
  662. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  663. boolean&nbsp;encodeAlpha,
  664. int&nbsp;compression)
  665. throws java.io.IOException</pre>
  666. <div class="block">Saves a chart to a file in PNG format. This method allows you to pass
  667. 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
  668. chart dimensions/entities. You will need this info if you want to
  669. create an HTML image map.</div>
  670. <dl>
  671. <dt><span class="paramLabel">Parameters:</span></dt>
  672. <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
  673. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  674. <dd><code>width</code> - the image width.</dd>
  675. <dd><code>height</code> - the image height.</dd>
  676. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  677. <dd><code>encodeAlpha</code> - encode alpha?</dd>
  678. <dd><code>compression</code> - the PNG compression level (0-9).</dd>
  679. <dt><span class="throwsLabel">Throws:</span></dt>
  680. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  681. </dl>
  682. </li>
  683. </ul>
  684. <a name="writeChartAsJPEG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-">
  685. <!-- -->
  686. </a>
  687. <ul class="blockList">
  688. <li class="blockList">
  689. <h4>writeChartAsJPEG</h4>
  690. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.361">writeChartAsJPEG</a>(java.io.OutputStream&nbsp;out,
  691. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  692. int&nbsp;width,
  693. int&nbsp;height)
  694. throws java.io.IOException</pre>
  695. <div class="block">Writes a chart to an output stream in JPEG format. Please note that
  696. JPEG is a poor format for chart images, use PNG if possible.</div>
  697. <dl>
  698. <dt><span class="paramLabel">Parameters:</span></dt>
  699. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  700. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  701. <dd><code>width</code> - the image width.</dd>
  702. <dd><code>height</code> - the image height.</dd>
  703. <dt><span class="throwsLabel">Throws:</span></dt>
  704. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  705. </dl>
  706. </li>
  707. </ul>
  708. <a name="writeChartAsJPEG-java.io.OutputStream-float-org.jfree.chart.JFreeChart-int-int-">
  709. <!-- -->
  710. </a>
  711. <ul class="blockList">
  712. <li class="blockList">
  713. <h4>writeChartAsJPEG</h4>
  714. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.381">writeChartAsJPEG</a>(java.io.OutputStream&nbsp;out,
  715. float&nbsp;quality,
  716. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  717. int&nbsp;width,
  718. int&nbsp;height)
  719. throws java.io.IOException</pre>
  720. <div class="block">Writes a chart to an output stream in JPEG format. Please note that
  721. JPEG is a poor format for chart images, use PNG if possible.</div>
  722. <dl>
  723. <dt><span class="paramLabel">Parameters:</span></dt>
  724. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  725. <dd><code>quality</code> - the quality setting.</dd>
  726. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  727. <dd><code>width</code> - the image width.</dd>
  728. <dd><code>height</code> - the image height.</dd>
  729. <dt><span class="throwsLabel">Throws:</span></dt>
  730. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  731. </dl>
  732. </li>
  733. </ul>
  734. <a name="writeChartAsJPEG-java.io.OutputStream-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
  735. <!-- -->
  736. </a>
  737. <ul class="blockList">
  738. <li class="blockList">
  739. <h4>writeChartAsJPEG</h4>
  740. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.404">writeChartAsJPEG</a>(java.io.OutputStream&nbsp;out,
  741. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  742. int&nbsp;width,
  743. int&nbsp;height,
  744. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)
  745. throws java.io.IOException</pre>
  746. <div class="block">Writes a chart to an output stream in JPEG format. This method allows
  747. 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
  748. information about the chart dimensions/entities. You will need this
  749. info if you want to create an HTML image map.</div>
  750. <dl>
  751. <dt><span class="paramLabel">Parameters:</span></dt>
  752. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  753. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  754. <dd><code>width</code> - the image width.</dd>
  755. <dd><code>height</code> - the image height.</dd>
  756. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  757. <dt><span class="throwsLabel">Throws:</span></dt>
  758. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  759. </dl>
  760. </li>
  761. </ul>
  762. <a name="writeChartAsJPEG-java.io.OutputStream-float-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
  763. <!-- -->
  764. </a>
  765. <ul class="blockList">
  766. <li class="blockList">
  767. <h4>writeChartAsJPEG</h4>
  768. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.431">writeChartAsJPEG</a>(java.io.OutputStream&nbsp;out,
  769. float&nbsp;quality,
  770. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  771. int&nbsp;width,
  772. int&nbsp;height,
  773. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)
  774. throws java.io.IOException</pre>
  775. <div class="block">Writes a chart to an output stream in JPEG format. This method allows
  776. 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
  777. information about the chart dimensions/entities. You will need this
  778. info if you want to create an HTML image map.</div>
  779. <dl>
  780. <dt><span class="paramLabel">Parameters:</span></dt>
  781. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  782. <dd><code>quality</code> - the output quality (0.0f to 1.0f).</dd>
  783. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  784. <dd><code>width</code> - the image width.</dd>
  785. <dd><code>height</code> - the image height.</dd>
  786. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  787. <dt><span class="throwsLabel">Throws:</span></dt>
  788. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  789. </dl>
  790. </li>
  791. </ul>
  792. <a name="saveChartAsJPEG-java.io.File-org.jfree.chart.JFreeChart-int-int-">
  793. <!-- -->
  794. </a>
  795. <ul class="blockList">
  796. <li class="blockList">
  797. <h4>saveChartAsJPEG</h4>
  798. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.453">saveChartAsJPEG</a>(java.io.File&nbsp;file,
  799. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  800. int&nbsp;width,
  801. int&nbsp;height)
  802. throws java.io.IOException</pre>
  803. <div class="block">Saves a chart to a file in JPEG format.</div>
  804. <dl>
  805. <dt><span class="paramLabel">Parameters:</span></dt>
  806. <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
  807. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  808. <dd><code>width</code> - the image width.</dd>
  809. <dd><code>height</code> - the image height.</dd>
  810. <dt><span class="throwsLabel">Throws:</span></dt>
  811. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  812. </dl>
  813. </li>
  814. </ul>
  815. <a name="saveChartAsJPEG-java.io.File-float-org.jfree.chart.JFreeChart-int-int-">
  816. <!-- -->
  817. </a>
  818. <ul class="blockList">
  819. <li class="blockList">
  820. <h4>saveChartAsJPEG</h4>
  821. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.472">saveChartAsJPEG</a>(java.io.File&nbsp;file,
  822. float&nbsp;quality,
  823. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  824. int&nbsp;width,
  825. int&nbsp;height)
  826. throws java.io.IOException</pre>
  827. <div class="block">Saves a chart to a file in JPEG format.</div>
  828. <dl>
  829. <dt><span class="paramLabel">Parameters:</span></dt>
  830. <dd><code>file</code> - the file (<code>null</code> not permitted).</dd>
  831. <dd><code>quality</code> - the JPEG quality setting.</dd>
  832. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  833. <dd><code>width</code> - the image width.</dd>
  834. <dd><code>height</code> - the image height.</dd>
  835. <dt><span class="throwsLabel">Throws:</span></dt>
  836. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  837. </dl>
  838. </li>
  839. </ul>
  840. <a name="saveChartAsJPEG-java.io.File-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
  841. <!-- -->
  842. </a>
  843. <ul class="blockList">
  844. <li class="blockList">
  845. <h4>saveChartAsJPEG</h4>
  846. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.494">saveChartAsJPEG</a>(java.io.File&nbsp;file,
  847. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  848. int&nbsp;width,
  849. int&nbsp;height,
  850. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)
  851. throws java.io.IOException</pre>
  852. <div class="block">Saves a chart to a file in JPEG format. This method allows you to pass
  853. 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
  854. chart dimensions/entities. You will need this info if you want to
  855. create an HTML image map.</div>
  856. <dl>
  857. <dt><span class="paramLabel">Parameters:</span></dt>
  858. <dd><code>file</code> - the file name (<code>null</code> not permitted).</dd>
  859. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  860. <dd><code>width</code> - the image width.</dd>
  861. <dd><code>height</code> - the image height.</dd>
  862. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  863. <dt><span class="throwsLabel">Throws:</span></dt>
  864. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  865. </dl>
  866. </li>
  867. </ul>
  868. <a name="saveChartAsJPEG-java.io.File-float-org.jfree.chart.JFreeChart-int-int-org.jfree.chart.ChartRenderingInfo-">
  869. <!-- -->
  870. </a>
  871. <ul class="blockList">
  872. <li class="blockList">
  873. <h4>saveChartAsJPEG</h4>
  874. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.524">saveChartAsJPEG</a>(java.io.File&nbsp;file,
  875. float&nbsp;quality,
  876. <a href="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</a>&nbsp;chart,
  877. int&nbsp;width,
  878. int&nbsp;height,
  879. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)
  880. throws java.io.IOException</pre>
  881. <div class="block">Saves a chart to a file in JPEG format. This method allows you to pass
  882. 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
  883. chart dimensions/entities. You will need this info if you want to
  884. create an HTML image map.</div>
  885. <dl>
  886. <dt><span class="paramLabel">Parameters:</span></dt>
  887. <dd><code>file</code> - the file name (<code>null</code> not permitted).</dd>
  888. <dd><code>quality</code> - the quality setting.</dd>
  889. <dd><code>chart</code> - the chart (<code>null</code> not permitted).</dd>
  890. <dd><code>width</code> - the image width.</dd>
  891. <dd><code>height</code> - the image height.</dd>
  892. <dd><code>info</code> - the chart rendering info (<code>null</code> permitted).</dd>
  893. <dt><span class="throwsLabel">Throws:</span></dt>
  894. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  895. </dl>
  896. </li>
  897. </ul>
  898. <a name="writeBufferedImageAsJPEG-java.io.OutputStream-java.awt.image.BufferedImage-">
  899. <!-- -->
  900. </a>
  901. <ul class="blockList">
  902. <li class="blockList">
  903. <h4>writeBufferedImageAsJPEG</h4>
  904. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.549">writeBufferedImageAsJPEG</a>(java.io.OutputStream&nbsp;out,
  905. java.awt.image.BufferedImage&nbsp;image)
  906. throws java.io.IOException</pre>
  907. <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
  908. <dl>
  909. <dt><span class="paramLabel">Parameters:</span></dt>
  910. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  911. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  912. <dt><span class="throwsLabel">Throws:</span></dt>
  913. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  914. </dl>
  915. </li>
  916. </ul>
  917. <a name="writeBufferedImageAsJPEG-java.io.OutputStream-float-java.awt.image.BufferedImage-">
  918. <!-- -->
  919. </a>
  920. <ul class="blockList">
  921. <li class="blockList">
  922. <h4>writeBufferedImageAsJPEG</h4>
  923. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.566">writeBufferedImageAsJPEG</a>(java.io.OutputStream&nbsp;out,
  924. float&nbsp;quality,
  925. java.awt.image.BufferedImage&nbsp;image)
  926. throws java.io.IOException</pre>
  927. <div class="block">Writes a <code>BufferedImage</code> to an output stream in JPEG format.</div>
  928. <dl>
  929. <dt><span class="paramLabel">Parameters:</span></dt>
  930. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  931. <dd><code>quality</code> - the image quality (0.0f to 1.0f).</dd>
  932. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  933. <dt><span class="throwsLabel">Throws:</span></dt>
  934. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  935. </dl>
  936. </li>
  937. </ul>
  938. <a name="writeBufferedImageAsPNG-java.io.OutputStream-java.awt.image.BufferedImage-">
  939. <!-- -->
  940. </a>
  941. <ul class="blockList">
  942. <li class="blockList">
  943. <h4>writeBufferedImageAsPNG</h4>
  944. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.581">writeBufferedImageAsPNG</a>(java.io.OutputStream&nbsp;out,
  945. java.awt.image.BufferedImage&nbsp;image)
  946. throws java.io.IOException</pre>
  947. <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
  948. <dl>
  949. <dt><span class="paramLabel">Parameters:</span></dt>
  950. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  951. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  952. <dt><span class="throwsLabel">Throws:</span></dt>
  953. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  954. </dl>
  955. </li>
  956. </ul>
  957. <a name="writeBufferedImageAsPNG-java.io.OutputStream-java.awt.image.BufferedImage-boolean-int-">
  958. <!-- -->
  959. </a>
  960. <ul class="blockList">
  961. <li class="blockList">
  962. <h4>writeBufferedImageAsPNG</h4>
  963. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.598">writeBufferedImageAsPNG</a>(java.io.OutputStream&nbsp;out,
  964. java.awt.image.BufferedImage&nbsp;image,
  965. boolean&nbsp;encodeAlpha,
  966. int&nbsp;compression)
  967. throws java.io.IOException</pre>
  968. <div class="block">Writes a <code>BufferedImage</code> to an output stream in PNG format.</div>
  969. <dl>
  970. <dt><span class="paramLabel">Parameters:</span></dt>
  971. <dd><code>out</code> - the output stream (<code>null</code> not permitted).</dd>
  972. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  973. <dd><code>encodeAlpha</code> - encode alpha?</dd>
  974. <dd><code>compression</code> - the compression level (0-9).</dd>
  975. <dt><span class="throwsLabel">Throws:</span></dt>
  976. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  977. </dl>
  978. </li>
  979. </ul>
  980. <a name="encodeAsPNG-java.awt.image.BufferedImage-">
  981. <!-- -->
  982. </a>
  983. <ul class="blockList">
  984. <li class="blockList">
  985. <h4>encodeAsPNG</h4>
  986. <pre>public static&nbsp;byte[]&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.615">encodeAsPNG</a>(java.awt.image.BufferedImage&nbsp;image)
  987. throws java.io.IOException</pre>
  988. <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
  989. <dl>
  990. <dt><span class="paramLabel">Parameters:</span></dt>
  991. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  992. <dt><span class="returnLabel">Returns:</span></dt>
  993. <dd>A byte array in PNG format.</dd>
  994. <dt><span class="throwsLabel">Throws:</span></dt>
  995. <dd><code>java.io.IOException</code> - if there is an I/O problem.</dd>
  996. </dl>
  997. </li>
  998. </ul>
  999. <a name="encodeAsPNG-java.awt.image.BufferedImage-boolean-int-">
  1000. <!-- -->
  1001. </a>
  1002. <ul class="blockList">
  1003. <li class="blockList">
  1004. <h4>encodeAsPNG</h4>
  1005. <pre>public static&nbsp;byte[]&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.630">encodeAsPNG</a>(java.awt.image.BufferedImage&nbsp;image,
  1006. boolean&nbsp;encodeAlpha,
  1007. int&nbsp;compression)
  1008. throws java.io.IOException</pre>
  1009. <div class="block">Encodes a <code>BufferedImage</code> to PNG format.</div>
  1010. <dl>
  1011. <dt><span class="paramLabel">Parameters:</span></dt>
  1012. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  1013. <dd><code>encodeAlpha</code> - encode alpha?</dd>
  1014. <dd><code>compression</code> - the PNG compression level (0-9).</dd>
  1015. <dt><span class="returnLabel">Returns:</span></dt>
  1016. <dd>The byte array in PNG format.</dd>
  1017. <dt><span class="throwsLabel">Throws:</span></dt>
  1018. <dd><code>java.io.IOException</code> - if there is an I/O problem.</dd>
  1019. </dl>
  1020. </li>
  1021. </ul>
  1022. <a name="writeImageMap-java.io.PrintWriter-java.lang.String-org.jfree.chart.ChartRenderingInfo-boolean-">
  1023. <!-- -->
  1024. </a>
  1025. <ul class="blockList">
  1026. <li class="blockList">
  1027. <h4>writeImageMap</h4>
  1028. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.647">writeImageMap</a>(java.io.PrintWriter&nbsp;writer,
  1029. java.lang.String&nbsp;name,
  1030. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  1031. boolean&nbsp;useOverLibForToolTips)
  1032. throws java.io.IOException</pre>
  1033. <div class="block">Writes an image map to an output stream.</div>
  1034. <dl>
  1035. <dt><span class="paramLabel">Parameters:</span></dt>
  1036. <dd><code>writer</code> - the writer (<code>null</code> not permitted).</dd>
  1037. <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
  1038. <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
  1039. <dd><code>useOverLibForToolTips</code> - whether to use OverLIB for tooltips
  1040. (http://www.bosrup.com/web/overlib/).</dd>
  1041. <dt><span class="throwsLabel">Throws:</span></dt>
  1042. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  1043. </dl>
  1044. </li>
  1045. </ul>
  1046. <a name="writeImageMap-java.io.PrintWriter-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-">
  1047. <!-- -->
  1048. </a>
  1049. <ul class="blockList">
  1050. <li class="blockList">
  1051. <h4>writeImageMap</h4>
  1052. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.681">writeImageMap</a>(java.io.PrintWriter&nbsp;writer,
  1053. java.lang.String&nbsp;name,
  1054. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  1055. <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a>&nbsp;toolTipTagFragmentGenerator,
  1056. <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a>&nbsp;urlTagFragmentGenerator)
  1057. throws java.io.IOException</pre>
  1058. <div class="block">Writes an image map to the specified writer.</div>
  1059. <dl>
  1060. <dt><span class="paramLabel">Parameters:</span></dt>
  1061. <dd><code>writer</code> - the writer (<code>null</code> not permitted).</dd>
  1062. <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
  1063. <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
  1064. <dd><code>toolTipTagFragmentGenerator</code> - a generator for the HTML fragment
  1065. that will contain the tooltip text (<code>null</code> not permitted
  1066. if <code>info</code> contains tooltip information).</dd>
  1067. <dd><code>urlTagFragmentGenerator</code> - a generator for the HTML fragment that
  1068. will contain the URL reference (<code>null</code> not permitted if
  1069. <code>info</code> contains URLs).</dd>
  1070. <dt><span class="throwsLabel">Throws:</span></dt>
  1071. <dd><code>java.io.IOException</code> - if there are any I/O errors.</dd>
  1072. </dl>
  1073. </li>
  1074. </ul>
  1075. <a name="getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-">
  1076. <!-- -->
  1077. </a>
  1078. <ul class="blockList">
  1079. <li class="blockList">
  1080. <h4>getImageMap</h4>
  1081. <pre>public static&nbsp;java.lang.String&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.702">getImageMap</a>(java.lang.String&nbsp;name,
  1082. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1083. <div class="block">Creates an HTML image map. This method maps to
  1084. <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,
  1085. ToolTipTagFragmentGenerator, URLTagFragmentGenerator)</code></a>, using default
  1086. generators.</div>
  1087. <dl>
  1088. <dt><span class="paramLabel">Parameters:</span></dt>
  1089. <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
  1090. <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
  1091. <dt><span class="returnLabel">Returns:</span></dt>
  1092. <dd>The map tag.</dd>
  1093. </dl>
  1094. </li>
  1095. </ul>
  1096. <a name="getImageMap-java.lang.String-org.jfree.chart.ChartRenderingInfo-org.jfree.chart.imagemap.ToolTipTagFragmentGenerator-org.jfree.chart.imagemap.URLTagFragmentGenerator-">
  1097. <!-- -->
  1098. </a>
  1099. <ul class="blockListLast">
  1100. <li class="blockList">
  1101. <h4>getImageMap</h4>
  1102. <pre>public static&nbsp;java.lang.String&nbsp;<a href="../../../src-html/org/jfree/chart/ChartUtilities.html#line.724">getImageMap</a>(java.lang.String&nbsp;name,
  1103. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info,
  1104. <a href="../../../org/jfree/chart/imagemap/ToolTipTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">ToolTipTagFragmentGenerator</a>&nbsp;toolTipTagFragmentGenerator,
  1105. <a href="../../../org/jfree/chart/imagemap/URLTagFragmentGenerator.html" title="interface in org.jfree.chart.imagemap">URLTagFragmentGenerator</a>&nbsp;urlTagFragmentGenerator)</pre>
  1106. <div class="block">Creates an HTML image map. This method maps directly to
  1107. <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,
  1108. ToolTipTagFragmentGenerator, URLTagFragmentGenerator)</code></a>.</div>
  1109. <dl>
  1110. <dt><span class="paramLabel">Parameters:</span></dt>
  1111. <dd><code>name</code> - the map name (<code>null</code> not permitted).</dd>
  1112. <dd><code>info</code> - the chart rendering info (<code>null</code> not permitted).</dd>
  1113. <dd><code>toolTipTagFragmentGenerator</code> - a generator for the HTML fragment
  1114. that will contain the tooltip text (<code>null</code> not permitted
  1115. if <code>info</code> contains tooltip information).</dd>
  1116. <dd><code>urlTagFragmentGenerator</code> - a generator for the HTML fragment that
  1117. will contain the URL reference (<code>null</code> not permitted if
  1118. <code>info</code> contains URLs).</dd>
  1119. <dt><span class="returnLabel">Returns:</span></dt>
  1120. <dd>The map tag.</dd>
  1121. </dl>
  1122. </li>
  1123. </ul>
  1124. </li>
  1125. </ul>
  1126. </li>
  1127. </ul>
  1128. </div>
  1129. </div>
  1130. <!-- ========= END OF CLASS DATA ========= -->
  1131. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1132. <div class="bottomNav"><a name="navbar.bottom">
  1133. <!-- -->
  1134. </a>
  1135. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  1136. <a name="navbar.bottom.firstrow">
  1137. <!-- -->
  1138. </a>
  1139. <ul class="navList" title="Navigation">
  1140. <li><a href="../../../overview-summary.html">Overview</a></li>
  1141. <li><a href="package-summary.html">Package</a></li>
  1142. <li class="navBarCell1Rev">Class</li>
  1143. <li><a href="class-use/ChartUtilities.html">Use</a></li>
  1144. <li><a href="package-tree.html">Tree</a></li>
  1145. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  1146. <li><a href="../../../index-files/index-1.html">Index</a></li>
  1147. <li><a href="../../../help-doc.html">Help</a></li>
  1148. </ul>
  1149. </div>
  1150. <div class="subNav">
  1151. <ul class="navList">
  1152. <li><a href="../../../org/jfree/chart/ChartTransferable.html" title="class in org.jfree.chart"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  1153. <li><a href="../../../org/jfree/chart/ClipPath.html" title="class in org.jfree.chart"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  1154. </ul>
  1155. <ul class="navList">
  1156. <li><a href="../../../index.html?org/jfree/chart/ChartUtilities.html" target="_top">Frames</a></li>
  1157. <li><a href="ChartUtilities.html" target="_top">No&nbsp;Frames</a></li>
  1158. </ul>
  1159. <ul class="navList" id="allclasses_navbar_bottom">
  1160. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  1161. </ul>
  1162. <div>
  1163. <script type="text/javascript"><!--
  1164. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1165. if(window==top) {
  1166. allClassesLink.style.display = "block";
  1167. }
  1168. else {
  1169. allClassesLink.style.display = "none";
  1170. }
  1171. //-->
  1172. </script>
  1173. </div>
  1174. <div>
  1175. <ul class="subNavList">
  1176. <li>Summary:&nbsp;</li>
  1177. <li>Nested&nbsp;|&nbsp;</li>
  1178. <li>Field&nbsp;|&nbsp;</li>
  1179. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  1180. <li><a href="#method.summary">Method</a></li>
  1181. </ul>
  1182. <ul class="subNavList">
  1183. <li>Detail:&nbsp;</li>
  1184. <li>Field&nbsp;|&nbsp;</li>
  1185. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  1186. <li><a href="#method.detail">Method</a></li>
  1187. </ul>
  1188. </div>
  1189. <a name="skip.navbar.bottom">
  1190. <!-- -->
  1191. </a></div>
  1192. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1193. </body>
  1194. </html>