JFreeChart.html 105 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097
  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>JFreeChart (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="JFreeChart (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":9,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance 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/JFreeChart.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/HashUtilities.html" title="class in org.jfree.chart"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../org/jfree/chart/LegendItem.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/JFreeChart.html" target="_top">Frames</a></li>
  57. <li><a href="JFreeChart.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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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 JFreeChart" class="title">Class JFreeChart</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.JFreeChart</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <dl>
  111. <dt>All Implemented Interfaces:</dt>
  112. <dd>java.io.Serializable, java.lang.Cloneable, java.util.EventListener, <a href="../../../org/jfree/chart/event/PlotChangeListener.html" title="interface in org.jfree.chart.event">PlotChangeListener</a>, <a href="../../../org/jfree/chart/event/TitleChangeListener.html" title="interface in org.jfree.chart.event">TitleChangeListener</a>, org.jfree.ui.Drawable</dd>
  113. </dl>
  114. <hr>
  115. <br>
  116. <pre>public class <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.249">JFreeChart</a>
  117. extends java.lang.Object
  118. implements org.jfree.ui.Drawable, <a href="../../../org/jfree/chart/event/TitleChangeListener.html" title="interface in org.jfree.chart.event">TitleChangeListener</a>, <a href="../../../org/jfree/chart/event/PlotChangeListener.html" title="interface in org.jfree.chart.event">PlotChangeListener</a>, java.io.Serializable, java.lang.Cloneable</pre>
  119. <div class="block">A chart class implemented using the Java 2D APIs. The current version
  120. supports bar charts, line charts, pie charts and xy plots (including time
  121. series data).
  122. <P>
  123. JFreeChart coordinates several objects to achieve its aim of being able to
  124. draw a chart on a Java 2D graphics device: a list of <a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title"><code>Title</code></a> objects
  125. (which often includes the chart's legend), a <a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot"><code>Plot</code></a> and a
  126. <a href="../../../org/jfree/data/general/Dataset.html" title="interface in org.jfree.data.general"><code>Dataset</code></a> (the plot in turn manages a
  127. domain axis and a range axis).
  128. <P>
  129. You should use a <a href="../../../org/jfree/chart/ChartPanel.html" title="class in org.jfree.chart"><code>ChartPanel</code></a> to display a chart in a GUI.
  130. <P>
  131. The <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a> class contains static methods for creating
  132. 'ready-made' charts.</div>
  133. <dl>
  134. <dt><span class="seeLabel">See Also:</span></dt>
  135. <dd><a href="../../../org/jfree/chart/ChartPanel.html" title="class in org.jfree.chart"><code>ChartPanel</code></a>,
  136. <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a>,
  137. <a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title"><code>Title</code></a>,
  138. <a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot"><code>Plot</code></a>,
  139. <a href="../../../serialized-form.html#org.jfree.chart.JFreeChart">Serialized Form</a></dd>
  140. </dl>
  141. </li>
  142. </ul>
  143. </div>
  144. <div class="summary">
  145. <ul class="blockList">
  146. <li class="blockList">
  147. <!-- =========== FIELD SUMMARY =========== -->
  148. <ul class="blockList">
  149. <li class="blockList"><a name="field.summary">
  150. <!-- -->
  151. </a>
  152. <h3>Field Summary</h3>
  153. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  154. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  155. <tr>
  156. <th class="colFirst" scope="col">Modifier and Type</th>
  157. <th class="colLast" scope="col">Field and Description</th>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colFirst"><code>static java.awt.Image</code></td>
  161. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#DEFAULT_BACKGROUND_IMAGE">DEFAULT_BACKGROUND_IMAGE</a></span></code>
  162. <div class="block">The default background image.</div>
  163. </td>
  164. </tr>
  165. <tr class="rowColor">
  166. <td class="colFirst"><code>static int</code></td>
  167. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#DEFAULT_BACKGROUND_IMAGE_ALIGNMENT">DEFAULT_BACKGROUND_IMAGE_ALIGNMENT</a></span></code>
  168. <div class="block">The default background image alignment.</div>
  169. </td>
  170. </tr>
  171. <tr class="altColor">
  172. <td class="colFirst"><code>static float</code></td>
  173. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#DEFAULT_BACKGROUND_IMAGE_ALPHA">DEFAULT_BACKGROUND_IMAGE_ALPHA</a></span></code>
  174. <div class="block">The default background image alpha.</div>
  175. </td>
  176. </tr>
  177. <tr class="rowColor">
  178. <td class="colFirst"><code>static java.awt.Paint</code></td>
  179. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#DEFAULT_BACKGROUND_PAINT">DEFAULT_BACKGROUND_PAINT</a></span></code>
  180. <div class="block">The default background color.</div>
  181. </td>
  182. </tr>
  183. <tr class="altColor">
  184. <td class="colFirst"><code>static java.awt.Font</code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#DEFAULT_TITLE_FONT">DEFAULT_TITLE_FONT</a></span></code>
  186. <div class="block">The default font for titles.</div>
  187. </td>
  188. </tr>
  189. <tr class="rowColor">
  190. <td class="colFirst"><code>static org.jfree.ui.about.ProjectInfo</code></td>
  191. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#INFO">INFO</a></span></code>
  192. <div class="block">Information about the project.</div>
  193. </td>
  194. </tr>
  195. <tr class="altColor">
  196. <td class="colFirst"><code>static java.awt.RenderingHints.Key</code></td>
  197. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#KEY_SUPPRESS_SHADOW_GENERATION">KEY_SUPPRESS_SHADOW_GENERATION</a></span></code>
  198. <div class="block">The key for a rendering hint that can suppress the generation of a
  199. shadow effect when drawing the chart.</div>
  200. </td>
  201. </tr>
  202. </table>
  203. </li>
  204. </ul>
  205. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  206. <ul class="blockList">
  207. <li class="blockList"><a name="constructor.summary">
  208. <!-- -->
  209. </a>
  210. <h3>Constructor Summary</h3>
  211. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  212. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  213. <tr>
  214. <th class="colOne" scope="col">Constructor and Description</th>
  215. </tr>
  216. <tr class="altColor">
  217. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#JFreeChart-org.jfree.chart.plot.Plot-">JFreeChart</a></span>(<a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;plot)</code>
  218. <div class="block">Creates a new chart based on the supplied plot.</div>
  219. </td>
  220. </tr>
  221. <tr class="rowColor">
  222. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#JFreeChart-java.lang.String-java.awt.Font-org.jfree.chart.plot.Plot-boolean-">JFreeChart</a></span>(java.lang.String&nbsp;title,
  223. java.awt.Font&nbsp;titleFont,
  224. <a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;plot,
  225. boolean&nbsp;createLegend)</code>
  226. <div class="block">Creates a new chart with the given title and plot.</div>
  227. </td>
  228. </tr>
  229. <tr class="altColor">
  230. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#JFreeChart-java.lang.String-org.jfree.chart.plot.Plot-">JFreeChart</a></span>(java.lang.String&nbsp;title,
  231. <a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;plot)</code>
  232. <div class="block">Creates a new chart with the given title and plot.</div>
  233. </td>
  234. </tr>
  235. </table>
  236. </li>
  237. </ul>
  238. <!-- ========== METHOD SUMMARY =========== -->
  239. <ul class="blockList">
  240. <li class="blockList"><a name="method.summary">
  241. <!-- -->
  242. </a>
  243. <h3>Method Summary</h3>
  244. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  245. <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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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>
  246. <tr>
  247. <th class="colFirst" scope="col">Modifier and Type</th>
  248. <th class="colLast" scope="col">Method and Description</th>
  249. </tr>
  250. <tr id="i0" class="altColor">
  251. <td class="colFirst"><code>void</code></td>
  252. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#addChangeListener-org.jfree.chart.event.ChartChangeListener-">addChangeListener</a></span>(<a href="../../../org/jfree/chart/event/ChartChangeListener.html" title="interface in org.jfree.chart.event">ChartChangeListener</a>&nbsp;listener)</code>
  253. <div class="block">Registers an object for notification of changes to the chart.</div>
  254. </td>
  255. </tr>
  256. <tr id="i1" class="rowColor">
  257. <td class="colFirst"><code>void</code></td>
  258. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#addLegend-org.jfree.chart.title.LegendTitle-">addLegend</a></span>(<a href="../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title">LegendTitle</a>&nbsp;legend)</code>
  259. <div class="block">Adds a legend to the plot and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all
  260. registered listeners.</div>
  261. </td>
  262. </tr>
  263. <tr id="i2" class="altColor">
  264. <td class="colFirst"><code>void</code></td>
  265. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#addProgressListener-org.jfree.chart.event.ChartProgressListener-">addProgressListener</a></span>(<a href="../../../org/jfree/chart/event/ChartProgressListener.html" title="interface in org.jfree.chart.event">ChartProgressListener</a>&nbsp;listener)</code>
  266. <div class="block">Registers an object for notification of progress events relating to the
  267. chart.</div>
  268. </td>
  269. </tr>
  270. <tr id="i3" class="rowColor">
  271. <td class="colFirst"><code>void</code></td>
  272. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-int-org.jfree.chart.title.Title-">addSubtitle</a></span>(int&nbsp;index,
  273. <a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;subtitle)</code>
  274. <div class="block">Adds a subtitle at a particular position in the subtitle list, and sends
  275. a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  276. </td>
  277. </tr>
  278. <tr id="i4" class="altColor">
  279. <td class="colFirst"><code>void</code></td>
  280. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-org.jfree.chart.title.Title-">addSubtitle</a></span>(<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;subtitle)</code>
  281. <div class="block">Adds a chart subtitle, and notifies registered listeners that the chart
  282. has been modified.</div>
  283. </td>
  284. </tr>
  285. <tr id="i5" class="rowColor">
  286. <td class="colFirst"><code>void</code></td>
  287. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#clearSubtitles--">clearSubtitles</a></span>()</code>
  288. <div class="block">Clears all subtitles from the chart and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a>
  289. to all registered listeners.</div>
  290. </td>
  291. </tr>
  292. <tr id="i6" class="altColor">
  293. <td class="colFirst"><code>java.lang.Object</code></td>
  294. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#clone--">clone</a></span>()</code>
  295. <div class="block">Clones the object, and takes care of listeners.</div>
  296. </td>
  297. </tr>
  298. <tr id="i7" class="rowColor">
  299. <td class="colFirst"><code>java.awt.image.BufferedImage</code></td>
  300. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#createBufferedImage-int-int-">createBufferedImage</a></span>(int&nbsp;width,
  301. int&nbsp;height)</code>
  302. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  303. </td>
  304. </tr>
  305. <tr id="i8" class="altColor">
  306. <td class="colFirst"><code>java.awt.image.BufferedImage</code></td>
  307. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#createBufferedImage-int-int-org.jfree.chart.ChartRenderingInfo-">createBufferedImage</a></span>(int&nbsp;width,
  308. int&nbsp;height,
  309. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  310. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  311. </td>
  312. </tr>
  313. <tr id="i9" class="rowColor">
  314. <td class="colFirst"><code>java.awt.image.BufferedImage</code></td>
  315. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#createBufferedImage-int-int-double-double-org.jfree.chart.ChartRenderingInfo-">createBufferedImage</a></span>(int&nbsp;imageWidth,
  316. int&nbsp;imageHeight,
  317. double&nbsp;drawWidth,
  318. double&nbsp;drawHeight,
  319. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  320. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  321. </td>
  322. </tr>
  323. <tr id="i10" class="altColor">
  324. <td class="colFirst"><code>java.awt.image.BufferedImage</code></td>
  325. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#createBufferedImage-int-int-int-org.jfree.chart.ChartRenderingInfo-">createBufferedImage</a></span>(int&nbsp;width,
  326. int&nbsp;height,
  327. int&nbsp;imageType,
  328. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  329. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  330. </td>
  331. </tr>
  332. <tr id="i11" class="rowColor">
  333. <td class="colFirst"><code>void</code></td>
  334. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  335. java.awt.geom.Rectangle2D&nbsp;area)</code>
  336. <div class="block">Draws the chart on a Java 2D graphics device (such as the screen or a
  337. printer).</div>
  338. </td>
  339. </tr>
  340. <tr id="i12" class="altColor">
  341. <td class="colFirst"><code>void</code></td>
  342. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.chart.ChartRenderingInfo-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  343. java.awt.geom.Rectangle2D&nbsp;area,
  344. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  345. <div class="block">Draws the chart on a Java 2D graphics device (such as the screen or a
  346. printer).</div>
  347. </td>
  348. </tr>
  349. <tr id="i13" class="rowColor">
  350. <td class="colFirst"><code>void</code></td>
  351. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.awt.geom.Point2D-org.jfree.chart.ChartRenderingInfo-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  352. java.awt.geom.Rectangle2D&nbsp;chartArea,
  353. java.awt.geom.Point2D&nbsp;anchor,
  354. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  355. <div class="block">Draws the chart on a Java 2D graphics device (such as the screen or a
  356. printer).</div>
  357. </td>
  358. </tr>
  359. <tr id="i14" class="altColor">
  360. <td class="colFirst"><code>protected <a href="../../../org/jfree/chart/entity/EntityCollection.html" title="interface in org.jfree.chart.entity">EntityCollection</a></code></td>
  361. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#drawTitle-org.jfree.chart.title.Title-java.awt.Graphics2D-java.awt.geom.Rectangle2D-boolean-">drawTitle</a></span>(<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;t,
  362. java.awt.Graphics2D&nbsp;g2,
  363. java.awt.geom.Rectangle2D&nbsp;area,
  364. boolean&nbsp;entities)</code>
  365. <div class="block">Draws a title.</div>
  366. </td>
  367. </tr>
  368. <tr id="i15" class="rowColor">
  369. <td class="colFirst"><code>boolean</code></td>
  370. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  371. <div class="block">Tests this chart for equality with another object.</div>
  372. </td>
  373. </tr>
  374. <tr id="i16" class="altColor">
  375. <td class="colFirst"><code>void</code></td>
  376. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#fireChartChanged--">fireChartChanged</a></span>()</code>
  377. <div class="block">Sends a default <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  378. </td>
  379. </tr>
  380. <tr id="i17" class="rowColor">
  381. <td class="colFirst"><code>boolean</code></td>
  382. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getAntiAlias--">getAntiAlias</a></span>()</code>
  383. <div class="block">Returns a flag that indicates whether or not anti-aliasing is used when
  384. the chart is drawn.</div>
  385. </td>
  386. </tr>
  387. <tr id="i18" class="altColor">
  388. <td class="colFirst"><code>java.awt.Image</code></td>
  389. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundImage--">getBackgroundImage</a></span>()</code>
  390. <div class="block">Returns the background image for the chart, or <code>null</code> if
  391. there is no image.</div>
  392. </td>
  393. </tr>
  394. <tr id="i19" class="rowColor">
  395. <td class="colFirst"><code>int</code></td>
  396. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundImageAlignment--">getBackgroundImageAlignment</a></span>()</code>
  397. <div class="block">Returns the background image alignment.</div>
  398. </td>
  399. </tr>
  400. <tr id="i20" class="altColor">
  401. <td class="colFirst"><code>float</code></td>
  402. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundImageAlpha--">getBackgroundImageAlpha</a></span>()</code>
  403. <div class="block">Returns the alpha-transparency for the chart's background image.</div>
  404. </td>
  405. </tr>
  406. <tr id="i21" class="rowColor">
  407. <td class="colFirst"><code>java.awt.Paint</code></td>
  408. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundPaint--">getBackgroundPaint</a></span>()</code>
  409. <div class="block">Returns the paint used for the chart background.</div>
  410. </td>
  411. </tr>
  412. <tr id="i22" class="altColor">
  413. <td class="colFirst"><code>java.awt.Paint</code></td>
  414. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getBorderPaint--">getBorderPaint</a></span>()</code>
  415. <div class="block">Returns the paint used to draw the chart border (if visible).</div>
  416. </td>
  417. </tr>
  418. <tr id="i23" class="rowColor">
  419. <td class="colFirst"><code>java.awt.Stroke</code></td>
  420. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getBorderStroke--">getBorderStroke</a></span>()</code>
  421. <div class="block">Returns the stroke used to draw the chart border (if visible).</div>
  422. </td>
  423. </tr>
  424. <tr id="i24" class="altColor">
  425. <td class="colFirst"><code><a href="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</a></code></td>
  426. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getCategoryPlot--">getCategoryPlot</a></span>()</code>
  427. <div class="block">Returns the plot cast as a <a href="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><code>CategoryPlot</code></a>.</div>
  428. </td>
  429. </tr>
  430. <tr id="i25" class="rowColor">
  431. <td class="colFirst"><code><a href="../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title">LegendTitle</a></code></td>
  432. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getLegend--">getLegend</a></span>()</code>
  433. <div class="block">Returns the legend for the chart, if there is one.</div>
  434. </td>
  435. </tr>
  436. <tr id="i26" class="altColor">
  437. <td class="colFirst"><code><a href="../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title">LegendTitle</a></code></td>
  438. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getLegend-int-">getLegend</a></span>(int&nbsp;index)</code>
  439. <div class="block">Returns the nth legend for a chart, or <code>null</code>.</div>
  440. </td>
  441. </tr>
  442. <tr id="i27" class="rowColor">
  443. <td class="colFirst"><code>org.jfree.ui.RectangleInsets</code></td>
  444. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getPadding--">getPadding</a></span>()</code>
  445. <div class="block">Returns the padding between the chart border and the chart drawing area.</div>
  446. </td>
  447. </tr>
  448. <tr id="i28" class="altColor">
  449. <td class="colFirst"><code><a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a></code></td>
  450. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getPlot--">getPlot</a></span>()</code>
  451. <div class="block">Returns the plot for the chart.</div>
  452. </td>
  453. </tr>
  454. <tr id="i29" class="rowColor">
  455. <td class="colFirst"><code>java.awt.RenderingHints</code></td>
  456. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getRenderingHints--">getRenderingHints</a></span>()</code>
  457. <div class="block">Returns the collection of rendering hints for the chart.</div>
  458. </td>
  459. </tr>
  460. <tr id="i30" class="altColor">
  461. <td class="colFirst"><code><a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></code></td>
  462. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getSubtitle-int-">getSubtitle</a></span>(int&nbsp;index)</code>
  463. <div class="block">Returns a chart subtitle.</div>
  464. </td>
  465. </tr>
  466. <tr id="i31" class="rowColor">
  467. <td class="colFirst"><code>int</code></td>
  468. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getSubtitleCount--">getSubtitleCount</a></span>()</code>
  469. <div class="block">Returns the number of titles for the chart.</div>
  470. </td>
  471. </tr>
  472. <tr id="i32" class="altColor">
  473. <td class="colFirst"><code>java.util.List</code></td>
  474. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getSubtitles--">getSubtitles</a></span>()</code>
  475. <div class="block">Returns the list of subtitles for the chart.</div>
  476. </td>
  477. </tr>
  478. <tr id="i33" class="rowColor">
  479. <td class="colFirst"><code>java.lang.Object</code></td>
  480. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getTextAntiAlias--">getTextAntiAlias</a></span>()</code>
  481. <div class="block">Returns the current value stored in the rendering hints table for
  482. <code>RenderingHints.KEY_TEXT_ANTIALIASING</code>.</div>
  483. </td>
  484. </tr>
  485. <tr id="i34" class="altColor">
  486. <td class="colFirst"><code><a href="../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a></code></td>
  487. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getTitle--">getTitle</a></span>()</code>
  488. <div class="block">Returns the main chart title.</div>
  489. </td>
  490. </tr>
  491. <tr id="i35" class="rowColor">
  492. <td class="colFirst"><code><a href="../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</a></code></td>
  493. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#getXYPlot--">getXYPlot</a></span>()</code>
  494. <div class="block">Returns the plot cast as an <a href="../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><code>XYPlot</code></a>.</div>
  495. </td>
  496. </tr>
  497. <tr id="i36" class="altColor">
  498. <td class="colFirst"><code>void</code></td>
  499. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#handleClick-int-int-org.jfree.chart.ChartRenderingInfo-">handleClick</a></span>(int&nbsp;x,
  500. int&nbsp;y,
  501. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</code>
  502. <div class="block">Handles a 'click' on the chart.</div>
  503. </td>
  504. </tr>
  505. <tr id="i37" class="rowColor">
  506. <td class="colFirst"><code>boolean</code></td>
  507. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#isBorderVisible--">isBorderVisible</a></span>()</code>
  508. <div class="block">Returns a flag that controls whether or not a border is drawn around the
  509. outside of the chart.</div>
  510. </td>
  511. </tr>
  512. <tr id="i38" class="altColor">
  513. <td class="colFirst"><code>boolean</code></td>
  514. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#isNotify--">isNotify</a></span>()</code>
  515. <div class="block">Returns a flag that controls whether or not change events are sent to
  516. registered listeners.</div>
  517. </td>
  518. </tr>
  519. <tr id="i39" class="rowColor">
  520. <td class="colFirst"><code>static void</code></td>
  521. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#main-java.lang.String:A-">main</a></span>(java.lang.String[]&nbsp;args)</code>
  522. <div class="block">Prints information about JFreeChart to standard output.</div>
  523. </td>
  524. </tr>
  525. <tr id="i40" class="altColor">
  526. <td class="colFirst"><code>protected void</code></td>
  527. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#notifyListeners-org.jfree.chart.event.ChartChangeEvent-">notifyListeners</a></span>(<a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event">ChartChangeEvent</a>&nbsp;event)</code>
  528. <div class="block">Sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  529. </td>
  530. </tr>
  531. <tr id="i41" class="rowColor">
  532. <td class="colFirst"><code>protected void</code></td>
  533. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#notifyListeners-org.jfree.chart.event.ChartProgressEvent-">notifyListeners</a></span>(<a href="../../../org/jfree/chart/event/ChartProgressEvent.html" title="class in org.jfree.chart.event">ChartProgressEvent</a>&nbsp;event)</code>
  534. <div class="block">Sends a <a href="../../../org/jfree/chart/event/ChartProgressEvent.html" title="class in org.jfree.chart.event"><code>ChartProgressEvent</code></a> to all registered listeners.</div>
  535. </td>
  536. </tr>
  537. <tr id="i42" class="altColor">
  538. <td class="colFirst"><code>void</code></td>
  539. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#plotChanged-org.jfree.chart.event.PlotChangeEvent-">plotChanged</a></span>(<a href="../../../org/jfree/chart/event/PlotChangeEvent.html" title="class in org.jfree.chart.event">PlotChangeEvent</a>&nbsp;event)</code>
  540. <div class="block">Receives notification that the plot has changed, and passes this on to
  541. registered listeners.</div>
  542. </td>
  543. </tr>
  544. <tr id="i43" class="rowColor">
  545. <td class="colFirst"><code>void</code></td>
  546. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#removeChangeListener-org.jfree.chart.event.ChartChangeListener-">removeChangeListener</a></span>(<a href="../../../org/jfree/chart/event/ChartChangeListener.html" title="interface in org.jfree.chart.event">ChartChangeListener</a>&nbsp;listener)</code>
  547. <div class="block">Deregisters an object for notification of changes to the chart.</div>
  548. </td>
  549. </tr>
  550. <tr id="i44" class="altColor">
  551. <td class="colFirst"><code>void</code></td>
  552. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#removeLegend--">removeLegend</a></span>()</code>
  553. <div class="block">Removes the first legend in the chart and sends a
  554. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  555. </td>
  556. </tr>
  557. <tr id="i45" class="rowColor">
  558. <td class="colFirst"><code>void</code></td>
  559. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#removeProgressListener-org.jfree.chart.event.ChartProgressListener-">removeProgressListener</a></span>(<a href="../../../org/jfree/chart/event/ChartProgressListener.html" title="interface in org.jfree.chart.event">ChartProgressListener</a>&nbsp;listener)</code>
  560. <div class="block">Deregisters an object for notification of changes to the chart.</div>
  561. </td>
  562. </tr>
  563. <tr id="i46" class="altColor">
  564. <td class="colFirst"><code>void</code></td>
  565. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#removeSubtitle-org.jfree.chart.title.Title-">removeSubtitle</a></span>(<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;title)</code>
  566. <div class="block">Removes the specified subtitle and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to
  567. all registered listeners.</div>
  568. </td>
  569. </tr>
  570. <tr id="i47" class="rowColor">
  571. <td class="colFirst"><code>void</code></td>
  572. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setAntiAlias-boolean-">setAntiAlias</a></span>(boolean&nbsp;flag)</code>
  573. <div class="block">Sets a flag that indicates whether or not anti-aliasing is used when the
  574. chart is drawn.</div>
  575. </td>
  576. </tr>
  577. <tr id="i48" class="altColor">
  578. <td class="colFirst"><code>void</code></td>
  579. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundImage-java.awt.Image-">setBackgroundImage</a></span>(java.awt.Image&nbsp;image)</code>
  580. <div class="block">Sets the background image for the chart and sends a
  581. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  582. </td>
  583. </tr>
  584. <tr id="i49" class="rowColor">
  585. <td class="colFirst"><code>void</code></td>
  586. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundImageAlignment-int-">setBackgroundImageAlignment</a></span>(int&nbsp;alignment)</code>
  587. <div class="block">Sets the background alignment.</div>
  588. </td>
  589. </tr>
  590. <tr id="i50" class="altColor">
  591. <td class="colFirst"><code>void</code></td>
  592. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundImageAlpha-float-">setBackgroundImageAlpha</a></span>(float&nbsp;alpha)</code>
  593. <div class="block">Sets the alpha-transparency for the chart's background image.</div>
  594. </td>
  595. </tr>
  596. <tr id="i51" class="rowColor">
  597. <td class="colFirst"><code>void</code></td>
  598. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundPaint-java.awt.Paint-">setBackgroundPaint</a></span>(java.awt.Paint&nbsp;paint)</code>
  599. <div class="block">Sets the paint used to fill the chart background and sends a
  600. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  601. </td>
  602. </tr>
  603. <tr id="i52" class="altColor">
  604. <td class="colFirst"><code>void</code></td>
  605. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBorderPaint-java.awt.Paint-">setBorderPaint</a></span>(java.awt.Paint&nbsp;paint)</code>
  606. <div class="block">Sets the paint used to draw the chart border (if visible).</div>
  607. </td>
  608. </tr>
  609. <tr id="i53" class="rowColor">
  610. <td class="colFirst"><code>void</code></td>
  611. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBorderStroke-java.awt.Stroke-">setBorderStroke</a></span>(java.awt.Stroke&nbsp;stroke)</code>
  612. <div class="block">Sets the stroke used to draw the chart border (if visible).</div>
  613. </td>
  614. </tr>
  615. <tr id="i54" class="altColor">
  616. <td class="colFirst"><code>void</code></td>
  617. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setBorderVisible-boolean-">setBorderVisible</a></span>(boolean&nbsp;visible)</code>
  618. <div class="block">Sets a flag that controls whether or not a border is drawn around the
  619. outside of the chart.</div>
  620. </td>
  621. </tr>
  622. <tr id="i55" class="rowColor">
  623. <td class="colFirst"><code>void</code></td>
  624. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setNotify-boolean-">setNotify</a></span>(boolean&nbsp;notify)</code>
  625. <div class="block">Sets a flag that controls whether or not listeners receive
  626. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> notifications.</div>
  627. </td>
  628. </tr>
  629. <tr id="i56" class="altColor">
  630. <td class="colFirst"><code>void</code></td>
  631. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setPadding-org.jfree.ui.RectangleInsets-">setPadding</a></span>(org.jfree.ui.RectangleInsets&nbsp;padding)</code>
  632. <div class="block">Sets the padding between the chart border and the chart drawing area,
  633. and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  634. </td>
  635. </tr>
  636. <tr id="i57" class="rowColor">
  637. <td class="colFirst"><code>void</code></td>
  638. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setRenderingHints-java.awt.RenderingHints-">setRenderingHints</a></span>(java.awt.RenderingHints&nbsp;renderingHints)</code>
  639. <div class="block">Sets the rendering hints for the chart.</div>
  640. </td>
  641. </tr>
  642. <tr id="i58" class="altColor">
  643. <td class="colFirst"><code>void</code></td>
  644. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setSubtitles-java.util.List-">setSubtitles</a></span>(java.util.List&nbsp;subtitles)</code>
  645. <div class="block">Sets the title list for the chart (completely replaces any existing
  646. titles) and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered
  647. listeners.</div>
  648. </td>
  649. </tr>
  650. <tr id="i59" class="rowColor">
  651. <td class="colFirst"><code>void</code></td>
  652. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setTextAntiAlias-boolean-">setTextAntiAlias</a></span>(boolean&nbsp;flag)</code>
  653. <div class="block">Sets the value in the rendering hints table for
  654. <code>RenderingHints.KEY_TEXT_ANTIALIASING</code> to either
  655. <code>RenderingHints.VALUE_TEXT_ANTIALIAS_ON</code> or
  656. <code>RenderingHints.VALUE_TEXT_ANTIALIAS_OFF</code>, then sends a
  657. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  658. </td>
  659. </tr>
  660. <tr id="i60" class="altColor">
  661. <td class="colFirst"><code>void</code></td>
  662. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setTextAntiAlias-java.lang.Object-">setTextAntiAlias</a></span>(java.lang.Object&nbsp;val)</code>
  663. <div class="block">Sets the value in the rendering hints table for
  664. <code>RenderingHints.KEY_TEXT_ANTIALIASING</code> and sends a
  665. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  666. </td>
  667. </tr>
  668. <tr id="i61" class="rowColor">
  669. <td class="colFirst"><code>void</code></td>
  670. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setTitle-java.lang.String-">setTitle</a></span>(java.lang.String&nbsp;text)</code>
  671. <div class="block">Sets the chart title and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all
  672. registered listeners.</div>
  673. </td>
  674. </tr>
  675. <tr id="i62" class="altColor">
  676. <td class="colFirst"><code>void</code></td>
  677. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#setTitle-org.jfree.chart.title.TextTitle-">setTitle</a></span>(<a href="../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a>&nbsp;title)</code>
  678. <div class="block">Sets the main title for the chart and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a>
  679. to all registered listeners.</div>
  680. </td>
  681. </tr>
  682. <tr id="i63" class="rowColor">
  683. <td class="colFirst"><code>void</code></td>
  684. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/jfree/chart/JFreeChart.html#titleChanged-org.jfree.chart.event.TitleChangeEvent-">titleChanged</a></span>(<a href="../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event">TitleChangeEvent</a>&nbsp;event)</code>
  685. <div class="block">Receives notification that a chart title has changed, and passes this
  686. on to registered listeners.</div>
  687. </td>
  688. </tr>
  689. </table>
  690. <ul class="blockList">
  691. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  692. <!-- -->
  693. </a>
  694. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  695. <code>finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  696. </ul>
  697. </li>
  698. </ul>
  699. </li>
  700. </ul>
  701. </div>
  702. <div class="details">
  703. <ul class="blockList">
  704. <li class="blockList">
  705. <!-- ============ FIELD DETAIL =========== -->
  706. <ul class="blockList">
  707. <li class="blockList"><a name="field.detail">
  708. <!-- -->
  709. </a>
  710. <h3>Field Detail</h3>
  711. <a name="INFO">
  712. <!-- -->
  713. </a>
  714. <ul class="blockList">
  715. <li class="blockList">
  716. <h4>INFO</h4>
  717. <pre>public static final&nbsp;org.jfree.ui.about.ProjectInfo <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.256">INFO</a></pre>
  718. <div class="block">Information about the project.</div>
  719. </li>
  720. </ul>
  721. <a name="DEFAULT_TITLE_FONT">
  722. <!-- -->
  723. </a>
  724. <ul class="blockList">
  725. <li class="blockList">
  726. <h4>DEFAULT_TITLE_FONT</h4>
  727. <pre>public static final&nbsp;java.awt.Font <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.259">DEFAULT_TITLE_FONT</a></pre>
  728. <div class="block">The default font for titles.</div>
  729. </li>
  730. </ul>
  731. <a name="DEFAULT_BACKGROUND_PAINT">
  732. <!-- -->
  733. </a>
  734. <ul class="blockList">
  735. <li class="blockList">
  736. <h4>DEFAULT_BACKGROUND_PAINT</h4>
  737. <pre>public static final&nbsp;java.awt.Paint <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.263">DEFAULT_BACKGROUND_PAINT</a></pre>
  738. <div class="block">The default background color.</div>
  739. </li>
  740. </ul>
  741. <a name="DEFAULT_BACKGROUND_IMAGE">
  742. <!-- -->
  743. </a>
  744. <ul class="blockList">
  745. <li class="blockList">
  746. <h4>DEFAULT_BACKGROUND_IMAGE</h4>
  747. <pre>public static final&nbsp;java.awt.Image <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.267">DEFAULT_BACKGROUND_IMAGE</a></pre>
  748. <div class="block">The default background image.</div>
  749. </li>
  750. </ul>
  751. <a name="DEFAULT_BACKGROUND_IMAGE_ALIGNMENT">
  752. <!-- -->
  753. </a>
  754. <ul class="blockList">
  755. <li class="blockList">
  756. <h4>DEFAULT_BACKGROUND_IMAGE_ALIGNMENT</h4>
  757. <pre>public static final&nbsp;int <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.270">DEFAULT_BACKGROUND_IMAGE_ALIGNMENT</a></pre>
  758. <div class="block">The default background image alignment.</div>
  759. <dl>
  760. <dt><span class="seeLabel">See Also:</span></dt>
  761. <dd><a href="../../../constant-values.html#org.jfree.chart.JFreeChart.DEFAULT_BACKGROUND_IMAGE_ALIGNMENT">Constant Field Values</a></dd>
  762. </dl>
  763. </li>
  764. </ul>
  765. <a name="DEFAULT_BACKGROUND_IMAGE_ALPHA">
  766. <!-- -->
  767. </a>
  768. <ul class="blockList">
  769. <li class="blockList">
  770. <h4>DEFAULT_BACKGROUND_IMAGE_ALPHA</h4>
  771. <pre>public static final&nbsp;float <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.273">DEFAULT_BACKGROUND_IMAGE_ALPHA</a></pre>
  772. <div class="block">The default background image alpha.</div>
  773. <dl>
  774. <dt><span class="seeLabel">See Also:</span></dt>
  775. <dd><a href="../../../constant-values.html#org.jfree.chart.JFreeChart.DEFAULT_BACKGROUND_IMAGE_ALPHA">Constant Field Values</a></dd>
  776. </dl>
  777. </li>
  778. </ul>
  779. <a name="KEY_SUPPRESS_SHADOW_GENERATION">
  780. <!-- -->
  781. </a>
  782. <ul class="blockListLast">
  783. <li class="blockList">
  784. <h4>KEY_SUPPRESS_SHADOW_GENERATION</h4>
  785. <pre>public static final&nbsp;java.awt.RenderingHints.Key <a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.282">KEY_SUPPRESS_SHADOW_GENERATION</a></pre>
  786. <div class="block">The key for a rendering hint that can suppress the generation of a
  787. shadow effect when drawing the chart. The hint value must be a
  788. Boolean.</div>
  789. <dl>
  790. <dt><span class="simpleTagLabel">Since:</span></dt>
  791. <dd>1.0.16</dd>
  792. </dl>
  793. </li>
  794. </ul>
  795. </li>
  796. </ul>
  797. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  798. <ul class="blockList">
  799. <li class="blockList"><a name="constructor.detail">
  800. <!-- -->
  801. </a>
  802. <h3>Constructor Detail</h3>
  803. <a name="JFreeChart-org.jfree.chart.plot.Plot-">
  804. <!-- -->
  805. </a>
  806. <ul class="blockList">
  807. <li class="blockList">
  808. <h4>JFreeChart</h4>
  809. <pre>public&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.355">JFreeChart</a>(<a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;plot)</pre>
  810. <div class="block">Creates a new chart based on the supplied plot. The chart will have
  811. a legend added automatically, but no title (although you can easily add
  812. one later).
  813. <br><br>
  814. Note that the <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a> class contains a range
  815. of static methods that will return ready-made charts, and often this
  816. is a more convenient way to create charts than using this constructor.</div>
  817. <dl>
  818. <dt><span class="paramLabel">Parameters:</span></dt>
  819. <dd><code>plot</code> - the plot (<code>null</code> not permitted).</dd>
  820. </dl>
  821. </li>
  822. </ul>
  823. <a name="JFreeChart-java.lang.String-org.jfree.chart.plot.Plot-">
  824. <!-- -->
  825. </a>
  826. <ul class="blockList">
  827. <li class="blockList">
  828. <h4>JFreeChart</h4>
  829. <pre>public&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.371">JFreeChart</a>(java.lang.String&nbsp;title,
  830. <a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;plot)</pre>
  831. <div class="block">Creates a new chart with the given title and plot. A default font
  832. (<a href="../../../org/jfree/chart/JFreeChart.html#DEFAULT_TITLE_FONT"><code>DEFAULT_TITLE_FONT</code></a>) is used for the title, and the chart will
  833. have a legend added automatically.
  834. <br><br>
  835. Note that the <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a> class contains a range
  836. of static methods that will return ready-made charts, and often this
  837. is a more convenient way to create charts than using this constructor.</div>
  838. <dl>
  839. <dt><span class="paramLabel">Parameters:</span></dt>
  840. <dd><code>title</code> - the chart title (<code>null</code> permitted).</dd>
  841. <dd><code>plot</code> - the plot (<code>null</code> not permitted).</dd>
  842. </dl>
  843. </li>
  844. </ul>
  845. <a name="JFreeChart-java.lang.String-java.awt.Font-org.jfree.chart.plot.Plot-boolean-">
  846. <!-- -->
  847. </a>
  848. <ul class="blockListLast">
  849. <li class="blockList">
  850. <h4>JFreeChart</h4>
  851. <pre>public&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.392">JFreeChart</a>(java.lang.String&nbsp;title,
  852. java.awt.Font&nbsp;titleFont,
  853. <a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;plot,
  854. boolean&nbsp;createLegend)</pre>
  855. <div class="block">Creates a new chart with the given title and plot. The
  856. <code>createLegend</code> argument specifies whether or not a legend
  857. should be added to the chart.
  858. <br><br>
  859. Note that the <a href="../../../org/jfree/chart/ChartFactory.html" title="class in org.jfree.chart"><code>ChartFactory</code></a> class contains a range
  860. of static methods that will return ready-made charts, and often this
  861. is a more convenient way to create charts than using this constructor.</div>
  862. <dl>
  863. <dt><span class="paramLabel">Parameters:</span></dt>
  864. <dd><code>title</code> - the chart title (<code>null</code> permitted).</dd>
  865. <dd><code>titleFont</code> - the font for displaying the chart title
  866. (<code>null</code> permitted).</dd>
  867. <dd><code>plot</code> - controller of the visual representation of the data
  868. (<code>null</code> not permitted).</dd>
  869. <dd><code>createLegend</code> - a flag indicating whether or not a legend should
  870. be created for the chart.</dd>
  871. </dl>
  872. </li>
  873. </ul>
  874. </li>
  875. </ul>
  876. <!-- ============ METHOD DETAIL ========== -->
  877. <ul class="blockList">
  878. <li class="blockList"><a name="method.detail">
  879. <!-- -->
  880. </a>
  881. <h3>Method Detail</h3>
  882. <a name="getRenderingHints--">
  883. <!-- -->
  884. </a>
  885. <ul class="blockList">
  886. <li class="blockList">
  887. <h4>getRenderingHints</h4>
  888. <pre>public&nbsp;java.awt.RenderingHints&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.457">getRenderingHints</a>()</pre>
  889. <div class="block">Returns the collection of rendering hints for the chart.</div>
  890. <dl>
  891. <dt><span class="returnLabel">Returns:</span></dt>
  892. <dd>The rendering hints for the chart (never <code>null</code>).</dd>
  893. <dt><span class="seeLabel">See Also:</span></dt>
  894. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setRenderingHints-java.awt.RenderingHints-"><code>setRenderingHints(RenderingHints)</code></a></dd>
  895. </dl>
  896. </li>
  897. </ul>
  898. <a name="setRenderingHints-java.awt.RenderingHints-">
  899. <!-- -->
  900. </a>
  901. <ul class="blockList">
  902. <li class="blockList">
  903. <h4>setRenderingHints</h4>
  904. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.470">setRenderingHints</a>(java.awt.RenderingHints&nbsp;renderingHints)</pre>
  905. <div class="block">Sets the rendering hints for the chart. These will be added (using the
  906. <code>Graphics2D.addRenderingHints()</code> method) near the start of the
  907. <code>JFreeChart.draw()</code> method.</div>
  908. <dl>
  909. <dt><span class="paramLabel">Parameters:</span></dt>
  910. <dd><code>renderingHints</code> - the rendering hints (<code>null</code> not permitted).</dd>
  911. <dt><span class="seeLabel">See Also:</span></dt>
  912. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getRenderingHints--"><code>getRenderingHints()</code></a></dd>
  913. </dl>
  914. </li>
  915. </ul>
  916. <a name="isBorderVisible--">
  917. <!-- -->
  918. </a>
  919. <ul class="blockList">
  920. <li class="blockList">
  921. <h4>isBorderVisible</h4>
  922. <pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.484">isBorderVisible</a>()</pre>
  923. <div class="block">Returns a flag that controls whether or not a border is drawn around the
  924. outside of the chart.</div>
  925. <dl>
  926. <dt><span class="returnLabel">Returns:</span></dt>
  927. <dd>A boolean.</dd>
  928. <dt><span class="seeLabel">See Also:</span></dt>
  929. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBorderVisible-boolean-"><code>setBorderVisible(boolean)</code></a></dd>
  930. </dl>
  931. </li>
  932. </ul>
  933. <a name="setBorderVisible-boolean-">
  934. <!-- -->
  935. </a>
  936. <ul class="blockList">
  937. <li class="blockList">
  938. <h4>setBorderVisible</h4>
  939. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.496">setBorderVisible</a>(boolean&nbsp;visible)</pre>
  940. <div class="block">Sets a flag that controls whether or not a border is drawn around the
  941. outside of the chart.</div>
  942. <dl>
  943. <dt><span class="paramLabel">Parameters:</span></dt>
  944. <dd><code>visible</code> - the flag.</dd>
  945. <dt><span class="seeLabel">See Also:</span></dt>
  946. <dd><a href="../../../org/jfree/chart/JFreeChart.html#isBorderVisible--"><code>isBorderVisible()</code></a></dd>
  947. </dl>
  948. </li>
  949. </ul>
  950. <a name="getBorderStroke--">
  951. <!-- -->
  952. </a>
  953. <ul class="blockList">
  954. <li class="blockList">
  955. <h4>getBorderStroke</h4>
  956. <pre>public&nbsp;java.awt.Stroke&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.508">getBorderStroke</a>()</pre>
  957. <div class="block">Returns the stroke used to draw the chart border (if visible).</div>
  958. <dl>
  959. <dt><span class="returnLabel">Returns:</span></dt>
  960. <dd>The border stroke.</dd>
  961. <dt><span class="seeLabel">See Also:</span></dt>
  962. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBorderStroke-java.awt.Stroke-"><code>setBorderStroke(Stroke)</code></a></dd>
  963. </dl>
  964. </li>
  965. </ul>
  966. <a name="setBorderStroke-java.awt.Stroke-">
  967. <!-- -->
  968. </a>
  969. <ul class="blockList">
  970. <li class="blockList">
  971. <h4>setBorderStroke</h4>
  972. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.519">setBorderStroke</a>(java.awt.Stroke&nbsp;stroke)</pre>
  973. <div class="block">Sets the stroke used to draw the chart border (if visible).</div>
  974. <dl>
  975. <dt><span class="paramLabel">Parameters:</span></dt>
  976. <dd><code>stroke</code> - the stroke.</dd>
  977. <dt><span class="seeLabel">See Also:</span></dt>
  978. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getBorderStroke--"><code>getBorderStroke()</code></a></dd>
  979. </dl>
  980. </li>
  981. </ul>
  982. <a name="getBorderPaint--">
  983. <!-- -->
  984. </a>
  985. <ul class="blockList">
  986. <li class="blockList">
  987. <h4>getBorderPaint</h4>
  988. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.531">getBorderPaint</a>()</pre>
  989. <div class="block">Returns the paint used to draw the chart border (if visible).</div>
  990. <dl>
  991. <dt><span class="returnLabel">Returns:</span></dt>
  992. <dd>The border paint.</dd>
  993. <dt><span class="seeLabel">See Also:</span></dt>
  994. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBorderPaint-java.awt.Paint-"><code>setBorderPaint(Paint)</code></a></dd>
  995. </dl>
  996. </li>
  997. </ul>
  998. <a name="setBorderPaint-java.awt.Paint-">
  999. <!-- -->
  1000. </a>
  1001. <ul class="blockList">
  1002. <li class="blockList">
  1003. <h4>setBorderPaint</h4>
  1004. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.542">setBorderPaint</a>(java.awt.Paint&nbsp;paint)</pre>
  1005. <div class="block">Sets the paint used to draw the chart border (if visible).</div>
  1006. <dl>
  1007. <dt><span class="paramLabel">Parameters:</span></dt>
  1008. <dd><code>paint</code> - the paint.</dd>
  1009. <dt><span class="seeLabel">See Also:</span></dt>
  1010. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getBorderPaint--"><code>getBorderPaint()</code></a></dd>
  1011. </dl>
  1012. </li>
  1013. </ul>
  1014. <a name="getPadding--">
  1015. <!-- -->
  1016. </a>
  1017. <ul class="blockList">
  1018. <li class="blockList">
  1019. <h4>getPadding</h4>
  1020. <pre>public&nbsp;org.jfree.ui.RectangleInsets&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.554">getPadding</a>()</pre>
  1021. <div class="block">Returns the padding between the chart border and the chart drawing area.</div>
  1022. <dl>
  1023. <dt><span class="returnLabel">Returns:</span></dt>
  1024. <dd>The padding (never <code>null</code>).</dd>
  1025. <dt><span class="seeLabel">See Also:</span></dt>
  1026. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setPadding-org.jfree.ui.RectangleInsets-"><code>setPadding(RectangleInsets)</code></a></dd>
  1027. </dl>
  1028. </li>
  1029. </ul>
  1030. <a name="setPadding-org.jfree.ui.RectangleInsets-">
  1031. <!-- -->
  1032. </a>
  1033. <ul class="blockList">
  1034. <li class="blockList">
  1035. <h4>setPadding</h4>
  1036. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.566">setPadding</a>(org.jfree.ui.RectangleInsets&nbsp;padding)</pre>
  1037. <div class="block">Sets the padding between the chart border and the chart drawing area,
  1038. and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1039. <dl>
  1040. <dt><span class="paramLabel">Parameters:</span></dt>
  1041. <dd><code>padding</code> - the padding (<code>null</code> not permitted).</dd>
  1042. <dt><span class="seeLabel">See Also:</span></dt>
  1043. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getPadding--"><code>getPadding()</code></a></dd>
  1044. </dl>
  1045. </li>
  1046. </ul>
  1047. <a name="getTitle--">
  1048. <!-- -->
  1049. </a>
  1050. <ul class="blockList">
  1051. <li class="blockList">
  1052. <h4>getTitle</h4>
  1053. <pre>public&nbsp;<a href="../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.582">getTitle</a>()</pre>
  1054. <div class="block">Returns the main chart title. Very often a chart will have just one
  1055. title, so we make this case simple by providing accessor methods for
  1056. the main title. However, multiple titles are supported - see the
  1057. <a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-org.jfree.chart.title.Title-"><code>addSubtitle(Title)</code></a> method.</div>
  1058. <dl>
  1059. <dt><span class="returnLabel">Returns:</span></dt>
  1060. <dd>The chart title (possibly <code>null</code>).</dd>
  1061. <dt><span class="seeLabel">See Also:</span></dt>
  1062. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setTitle-org.jfree.chart.title.TextTitle-"><code>setTitle(TextTitle)</code></a></dd>
  1063. </dl>
  1064. </li>
  1065. </ul>
  1066. <a name="setTitle-org.jfree.chart.title.TextTitle-">
  1067. <!-- -->
  1068. </a>
  1069. <ul class="blockList">
  1070. <li class="blockList">
  1071. <h4>setTitle</h4>
  1072. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.596">setTitle</a>(<a href="../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a>&nbsp;title)</pre>
  1073. <div class="block">Sets the main title for the chart and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a>
  1074. to all registered listeners. If you do not want a title for the
  1075. chart, set it to <code>null</code>. If you want more than one title on
  1076. a chart, use the <a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-org.jfree.chart.title.Title-"><code>addSubtitle(Title)</code></a> method.</div>
  1077. <dl>
  1078. <dt><span class="paramLabel">Parameters:</span></dt>
  1079. <dd><code>title</code> - the title (<code>null</code> permitted).</dd>
  1080. <dt><span class="seeLabel">See Also:</span></dt>
  1081. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getTitle--"><code>getTitle()</code></a></dd>
  1082. </dl>
  1083. </li>
  1084. </ul>
  1085. <a name="setTitle-java.lang.String-">
  1086. <!-- -->
  1087. </a>
  1088. <ul class="blockList">
  1089. <li class="blockList">
  1090. <h4>setTitle</h4>
  1091. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.619">setTitle</a>(java.lang.String&nbsp;text)</pre>
  1092. <div class="block">Sets the chart title and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all
  1093. registered listeners. This is a convenience method that ends up calling
  1094. the <a href="../../../org/jfree/chart/JFreeChart.html#setTitle-org.jfree.chart.title.TextTitle-"><code>setTitle(TextTitle)</code></a> method. If there is an existing title,
  1095. its text is updated, otherwise a new title using the default font is
  1096. added to the chart. If <code>text</code> is <code>null</code> the chart
  1097. title is set to <code>null</code>.</div>
  1098. <dl>
  1099. <dt><span class="paramLabel">Parameters:</span></dt>
  1100. <dd><code>text</code> - the title text (<code>null</code> permitted).</dd>
  1101. <dt><span class="seeLabel">See Also:</span></dt>
  1102. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getTitle--"><code>getTitle()</code></a></dd>
  1103. </dl>
  1104. </li>
  1105. </ul>
  1106. <a name="addLegend-org.jfree.chart.title.LegendTitle-">
  1107. <!-- -->
  1108. </a>
  1109. <ul class="blockList">
  1110. <li class="blockList">
  1111. <h4>addLegend</h4>
  1112. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.641">addLegend</a>(<a href="../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title">LegendTitle</a>&nbsp;legend)</pre>
  1113. <div class="block">Adds a legend to the plot and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all
  1114. registered listeners.</div>
  1115. <dl>
  1116. <dt><span class="paramLabel">Parameters:</span></dt>
  1117. <dd><code>legend</code> - the legend (<code>null</code> not permitted).</dd>
  1118. <dt><span class="seeLabel">See Also:</span></dt>
  1119. <dd><a href="../../../org/jfree/chart/JFreeChart.html#removeLegend--"><code>removeLegend()</code></a></dd>
  1120. </dl>
  1121. </li>
  1122. </ul>
  1123. <a name="getLegend--">
  1124. <!-- -->
  1125. </a>
  1126. <ul class="blockList">
  1127. <li class="blockList">
  1128. <h4>getLegend</h4>
  1129. <pre>public&nbsp;<a href="../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title">LegendTitle</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.653">getLegend</a>()</pre>
  1130. <div class="block">Returns the legend for the chart, if there is one. Note that a chart
  1131. can have more than one legend - this method returns the first.</div>
  1132. <dl>
  1133. <dt><span class="returnLabel">Returns:</span></dt>
  1134. <dd>The legend (possibly <code>null</code>).</dd>
  1135. <dt><span class="seeLabel">See Also:</span></dt>
  1136. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getLegend-int-"><code>getLegend(int)</code></a></dd>
  1137. </dl>
  1138. </li>
  1139. </ul>
  1140. <a name="getLegend-int-">
  1141. <!-- -->
  1142. </a>
  1143. <ul class="blockList">
  1144. <li class="blockList">
  1145. <h4>getLegend</h4>
  1146. <pre>public&nbsp;<a href="../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title">LegendTitle</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.666">getLegend</a>(int&nbsp;index)</pre>
  1147. <div class="block">Returns the nth legend for a chart, or <code>null</code>.</div>
  1148. <dl>
  1149. <dt><span class="paramLabel">Parameters:</span></dt>
  1150. <dd><code>index</code> - the legend index (zero-based).</dd>
  1151. <dt><span class="returnLabel">Returns:</span></dt>
  1152. <dd>The legend (possibly <code>null</code>).</dd>
  1153. <dt><span class="seeLabel">See Also:</span></dt>
  1154. <dd><a href="../../../org/jfree/chart/JFreeChart.html#addLegend-org.jfree.chart.title.LegendTitle-"><code>addLegend(LegendTitle)</code></a></dd>
  1155. </dl>
  1156. </li>
  1157. </ul>
  1158. <a name="removeLegend--">
  1159. <!-- -->
  1160. </a>
  1161. <ul class="blockList">
  1162. <li class="blockList">
  1163. <h4>removeLegend</h4>
  1164. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.689">removeLegend</a>()</pre>
  1165. <div class="block">Removes the first legend in the chart and sends a
  1166. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1167. <dl>
  1168. <dt><span class="seeLabel">See Also:</span></dt>
  1169. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getLegend--"><code>getLegend()</code></a></dd>
  1170. </dl>
  1171. </li>
  1172. </ul>
  1173. <a name="getSubtitles--">
  1174. <!-- -->
  1175. </a>
  1176. <ul class="blockList">
  1177. <li class="blockList">
  1178. <h4>getSubtitles</h4>
  1179. <pre>public&nbsp;java.util.List&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.700">getSubtitles</a>()</pre>
  1180. <div class="block">Returns the list of subtitles for the chart.</div>
  1181. <dl>
  1182. <dt><span class="returnLabel">Returns:</span></dt>
  1183. <dd>The subtitle list (possibly empty, but never <code>null</code>).</dd>
  1184. <dt><span class="seeLabel">See Also:</span></dt>
  1185. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setSubtitles-java.util.List-"><code>setSubtitles(List)</code></a></dd>
  1186. </dl>
  1187. </li>
  1188. </ul>
  1189. <a name="setSubtitles-java.util.List-">
  1190. <!-- -->
  1191. </a>
  1192. <ul class="blockList">
  1193. <li class="blockList">
  1194. <h4>setSubtitles</h4>
  1195. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.714">setSubtitles</a>(java.util.List&nbsp;subtitles)</pre>
  1196. <div class="block">Sets the title list for the chart (completely replaces any existing
  1197. titles) and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered
  1198. listeners.</div>
  1199. <dl>
  1200. <dt><span class="paramLabel">Parameters:</span></dt>
  1201. <dd><code>subtitles</code> - the new list of subtitles (<code>null</code> not
  1202. permitted).</dd>
  1203. <dt><span class="seeLabel">See Also:</span></dt>
  1204. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getSubtitles--"><code>getSubtitles()</code></a></dd>
  1205. </dl>
  1206. </li>
  1207. </ul>
  1208. <a name="getSubtitleCount--">
  1209. <!-- -->
  1210. </a>
  1211. <ul class="blockList">
  1212. <li class="blockList">
  1213. <h4>getSubtitleCount</h4>
  1214. <pre>public&nbsp;int&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.737">getSubtitleCount</a>()</pre>
  1215. <div class="block">Returns the number of titles for the chart.</div>
  1216. <dl>
  1217. <dt><span class="returnLabel">Returns:</span></dt>
  1218. <dd>The number of titles for the chart.</dd>
  1219. <dt><span class="seeLabel">See Also:</span></dt>
  1220. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getSubtitles--"><code>getSubtitles()</code></a></dd>
  1221. </dl>
  1222. </li>
  1223. </ul>
  1224. <a name="getSubtitle-int-">
  1225. <!-- -->
  1226. </a>
  1227. <ul class="blockList">
  1228. <li class="blockList">
  1229. <h4>getSubtitle</h4>
  1230. <pre>public&nbsp;<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.750">getSubtitle</a>(int&nbsp;index)</pre>
  1231. <div class="block">Returns a chart subtitle.</div>
  1232. <dl>
  1233. <dt><span class="paramLabel">Parameters:</span></dt>
  1234. <dd><code>index</code> - the index of the chart subtitle (zero based).</dd>
  1235. <dt><span class="returnLabel">Returns:</span></dt>
  1236. <dd>A chart subtitle.</dd>
  1237. <dt><span class="seeLabel">See Also:</span></dt>
  1238. <dd><a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-org.jfree.chart.title.Title-"><code>addSubtitle(Title)</code></a></dd>
  1239. </dl>
  1240. </li>
  1241. </ul>
  1242. <a name="addSubtitle-org.jfree.chart.title.Title-">
  1243. <!-- -->
  1244. </a>
  1245. <ul class="blockList">
  1246. <li class="blockList">
  1247. <h4>addSubtitle</h4>
  1248. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.765">addSubtitle</a>(<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;subtitle)</pre>
  1249. <div class="block">Adds a chart subtitle, and notifies registered listeners that the chart
  1250. has been modified.</div>
  1251. <dl>
  1252. <dt><span class="paramLabel">Parameters:</span></dt>
  1253. <dd><code>subtitle</code> - the subtitle (<code>null</code> not permitted).</dd>
  1254. <dt><span class="seeLabel">See Also:</span></dt>
  1255. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getSubtitle-int-"><code>getSubtitle(int)</code></a></dd>
  1256. </dl>
  1257. </li>
  1258. </ul>
  1259. <a name="addSubtitle-int-org.jfree.chart.title.Title-">
  1260. <!-- -->
  1261. </a>
  1262. <ul class="blockList">
  1263. <li class="blockList">
  1264. <h4>addSubtitle</h4>
  1265. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.781">addSubtitle</a>(int&nbsp;index,
  1266. <a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;subtitle)</pre>
  1267. <div class="block">Adds a subtitle at a particular position in the subtitle list, and sends
  1268. a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1269. <dl>
  1270. <dt><span class="paramLabel">Parameters:</span></dt>
  1271. <dd><code>index</code> - the index (in the range 0 to <a href="../../../org/jfree/chart/JFreeChart.html#getSubtitleCount--"><code>getSubtitleCount()</code></a>).</dd>
  1272. <dd><code>subtitle</code> - the subtitle to add (<code>null</code> not permitted).</dd>
  1273. <dt><span class="simpleTagLabel">Since:</span></dt>
  1274. <dd>1.0.6</dd>
  1275. </dl>
  1276. </li>
  1277. </ul>
  1278. <a name="clearSubtitles--">
  1279. <!-- -->
  1280. </a>
  1281. <ul class="blockList">
  1282. <li class="blockList">
  1283. <h4>clearSubtitles</h4>
  1284. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.798">clearSubtitles</a>()</pre>
  1285. <div class="block">Clears all subtitles from the chart and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a>
  1286. to all registered listeners.</div>
  1287. <dl>
  1288. <dt><span class="seeLabel">See Also:</span></dt>
  1289. <dd><a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-org.jfree.chart.title.Title-"><code>addSubtitle(Title)</code></a></dd>
  1290. </dl>
  1291. </li>
  1292. </ul>
  1293. <a name="removeSubtitle-org.jfree.chart.title.Title-">
  1294. <!-- -->
  1295. </a>
  1296. <ul class="blockList">
  1297. <li class="blockList">
  1298. <h4>removeSubtitle</h4>
  1299. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.816">removeSubtitle</a>(<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;title)</pre>
  1300. <div class="block">Removes the specified subtitle and sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to
  1301. all registered listeners.</div>
  1302. <dl>
  1303. <dt><span class="paramLabel">Parameters:</span></dt>
  1304. <dd><code>title</code> - the title.</dd>
  1305. <dt><span class="seeLabel">See Also:</span></dt>
  1306. <dd><a href="../../../org/jfree/chart/JFreeChart.html#addSubtitle-org.jfree.chart.title.Title-"><code>addSubtitle(Title)</code></a></dd>
  1307. </dl>
  1308. </li>
  1309. </ul>
  1310. <a name="getPlot--">
  1311. <!-- -->
  1312. </a>
  1313. <ul class="blockList">
  1314. <li class="blockList">
  1315. <h4>getPlot</h4>
  1316. <pre>public&nbsp;<a href="../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.828">getPlot</a>()</pre>
  1317. <div class="block">Returns the plot for the chart. The plot is a class responsible for
  1318. coordinating the visual representation of the data, including the axes
  1319. (if any).</div>
  1320. <dl>
  1321. <dt><span class="returnLabel">Returns:</span></dt>
  1322. <dd>The plot.</dd>
  1323. </dl>
  1324. </li>
  1325. </ul>
  1326. <a name="getCategoryPlot--">
  1327. <!-- -->
  1328. </a>
  1329. <ul class="blockList">
  1330. <li class="blockList">
  1331. <h4>getCategoryPlot</h4>
  1332. <pre>public&nbsp;<a href="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.842">getCategoryPlot</a>()</pre>
  1333. <div class="block">Returns the plot cast as a <a href="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><code>CategoryPlot</code></a>.
  1334. <p>
  1335. NOTE: if the plot is not an instance of <a href="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><code>CategoryPlot</code></a>, then a
  1336. <code>ClassCastException</code> is thrown.</div>
  1337. <dl>
  1338. <dt><span class="returnLabel">Returns:</span></dt>
  1339. <dd>The plot.</dd>
  1340. <dt><span class="seeLabel">See Also:</span></dt>
  1341. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getPlot--"><code>getPlot()</code></a></dd>
  1342. </dl>
  1343. </li>
  1344. </ul>
  1345. <a name="getXYPlot--">
  1346. <!-- -->
  1347. </a>
  1348. <ul class="blockList">
  1349. <li class="blockList">
  1350. <h4>getXYPlot</h4>
  1351. <pre>public&nbsp;<a href="../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.856">getXYPlot</a>()</pre>
  1352. <div class="block">Returns the plot cast as an <a href="../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><code>XYPlot</code></a>.
  1353. <p>
  1354. NOTE: if the plot is not an instance of <a href="../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><code>XYPlot</code></a>, then a
  1355. <code>ClassCastException</code> is thrown.</div>
  1356. <dl>
  1357. <dt><span class="returnLabel">Returns:</span></dt>
  1358. <dd>The plot.</dd>
  1359. <dt><span class="seeLabel">See Also:</span></dt>
  1360. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getPlot--"><code>getPlot()</code></a></dd>
  1361. </dl>
  1362. </li>
  1363. </ul>
  1364. <a name="getAntiAlias--">
  1365. <!-- -->
  1366. </a>
  1367. <ul class="blockList">
  1368. <li class="blockList">
  1369. <h4>getAntiAlias</h4>
  1370. <pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.868">getAntiAlias</a>()</pre>
  1371. <div class="block">Returns a flag that indicates whether or not anti-aliasing is used when
  1372. the chart is drawn.</div>
  1373. <dl>
  1374. <dt><span class="returnLabel">Returns:</span></dt>
  1375. <dd>The flag.</dd>
  1376. <dt><span class="seeLabel">See Also:</span></dt>
  1377. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setAntiAlias-boolean-"><code>setAntiAlias(boolean)</code></a></dd>
  1378. </dl>
  1379. </li>
  1380. </ul>
  1381. <a name="setAntiAlias-boolean-">
  1382. <!-- -->
  1383. </a>
  1384. <ul class="blockList">
  1385. <li class="blockList">
  1386. <h4>setAntiAlias</h4>
  1387. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.883">setAntiAlias</a>(boolean&nbsp;flag)</pre>
  1388. <div class="block">Sets a flag that indicates whether or not anti-aliasing is used when the
  1389. chart is drawn.
  1390. <P>
  1391. Anti-aliasing usually improves the appearance of charts, but is slower.</div>
  1392. <dl>
  1393. <dt><span class="paramLabel">Parameters:</span></dt>
  1394. <dd><code>flag</code> - the new value of the flag.</dd>
  1395. <dt><span class="seeLabel">See Also:</span></dt>
  1396. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getAntiAlias--"><code>getAntiAlias()</code></a></dd>
  1397. </dl>
  1398. </li>
  1399. </ul>
  1400. <a name="getTextAntiAlias--">
  1401. <!-- -->
  1402. </a>
  1403. <ul class="blockList">
  1404. <li class="blockList">
  1405. <h4>getTextAntiAlias</h4>
  1406. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.900">getTextAntiAlias</a>()</pre>
  1407. <div class="block">Returns the current value stored in the rendering hints table for
  1408. <code>RenderingHints.KEY_TEXT_ANTIALIASING</code>.</div>
  1409. <dl>
  1410. <dt><span class="returnLabel">Returns:</span></dt>
  1411. <dd>The hint value (possibly <code>null</code>).</dd>
  1412. <dt><span class="simpleTagLabel">Since:</span></dt>
  1413. <dd>1.0.5</dd>
  1414. <dt><span class="seeLabel">See Also:</span></dt>
  1415. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setTextAntiAlias-java.lang.Object-"><code>setTextAntiAlias(Object)</code></a></dd>
  1416. </dl>
  1417. </li>
  1418. </ul>
  1419. <a name="setTextAntiAlias-boolean-">
  1420. <!-- -->
  1421. </a>
  1422. <ul class="blockList">
  1423. <li class="blockList">
  1424. <h4>setTextAntiAlias</h4>
  1425. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.918">setTextAntiAlias</a>(boolean&nbsp;flag)</pre>
  1426. <div class="block">Sets the value in the rendering hints table for
  1427. <code>RenderingHints.KEY_TEXT_ANTIALIASING</code> to either
  1428. <code>RenderingHints.VALUE_TEXT_ANTIALIAS_ON</code> or
  1429. <code>RenderingHints.VALUE_TEXT_ANTIALIAS_OFF</code>, then sends a
  1430. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1431. <dl>
  1432. <dt><span class="paramLabel">Parameters:</span></dt>
  1433. <dd><code>flag</code> - the new value of the flag.</dd>
  1434. <dt><span class="simpleTagLabel">Since:</span></dt>
  1435. <dd>1.0.5</dd>
  1436. <dt><span class="seeLabel">See Also:</span></dt>
  1437. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getTextAntiAlias--"><code>getTextAntiAlias()</code></a>,
  1438. <a href="../../../org/jfree/chart/JFreeChart.html#setTextAntiAlias-java.lang.Object-"><code>setTextAntiAlias(Object)</code></a></dd>
  1439. </dl>
  1440. </li>
  1441. </ul>
  1442. <a name="setTextAntiAlias-java.lang.Object-">
  1443. <!-- -->
  1444. </a>
  1445. <ul class="blockList">
  1446. <li class="blockList">
  1447. <h4>setTextAntiAlias</h4>
  1448. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.939">setTextAntiAlias</a>(java.lang.Object&nbsp;val)</pre>
  1449. <div class="block">Sets the value in the rendering hints table for
  1450. <code>RenderingHints.KEY_TEXT_ANTIALIASING</code> and sends a
  1451. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1452. <dl>
  1453. <dt><span class="paramLabel">Parameters:</span></dt>
  1454. <dd><code>val</code> - the new value (<code>null</code> permitted).</dd>
  1455. <dt><span class="simpleTagLabel">Since:</span></dt>
  1456. <dd>1.0.5</dd>
  1457. <dt><span class="seeLabel">See Also:</span></dt>
  1458. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getTextAntiAlias--"><code>getTextAntiAlias()</code></a>,
  1459. <a href="../../../org/jfree/chart/JFreeChart.html#setTextAntiAlias-boolean-"><code>setTextAntiAlias(boolean)</code></a></dd>
  1460. </dl>
  1461. </li>
  1462. </ul>
  1463. <a name="getBackgroundPaint--">
  1464. <!-- -->
  1465. </a>
  1466. <ul class="blockList">
  1467. <li class="blockList">
  1468. <h4>getBackgroundPaint</h4>
  1469. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.951">getBackgroundPaint</a>()</pre>
  1470. <div class="block">Returns the paint used for the chart background.</div>
  1471. <dl>
  1472. <dt><span class="returnLabel">Returns:</span></dt>
  1473. <dd>The paint (possibly <code>null</code>).</dd>
  1474. <dt><span class="seeLabel">See Also:</span></dt>
  1475. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundPaint-java.awt.Paint-"><code>setBackgroundPaint(Paint)</code></a></dd>
  1476. </dl>
  1477. </li>
  1478. </ul>
  1479. <a name="setBackgroundPaint-java.awt.Paint-">
  1480. <!-- -->
  1481. </a>
  1482. <ul class="blockList">
  1483. <li class="blockList">
  1484. <h4>setBackgroundPaint</h4>
  1485. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.963">setBackgroundPaint</a>(java.awt.Paint&nbsp;paint)</pre>
  1486. <div class="block">Sets the paint used to fill the chart background and sends a
  1487. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1488. <dl>
  1489. <dt><span class="paramLabel">Parameters:</span></dt>
  1490. <dd><code>paint</code> - the paint (<code>null</code> permitted).</dd>
  1491. <dt><span class="seeLabel">See Also:</span></dt>
  1492. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundPaint--"><code>getBackgroundPaint()</code></a></dd>
  1493. </dl>
  1494. </li>
  1495. </ul>
  1496. <a name="getBackgroundImage--">
  1497. <!-- -->
  1498. </a>
  1499. <ul class="blockList">
  1500. <li class="blockList">
  1501. <h4>getBackgroundImage</h4>
  1502. <pre>public&nbsp;java.awt.Image&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.988">getBackgroundImage</a>()</pre>
  1503. <div class="block">Returns the background image for the chart, or <code>null</code> if
  1504. there is no image.</div>
  1505. <dl>
  1506. <dt><span class="returnLabel">Returns:</span></dt>
  1507. <dd>The image (possibly <code>null</code>).</dd>
  1508. <dt><span class="seeLabel">See Also:</span></dt>
  1509. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundImage-java.awt.Image-"><code>setBackgroundImage(Image)</code></a></dd>
  1510. </dl>
  1511. </li>
  1512. </ul>
  1513. <a name="setBackgroundImage-java.awt.Image-">
  1514. <!-- -->
  1515. </a>
  1516. <ul class="blockList">
  1517. <li class="blockList">
  1518. <h4>setBackgroundImage</h4>
  1519. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1000">setBackgroundImage</a>(java.awt.Image&nbsp;image)</pre>
  1520. <div class="block">Sets the background image for the chart and sends a
  1521. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1522. <dl>
  1523. <dt><span class="paramLabel">Parameters:</span></dt>
  1524. <dd><code>image</code> - the image (<code>null</code> permitted).</dd>
  1525. <dt><span class="seeLabel">See Also:</span></dt>
  1526. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundImage--"><code>getBackgroundImage()</code></a></dd>
  1527. </dl>
  1528. </li>
  1529. </ul>
  1530. <a name="getBackgroundImageAlignment--">
  1531. <!-- -->
  1532. </a>
  1533. <ul class="blockList">
  1534. <li class="blockList">
  1535. <h4>getBackgroundImageAlignment</h4>
  1536. <pre>public&nbsp;int&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1026">getBackgroundImageAlignment</a>()</pre>
  1537. <div class="block">Returns the background image alignment. Alignment constants are defined
  1538. in the <code>org.jfree.ui.Align</code> class in the JCommon class
  1539. library.</div>
  1540. <dl>
  1541. <dt><span class="returnLabel">Returns:</span></dt>
  1542. <dd>The alignment.</dd>
  1543. <dt><span class="seeLabel">See Also:</span></dt>
  1544. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundImageAlignment-int-"><code>setBackgroundImageAlignment(int)</code></a></dd>
  1545. </dl>
  1546. </li>
  1547. </ul>
  1548. <a name="setBackgroundImageAlignment-int-">
  1549. <!-- -->
  1550. </a>
  1551. <ul class="blockList">
  1552. <li class="blockList">
  1553. <h4>setBackgroundImageAlignment</h4>
  1554. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1038">setBackgroundImageAlignment</a>(int&nbsp;alignment)</pre>
  1555. <div class="block">Sets the background alignment. Alignment options are defined by the
  1556. <code>Align</code> class.</div>
  1557. <dl>
  1558. <dt><span class="paramLabel">Parameters:</span></dt>
  1559. <dd><code>alignment</code> - the alignment.</dd>
  1560. <dt><span class="seeLabel">See Also:</span></dt>
  1561. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundImageAlignment--"><code>getBackgroundImageAlignment()</code></a></dd>
  1562. </dl>
  1563. </li>
  1564. </ul>
  1565. <a name="getBackgroundImageAlpha--">
  1566. <!-- -->
  1567. </a>
  1568. <ul class="blockList">
  1569. <li class="blockList">
  1570. <h4>getBackgroundImageAlpha</h4>
  1571. <pre>public&nbsp;float&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1052">getBackgroundImageAlpha</a>()</pre>
  1572. <div class="block">Returns the alpha-transparency for the chart's background image.</div>
  1573. <dl>
  1574. <dt><span class="returnLabel">Returns:</span></dt>
  1575. <dd>The alpha-transparency.</dd>
  1576. <dt><span class="seeLabel">See Also:</span></dt>
  1577. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setBackgroundImageAlpha-float-"><code>setBackgroundImageAlpha(float)</code></a></dd>
  1578. </dl>
  1579. </li>
  1580. </ul>
  1581. <a name="setBackgroundImageAlpha-float-">
  1582. <!-- -->
  1583. </a>
  1584. <ul class="blockList">
  1585. <li class="blockList">
  1586. <h4>setBackgroundImageAlpha</h4>
  1587. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1064">setBackgroundImageAlpha</a>(float&nbsp;alpha)</pre>
  1588. <div class="block">Sets the alpha-transparency for the chart's background image.
  1589. Registered listeners are notified that the chart has been changed.</div>
  1590. <dl>
  1591. <dt><span class="paramLabel">Parameters:</span></dt>
  1592. <dd><code>alpha</code> - the alpha value.</dd>
  1593. <dt><span class="seeLabel">See Also:</span></dt>
  1594. <dd><a href="../../../org/jfree/chart/JFreeChart.html#getBackgroundImageAlpha--"><code>getBackgroundImageAlpha()</code></a></dd>
  1595. </dl>
  1596. </li>
  1597. </ul>
  1598. <a name="isNotify--">
  1599. <!-- -->
  1600. </a>
  1601. <ul class="blockList">
  1602. <li class="blockList">
  1603. <h4>isNotify</h4>
  1604. <pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1081">isNotify</a>()</pre>
  1605. <div class="block">Returns a flag that controls whether or not change events are sent to
  1606. registered listeners.</div>
  1607. <dl>
  1608. <dt><span class="returnLabel">Returns:</span></dt>
  1609. <dd>A boolean.</dd>
  1610. <dt><span class="seeLabel">See Also:</span></dt>
  1611. <dd><a href="../../../org/jfree/chart/JFreeChart.html#setNotify-boolean-"><code>setNotify(boolean)</code></a></dd>
  1612. </dl>
  1613. </li>
  1614. </ul>
  1615. <a name="setNotify-boolean-">
  1616. <!-- -->
  1617. </a>
  1618. <ul class="blockList">
  1619. <li class="blockList">
  1620. <h4>setNotify</h4>
  1621. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1093">setNotify</a>(boolean&nbsp;notify)</pre>
  1622. <div class="block">Sets a flag that controls whether or not listeners receive
  1623. <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> notifications.</div>
  1624. <dl>
  1625. <dt><span class="paramLabel">Parameters:</span></dt>
  1626. <dd><code>notify</code> - a boolean.</dd>
  1627. <dt><span class="seeLabel">See Also:</span></dt>
  1628. <dd><a href="../../../org/jfree/chart/JFreeChart.html#isNotify--"><code>isNotify()</code></a></dd>
  1629. </dl>
  1630. </li>
  1631. </ul>
  1632. <a name="draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">
  1633. <!-- -->
  1634. </a>
  1635. <ul class="blockList">
  1636. <li class="blockList">
  1637. <h4>draw</h4>
  1638. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1111">draw</a>(java.awt.Graphics2D&nbsp;g2,
  1639. java.awt.geom.Rectangle2D&nbsp;area)</pre>
  1640. <div class="block">Draws the chart on a Java 2D graphics device (such as the screen or a
  1641. printer).
  1642. <P>
  1643. This method is the focus of the entire JFreeChart library.</div>
  1644. <dl>
  1645. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1646. <dd><code>draw</code>&nbsp;in interface&nbsp;<code>org.jfree.ui.Drawable</code></dd>
  1647. <dt><span class="paramLabel">Parameters:</span></dt>
  1648. <dd><code>g2</code> - the graphics device.</dd>
  1649. <dd><code>area</code> - the area within which the chart should be drawn.</dd>
  1650. </dl>
  1651. </li>
  1652. </ul>
  1653. <a name="draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.chart.ChartRenderingInfo-">
  1654. <!-- -->
  1655. </a>
  1656. <ul class="blockList">
  1657. <li class="blockList">
  1658. <h4>draw</h4>
  1659. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1123">draw</a>(java.awt.Graphics2D&nbsp;g2,
  1660. java.awt.geom.Rectangle2D&nbsp;area,
  1661. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1662. <div class="block">Draws the chart on a Java 2D graphics device (such as the screen or a
  1663. printer). This method is the focus of the entire JFreeChart library.</div>
  1664. <dl>
  1665. <dt><span class="paramLabel">Parameters:</span></dt>
  1666. <dd><code>g2</code> - the graphics device.</dd>
  1667. <dd><code>area</code> - the area within which the chart should be drawn.</dd>
  1668. <dd><code>info</code> - records info about the drawing (null means collect no info).</dd>
  1669. </dl>
  1670. </li>
  1671. </ul>
  1672. <a name="draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.awt.geom.Point2D-org.jfree.chart.ChartRenderingInfo-">
  1673. <!-- -->
  1674. </a>
  1675. <ul class="blockList">
  1676. <li class="blockList">
  1677. <h4>draw</h4>
  1678. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1139">draw</a>(java.awt.Graphics2D&nbsp;g2,
  1679. java.awt.geom.Rectangle2D&nbsp;chartArea,
  1680. java.awt.geom.Point2D&nbsp;anchor,
  1681. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1682. <div class="block">Draws the chart on a Java 2D graphics device (such as the screen or a
  1683. printer).
  1684. <P>
  1685. This method is the focus of the entire JFreeChart library.</div>
  1686. <dl>
  1687. <dt><span class="paramLabel">Parameters:</span></dt>
  1688. <dd><code>g2</code> - the graphics device.</dd>
  1689. <dd><code>chartArea</code> - the area within which the chart should be drawn.</dd>
  1690. <dd><code>anchor</code> - the anchor point (in Java2D space) for the chart
  1691. (<code>null</code> permitted).</dd>
  1692. <dd><code>info</code> - records info about the drawing (null means collect no info).</dd>
  1693. </dl>
  1694. </li>
  1695. </ul>
  1696. <a name="drawTitle-org.jfree.chart.title.Title-java.awt.Graphics2D-java.awt.geom.Rectangle2D-boolean-">
  1697. <!-- -->
  1698. </a>
  1699. <ul class="blockList">
  1700. <li class="blockList">
  1701. <h4>drawTitle</h4>
  1702. <pre>protected&nbsp;<a href="../../../org/jfree/chart/entity/EntityCollection.html" title="interface in org.jfree.chart.entity">EntityCollection</a>&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1289">drawTitle</a>(<a href="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>&nbsp;t,
  1703. java.awt.Graphics2D&nbsp;g2,
  1704. java.awt.geom.Rectangle2D&nbsp;area,
  1705. boolean&nbsp;entities)</pre>
  1706. <div class="block">Draws a title. The title should be drawn at the top, bottom, left or
  1707. right of the specified area, and the area should be updated to reflect
  1708. the amount of space used by the title.</div>
  1709. <dl>
  1710. <dt><span class="paramLabel">Parameters:</span></dt>
  1711. <dd><code>t</code> - the title (<code>null</code> not permitted).</dd>
  1712. <dd><code>g2</code> - the graphics device (<code>null</code> not permitted).</dd>
  1713. <dd><code>area</code> - the chart area, excluding any existing titles
  1714. (<code>null</code> not permitted).</dd>
  1715. <dd><code>entities</code> - a flag that controls whether or not an entity
  1716. collection is returned for the title.</dd>
  1717. <dt><span class="returnLabel">Returns:</span></dt>
  1718. <dd>An entity collection for the title (possibly <code>null</code>).</dd>
  1719. </dl>
  1720. </li>
  1721. </ul>
  1722. <a name="createBufferedImage-int-int-">
  1723. <!-- -->
  1724. </a>
  1725. <ul class="blockList">
  1726. <li class="blockList">
  1727. <h4>createBufferedImage</h4>
  1728. <pre>public&nbsp;java.awt.image.BufferedImage&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1363">createBufferedImage</a>(int&nbsp;width,
  1729. int&nbsp;height)</pre>
  1730. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  1731. <dl>
  1732. <dt><span class="paramLabel">Parameters:</span></dt>
  1733. <dd><code>width</code> - the width.</dd>
  1734. <dd><code>height</code> - the height.</dd>
  1735. <dt><span class="returnLabel">Returns:</span></dt>
  1736. <dd>A buffered image.</dd>
  1737. </dl>
  1738. </li>
  1739. </ul>
  1740. <a name="createBufferedImage-int-int-org.jfree.chart.ChartRenderingInfo-">
  1741. <!-- -->
  1742. </a>
  1743. <ul class="blockList">
  1744. <li class="blockList">
  1745. <h4>createBufferedImage</h4>
  1746. <pre>public&nbsp;java.awt.image.BufferedImage&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1377">createBufferedImage</a>(int&nbsp;width,
  1747. int&nbsp;height,
  1748. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1749. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  1750. <dl>
  1751. <dt><span class="paramLabel">Parameters:</span></dt>
  1752. <dd><code>width</code> - the width.</dd>
  1753. <dd><code>height</code> - the height.</dd>
  1754. <dd><code>info</code> - carries back chart state information (<code>null</code>
  1755. permitted).</dd>
  1756. <dt><span class="returnLabel">Returns:</span></dt>
  1757. <dd>A buffered image.</dd>
  1758. </dl>
  1759. </li>
  1760. </ul>
  1761. <a name="createBufferedImage-int-int-int-org.jfree.chart.ChartRenderingInfo-">
  1762. <!-- -->
  1763. </a>
  1764. <ul class="blockList">
  1765. <li class="blockList">
  1766. <h4>createBufferedImage</h4>
  1767. <pre>public&nbsp;java.awt.image.BufferedImage&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1394">createBufferedImage</a>(int&nbsp;width,
  1768. int&nbsp;height,
  1769. int&nbsp;imageType,
  1770. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1771. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  1772. <dl>
  1773. <dt><span class="paramLabel">Parameters:</span></dt>
  1774. <dd><code>width</code> - the width.</dd>
  1775. <dd><code>height</code> - the height.</dd>
  1776. <dd><code>imageType</code> - the image type.</dd>
  1777. <dd><code>info</code> - carries back chart state information (<code>null</code>
  1778. permitted).</dd>
  1779. <dt><span class="returnLabel">Returns:</span></dt>
  1780. <dd>A buffered image.</dd>
  1781. </dl>
  1782. </li>
  1783. </ul>
  1784. <a name="createBufferedImage-int-int-double-double-org.jfree.chart.ChartRenderingInfo-">
  1785. <!-- -->
  1786. </a>
  1787. <ul class="blockList">
  1788. <li class="blockList">
  1789. <h4>createBufferedImage</h4>
  1790. <pre>public&nbsp;java.awt.image.BufferedImage&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1418">createBufferedImage</a>(int&nbsp;imageWidth,
  1791. int&nbsp;imageHeight,
  1792. double&nbsp;drawWidth,
  1793. double&nbsp;drawHeight,
  1794. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1795. <div class="block">Creates and returns a buffered image into which the chart has been drawn.</div>
  1796. <dl>
  1797. <dt><span class="paramLabel">Parameters:</span></dt>
  1798. <dd><code>imageWidth</code> - the image width.</dd>
  1799. <dd><code>imageHeight</code> - the image height.</dd>
  1800. <dd><code>drawWidth</code> - the width for drawing the chart (will be scaled to
  1801. fit image).</dd>
  1802. <dd><code>drawHeight</code> - the height for drawing the chart (will be scaled to
  1803. fit image).</dd>
  1804. <dd><code>info</code> - optional object for collection chart dimension and entity
  1805. information.</dd>
  1806. <dt><span class="returnLabel">Returns:</span></dt>
  1807. <dd>A buffered image.</dd>
  1808. </dl>
  1809. </li>
  1810. </ul>
  1811. <a name="handleClick-int-int-org.jfree.chart.ChartRenderingInfo-">
  1812. <!-- -->
  1813. </a>
  1814. <ul class="blockList">
  1815. <li class="blockList">
  1816. <h4>handleClick</h4>
  1817. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1450">handleClick</a>(int&nbsp;x,
  1818. int&nbsp;y,
  1819. <a href="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</a>&nbsp;info)</pre>
  1820. <div class="block">Handles a 'click' on the chart. JFreeChart is not a UI component, so
  1821. some other object (for example, <a href="../../../org/jfree/chart/ChartPanel.html" title="class in org.jfree.chart"><code>ChartPanel</code></a>) needs to capture
  1822. the click event and pass it onto the JFreeChart object.
  1823. If you are not using JFreeChart in a client application, then this
  1824. method is not required.</div>
  1825. <dl>
  1826. <dt><span class="paramLabel">Parameters:</span></dt>
  1827. <dd><code>x</code> - x-coordinate of the click (in Java2D space).</dd>
  1828. <dd><code>y</code> - y-coordinate of the click (in Java2D space).</dd>
  1829. <dd><code>info</code> - contains chart dimension and entity information
  1830. (<code>null</code> not permitted).</dd>
  1831. </dl>
  1832. </li>
  1833. </ul>
  1834. <a name="addChangeListener-org.jfree.chart.event.ChartChangeListener-">
  1835. <!-- -->
  1836. </a>
  1837. <ul class="blockList">
  1838. <li class="blockList">
  1839. <h4>addChangeListener</h4>
  1840. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1465">addChangeListener</a>(<a href="../../../org/jfree/chart/event/ChartChangeListener.html" title="interface in org.jfree.chart.event">ChartChangeListener</a>&nbsp;listener)</pre>
  1841. <div class="block">Registers an object for notification of changes to the chart.</div>
  1842. <dl>
  1843. <dt><span class="paramLabel">Parameters:</span></dt>
  1844. <dd><code>listener</code> - the listener (<code>null</code> not permitted).</dd>
  1845. <dt><span class="seeLabel">See Also:</span></dt>
  1846. <dd><a href="../../../org/jfree/chart/JFreeChart.html#removeChangeListener-org.jfree.chart.event.ChartChangeListener-"><code>removeChangeListener(ChartChangeListener)</code></a></dd>
  1847. </dl>
  1848. </li>
  1849. </ul>
  1850. <a name="removeChangeListener-org.jfree.chart.event.ChartChangeListener-">
  1851. <!-- -->
  1852. </a>
  1853. <ul class="blockList">
  1854. <li class="blockList">
  1855. <h4>removeChangeListener</h4>
  1856. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1477">removeChangeListener</a>(<a href="../../../org/jfree/chart/event/ChartChangeListener.html" title="interface in org.jfree.chart.event">ChartChangeListener</a>&nbsp;listener)</pre>
  1857. <div class="block">Deregisters an object for notification of changes to the chart.</div>
  1858. <dl>
  1859. <dt><span class="paramLabel">Parameters:</span></dt>
  1860. <dd><code>listener</code> - the listener (<code>null</code> not permitted)</dd>
  1861. <dt><span class="seeLabel">See Also:</span></dt>
  1862. <dd><a href="../../../org/jfree/chart/JFreeChart.html#addChangeListener-org.jfree.chart.event.ChartChangeListener-"><code>addChangeListener(ChartChangeListener)</code></a></dd>
  1863. </dl>
  1864. </li>
  1865. </ul>
  1866. <a name="fireChartChanged--">
  1867. <!-- -->
  1868. </a>
  1869. <ul class="blockList">
  1870. <li class="blockList">
  1871. <h4>fireChartChanged</h4>
  1872. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1487">fireChartChanged</a>()</pre>
  1873. <div class="block">Sends a default <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.
  1874. <P>
  1875. This method is for convenience only.</div>
  1876. </li>
  1877. </ul>
  1878. <a name="notifyListeners-org.jfree.chart.event.ChartChangeEvent-">
  1879. <!-- -->
  1880. </a>
  1881. <ul class="blockList">
  1882. <li class="blockList">
  1883. <h4>notifyListeners</h4>
  1884. <pre>protected&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1498">notifyListeners</a>(<a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event">ChartChangeEvent</a>&nbsp;event)</pre>
  1885. <div class="block">Sends a <a href="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><code>ChartChangeEvent</code></a> to all registered listeners.</div>
  1886. <dl>
  1887. <dt><span class="paramLabel">Parameters:</span></dt>
  1888. <dd><code>event</code> - information about the event that triggered the
  1889. notification.</dd>
  1890. </dl>
  1891. </li>
  1892. </ul>
  1893. <a name="addProgressListener-org.jfree.chart.event.ChartProgressListener-">
  1894. <!-- -->
  1895. </a>
  1896. <ul class="blockList">
  1897. <li class="blockList">
  1898. <h4>addProgressListener</h4>
  1899. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1518">addProgressListener</a>(<a href="../../../org/jfree/chart/event/ChartProgressListener.html" title="interface in org.jfree.chart.event">ChartProgressListener</a>&nbsp;listener)</pre>
  1900. <div class="block">Registers an object for notification of progress events relating to the
  1901. chart.</div>
  1902. <dl>
  1903. <dt><span class="paramLabel">Parameters:</span></dt>
  1904. <dd><code>listener</code> - the object being registered.</dd>
  1905. <dt><span class="seeLabel">See Also:</span></dt>
  1906. <dd><a href="../../../org/jfree/chart/JFreeChart.html#removeProgressListener-org.jfree.chart.event.ChartProgressListener-"><code>removeProgressListener(ChartProgressListener)</code></a></dd>
  1907. </dl>
  1908. </li>
  1909. </ul>
  1910. <a name="removeProgressListener-org.jfree.chart.event.ChartProgressListener-">
  1911. <!-- -->
  1912. </a>
  1913. <ul class="blockList">
  1914. <li class="blockList">
  1915. <h4>removeProgressListener</h4>
  1916. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1529">removeProgressListener</a>(<a href="../../../org/jfree/chart/event/ChartProgressListener.html" title="interface in org.jfree.chart.event">ChartProgressListener</a>&nbsp;listener)</pre>
  1917. <div class="block">Deregisters an object for notification of changes to the chart.</div>
  1918. <dl>
  1919. <dt><span class="paramLabel">Parameters:</span></dt>
  1920. <dd><code>listener</code> - the object being deregistered.</dd>
  1921. <dt><span class="seeLabel">See Also:</span></dt>
  1922. <dd><a href="../../../org/jfree/chart/JFreeChart.html#addProgressListener-org.jfree.chart.event.ChartProgressListener-"><code>addProgressListener(ChartProgressListener)</code></a></dd>
  1923. </dl>
  1924. </li>
  1925. </ul>
  1926. <a name="notifyListeners-org.jfree.chart.event.ChartProgressEvent-">
  1927. <!-- -->
  1928. </a>
  1929. <ul class="blockList">
  1930. <li class="blockList">
  1931. <h4>notifyListeners</h4>
  1932. <pre>protected&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1539">notifyListeners</a>(<a href="../../../org/jfree/chart/event/ChartProgressEvent.html" title="class in org.jfree.chart.event">ChartProgressEvent</a>&nbsp;event)</pre>
  1933. <div class="block">Sends a <a href="../../../org/jfree/chart/event/ChartProgressEvent.html" title="class in org.jfree.chart.event"><code>ChartProgressEvent</code></a> to all registered listeners.</div>
  1934. <dl>
  1935. <dt><span class="paramLabel">Parameters:</span></dt>
  1936. <dd><code>event</code> - information about the event that triggered the
  1937. notification.</dd>
  1938. </dl>
  1939. </li>
  1940. </ul>
  1941. <a name="titleChanged-org.jfree.chart.event.TitleChangeEvent-">
  1942. <!-- -->
  1943. </a>
  1944. <ul class="blockList">
  1945. <li class="blockList">
  1946. <h4>titleChanged</h4>
  1947. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1557">titleChanged</a>(<a href="../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event">TitleChangeEvent</a>&nbsp;event)</pre>
  1948. <div class="block">Receives notification that a chart title has changed, and passes this
  1949. on to registered listeners.</div>
  1950. <dl>
  1951. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1952. <dd><code><a href="../../../org/jfree/chart/event/TitleChangeListener.html#titleChanged-org.jfree.chart.event.TitleChangeEvent-">titleChanged</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/jfree/chart/event/TitleChangeListener.html" title="interface in org.jfree.chart.event">TitleChangeListener</a></code></dd>
  1953. <dt><span class="paramLabel">Parameters:</span></dt>
  1954. <dd><code>event</code> - information about the chart title change.</dd>
  1955. </dl>
  1956. </li>
  1957. </ul>
  1958. <a name="plotChanged-org.jfree.chart.event.PlotChangeEvent-">
  1959. <!-- -->
  1960. </a>
  1961. <ul class="blockList">
  1962. <li class="blockList">
  1963. <h4>plotChanged</h4>
  1964. <pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1569">plotChanged</a>(<a href="../../../org/jfree/chart/event/PlotChangeEvent.html" title="class in org.jfree.chart.event">PlotChangeEvent</a>&nbsp;event)</pre>
  1965. <div class="block">Receives notification that the plot has changed, and passes this on to
  1966. registered listeners.</div>
  1967. <dl>
  1968. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1969. <dd><code><a href="../../../org/jfree/chart/event/PlotChangeListener.html#plotChanged-org.jfree.chart.event.PlotChangeEvent-">plotChanged</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/jfree/chart/event/PlotChangeListener.html" title="interface in org.jfree.chart.event">PlotChangeListener</a></code></dd>
  1970. <dt><span class="paramLabel">Parameters:</span></dt>
  1971. <dd><code>event</code> - information about the plot change.</dd>
  1972. </dl>
  1973. </li>
  1974. </ul>
  1975. <a name="equals-java.lang.Object-">
  1976. <!-- -->
  1977. </a>
  1978. <ul class="blockList">
  1979. <li class="blockList">
  1980. <h4>equals</h4>
  1981. <pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1582">equals</a>(java.lang.Object&nbsp;obj)</pre>
  1982. <div class="block">Tests this chart for equality with another object.</div>
  1983. <dl>
  1984. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1985. <dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  1986. <dt><span class="paramLabel">Parameters:</span></dt>
  1987. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  1988. <dt><span class="returnLabel">Returns:</span></dt>
  1989. <dd>A boolean.</dd>
  1990. </dl>
  1991. </li>
  1992. </ul>
  1993. <a name="main-java.lang.String:A-">
  1994. <!-- -->
  1995. </a>
  1996. <ul class="blockList">
  1997. <li class="blockList">
  1998. <h4>main</h4>
  1999. <pre>public static&nbsp;void&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1687">main</a>(java.lang.String[]&nbsp;args)</pre>
  2000. <div class="block">Prints information about JFreeChart to standard output.</div>
  2001. <dl>
  2002. <dt><span class="paramLabel">Parameters:</span></dt>
  2003. <dd><code>args</code> - no arguments are honored.</dd>
  2004. </dl>
  2005. </li>
  2006. </ul>
  2007. <a name="clone--">
  2008. <!-- -->
  2009. </a>
  2010. <ul class="blockListLast">
  2011. <li class="blockList">
  2012. <h4>clone</h4>
  2013. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../src-html/org/jfree/chart/JFreeChart.html#line.1700">clone</a>()
  2014. throws java.lang.CloneNotSupportedException</pre>
  2015. <div class="block">Clones the object, and takes care of listeners.
  2016. Note: caller shall register its own listeners on cloned graph.</div>
  2017. <dl>
  2018. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  2019. <dd><code>clone</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  2020. <dt><span class="returnLabel">Returns:</span></dt>
  2021. <dd>A clone.</dd>
  2022. <dt><span class="throwsLabel">Throws:</span></dt>
  2023. <dd><code>java.lang.CloneNotSupportedException</code> - if the chart is not cloneable.</dd>
  2024. </dl>
  2025. </li>
  2026. </ul>
  2027. </li>
  2028. </ul>
  2029. </li>
  2030. </ul>
  2031. </div>
  2032. </div>
  2033. <!-- ========= END OF CLASS DATA ========= -->
  2034. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  2035. <div class="bottomNav"><a name="navbar.bottom">
  2036. <!-- -->
  2037. </a>
  2038. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  2039. <a name="navbar.bottom.firstrow">
  2040. <!-- -->
  2041. </a>
  2042. <ul class="navList" title="Navigation">
  2043. <li><a href="../../../overview-summary.html">Overview</a></li>
  2044. <li><a href="package-summary.html">Package</a></li>
  2045. <li class="navBarCell1Rev">Class</li>
  2046. <li><a href="class-use/JFreeChart.html">Use</a></li>
  2047. <li><a href="package-tree.html">Tree</a></li>
  2048. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  2049. <li><a href="../../../index-files/index-1.html">Index</a></li>
  2050. <li><a href="../../../help-doc.html">Help</a></li>
  2051. </ul>
  2052. </div>
  2053. <div class="subNav">
  2054. <ul class="navList">
  2055. <li><a href="../../../org/jfree/chart/HashUtilities.html" title="class in org.jfree.chart"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  2056. <li><a href="../../../org/jfree/chart/LegendItem.html" title="class in org.jfree.chart"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  2057. </ul>
  2058. <ul class="navList">
  2059. <li><a href="../../../index.html?org/jfree/chart/JFreeChart.html" target="_top">Frames</a></li>
  2060. <li><a href="JFreeChart.html" target="_top">No&nbsp;Frames</a></li>
  2061. </ul>
  2062. <ul class="navList" id="allclasses_navbar_bottom">
  2063. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  2064. </ul>
  2065. <div>
  2066. <script type="text/javascript"><!--
  2067. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  2068. if(window==top) {
  2069. allClassesLink.style.display = "block";
  2070. }
  2071. else {
  2072. allClassesLink.style.display = "none";
  2073. }
  2074. //-->
  2075. </script>
  2076. </div>
  2077. <div>
  2078. <ul class="subNavList">
  2079. <li>Summary:&nbsp;</li>
  2080. <li>Nested&nbsp;|&nbsp;</li>
  2081. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  2082. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  2083. <li><a href="#method.summary">Method</a></li>
  2084. </ul>
  2085. <ul class="subNavList">
  2086. <li>Detail:&nbsp;</li>
  2087. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  2088. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  2089. <li><a href="#method.detail">Method</a></li>
  2090. </ul>
  2091. </div>
  2092. <a name="skip.navbar.bottom">
  2093. <!-- -->
  2094. </a></div>
  2095. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  2096. </body>
  2097. </html>