NumberAxis.html 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393
  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:28 CEST 2014 -->
  6. <title>NumberAxis (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="NumberAxis (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":9,"i7":9,"i8":9,"i9":9,"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};
  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/NumberAxis.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/axis/MonthDateFormat.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/jfree/chart/axis/NumberAxis3D.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/jfree/chart/axis/NumberAxis.html" target="_top">Frames</a></li>
  57. <li><a href="NumberAxis.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.axis</div>
  96. <h2 title="Class NumberAxis" class="title">Class NumberAxis</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><a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">org.jfree.chart.axis.Axis</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">org.jfree.chart.axis.ValueAxis</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>org.jfree.chart.axis.NumberAxis</li>
  110. </ul>
  111. </li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. <div class="description">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <dl>
  121. <dt>All Implemented Interfaces:</dt>
  122. <dd>java.io.Serializable, java.lang.Cloneable, org.jfree.util.PublicCloneable</dd>
  123. </dl>
  124. <dl>
  125. <dt>Direct Known Subclasses:</dt>
  126. <dd><a href="../../../../org/jfree/chart/axis/CyclicNumberAxis.html" title="class in org.jfree.chart.axis">CyclicNumberAxis</a>, <a href="../../../../org/jfree/chart/axis/LogarithmicAxis.html" title="class in org.jfree.chart.axis">LogarithmicAxis</a>, <a href="../../../../org/jfree/chart/axis/ModuloAxis.html" title="class in org.jfree.chart.axis">ModuloAxis</a>, <a href="../../../../org/jfree/chart/axis/NumberAxis3D.html" title="class in org.jfree.chart.axis">NumberAxis3D</a>, <a href="../../../../org/jfree/chart/axis/SymbolAxis.html" title="class in org.jfree.chart.axis">SymbolAxis</a></dd>
  127. </dl>
  128. <hr>
  129. <br>
  130. <pre>public class <a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.142">NumberAxis</a>
  131. extends <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>
  132. implements java.lang.Cloneable, java.io.Serializable</pre>
  133. <div class="block">An axis for displaying numerical data.
  134. <P>
  135. If the axis is set up to automatically determine its range to fit the data,
  136. you can ensure that the range includes zero (statisticians usually prefer
  137. this) by setting the <code>autoRangeIncludesZero</code> flag to
  138. <code>true</code>.
  139. <P>
  140. The <code>NumberAxis</code> class has a mechanism for automatically
  141. selecting a tick unit that is appropriate for the current axis range. This
  142. mechanism is an adaptation of code suggested by Laurence Vanhelsuwe.</div>
  143. <dl>
  144. <dt><span class="seeLabel">See Also:</span></dt>
  145. <dd><a href="../../../../serialized-form.html#org.jfree.chart.axis.NumberAxis">Serialized Form</a></dd>
  146. </dl>
  147. </li>
  148. </ul>
  149. </div>
  150. <div class="summary">
  151. <ul class="blockList">
  152. <li class="blockList">
  153. <!-- =========== FIELD SUMMARY =========== -->
  154. <ul class="blockList">
  155. <li class="blockList"><a name="field.summary">
  156. <!-- -->
  157. </a>
  158. <h3>Field Summary</h3>
  159. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  160. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  161. <tr>
  162. <th class="colFirst" scope="col">Modifier and Type</th>
  163. <th class="colLast" scope="col">Field and Description</th>
  164. </tr>
  165. <tr class="altColor">
  166. <td class="colFirst"><code>static boolean</code></td>
  167. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#DEFAULT_AUTO_RANGE_INCLUDES_ZERO">DEFAULT_AUTO_RANGE_INCLUDES_ZERO</a></span></code>
  168. <div class="block">The default value for the autoRangeIncludesZero flag.</div>
  169. </td>
  170. </tr>
  171. <tr class="rowColor">
  172. <td class="colFirst"><code>static boolean</code></td>
  173. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#DEFAULT_AUTO_RANGE_STICKY_ZERO">DEFAULT_AUTO_RANGE_STICKY_ZERO</a></span></code>
  174. <div class="block">The default value for the autoRangeStickyZero flag.</div>
  175. </td>
  176. </tr>
  177. <tr class="altColor">
  178. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a></code></td>
  179. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#DEFAULT_TICK_UNIT">DEFAULT_TICK_UNIT</a></span></code>
  180. <div class="block">The default tick unit.</div>
  181. </td>
  182. </tr>
  183. <tr class="rowColor">
  184. <td class="colFirst"><code>static boolean</code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#DEFAULT_VERTICAL_TICK_LABELS">DEFAULT_VERTICAL_TICK_LABELS</a></span></code>
  186. <div class="block">The default setting for the vertical tick labels flag.</div>
  187. </td>
  188. </tr>
  189. </table>
  190. <ul class="blockList">
  191. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.axis.ValueAxis">
  192. <!-- -->
  193. </a>
  194. <h3>Fields inherited from class&nbsp;org.jfree.chart.axis.<a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></h3>
  195. <code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_AUTO_RANGE">DEFAULT_AUTO_RANGE</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_AUTO_RANGE_MINIMUM_SIZE">DEFAULT_AUTO_RANGE_MINIMUM_SIZE</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_AUTO_TICK_UNIT_SELECTION">DEFAULT_AUTO_TICK_UNIT_SELECTION</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_INVERTED">DEFAULT_INVERTED</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_LOWER_BOUND">DEFAULT_LOWER_BOUND</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_LOWER_MARGIN">DEFAULT_LOWER_MARGIN</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_RANGE">DEFAULT_RANGE</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_UPPER_BOUND">DEFAULT_UPPER_BOUND</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#DEFAULT_UPPER_MARGIN">DEFAULT_UPPER_MARGIN</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#MAXIMUM_TICK_COUNT">MAXIMUM_TICK_COUNT</a></code></li>
  196. </ul>
  197. <ul class="blockList">
  198. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.axis.Axis">
  199. <!-- -->
  200. </a>
  201. <h3>Fields inherited from class&nbsp;org.jfree.chart.axis.<a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</a></h3>
  202. <code><a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_AXIS_LABEL_FONT">DEFAULT_AXIS_LABEL_FONT</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_AXIS_LABEL_INSETS">DEFAULT_AXIS_LABEL_INSETS</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_AXIS_LABEL_PAINT">DEFAULT_AXIS_LABEL_PAINT</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_AXIS_LINE_PAINT">DEFAULT_AXIS_LINE_PAINT</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_AXIS_LINE_STROKE">DEFAULT_AXIS_LINE_STROKE</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_AXIS_VISIBLE">DEFAULT_AXIS_VISIBLE</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_LABEL_FONT">DEFAULT_TICK_LABEL_FONT</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_LABEL_INSETS">DEFAULT_TICK_LABEL_INSETS</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_LABEL_PAINT">DEFAULT_TICK_LABEL_PAINT</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_LABELS_VISIBLE">DEFAULT_TICK_LABELS_VISIBLE</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_MARK_INSIDE_LENGTH">DEFAULT_TICK_MARK_INSIDE_LENGTH</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_MARK_OUTSIDE_LENGTH">DEFAULT_TICK_MARK_OUTSIDE_LENGTH</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_MARK_PAINT">DEFAULT_TICK_MARK_PAINT</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_MARK_STROKE">DEFAULT_TICK_MARK_STROKE</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#DEFAULT_TICK_MARKS_VISIBLE">DEFAULT_TICK_MARKS_VISIBLE</a></code></li>
  203. </ul>
  204. </li>
  205. </ul>
  206. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  207. <ul class="blockList">
  208. <li class="blockList"><a name="constructor.summary">
  209. <!-- -->
  210. </a>
  211. <h3>Constructor Summary</h3>
  212. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  213. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  214. <tr>
  215. <th class="colOne" scope="col">Constructor and Description</th>
  216. </tr>
  217. <tr class="altColor">
  218. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#NumberAxis--">NumberAxis</a></span>()</code>
  219. <div class="block">Default constructor.</div>
  220. </td>
  221. </tr>
  222. <tr class="rowColor">
  223. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#NumberAxis-java.lang.String-">NumberAxis</a></span>(java.lang.String&nbsp;label)</code>
  224. <div class="block">Constructs a number axis, using default values where necessary.</div>
  225. </td>
  226. </tr>
  227. </table>
  228. </li>
  229. </ul>
  230. <!-- ========== METHOD SUMMARY =========== -->
  231. <ul class="blockList">
  232. <li class="blockList"><a name="method.summary">
  233. <!-- -->
  234. </a>
  235. <h3>Method Summary</h3>
  236. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  237. <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>
  238. <tr>
  239. <th class="colFirst" scope="col">Modifier and Type</th>
  240. <th class="colLast" scope="col">Method and Description</th>
  241. </tr>
  242. <tr id="i0" class="altColor">
  243. <td class="colFirst"><code>protected void</code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#autoAdjustRange--">autoAdjustRange</a></span>()</code>
  245. <div class="block">Rescales the axis to ensure that all data is visible.</div>
  246. </td>
  247. </tr>
  248. <tr id="i1" class="rowColor">
  249. <td class="colFirst"><code>protected double</code></td>
  250. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#calculateHighestVisibleTickValue--">calculateHighestVisibleTickValue</a></span>()</code>
  251. <div class="block">Calculates the value of the highest visible tick on the axis.</div>
  252. </td>
  253. </tr>
  254. <tr id="i2" class="altColor">
  255. <td class="colFirst"><code>protected double</code></td>
  256. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#calculateLowestVisibleTickValue--">calculateLowestVisibleTickValue</a></span>()</code>
  257. <div class="block">Calculates the value of the lowest visible tick on the axis.</div>
  258. </td>
  259. </tr>
  260. <tr id="i3" class="rowColor">
  261. <td class="colFirst"><code>protected int</code></td>
  262. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#calculateVisibleTickCount--">calculateVisibleTickCount</a></span>()</code>
  263. <div class="block">Calculates the number of visible ticks.</div>
  264. </td>
  265. </tr>
  266. <tr id="i4" class="altColor">
  267. <td class="colFirst"><code>java.lang.Object</code></td>
  268. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#clone--">clone</a></span>()</code>
  269. <div class="block">Returns a clone of the axis.</div>
  270. </td>
  271. </tr>
  272. <tr id="i5" class="rowColor">
  273. <td class="colFirst"><code>void</code></td>
  274. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#configure--">configure</a></span>()</code>
  275. <div class="block">Configures the axis to work with the specified plot.</div>
  276. </td>
  277. </tr>
  278. <tr id="i6" class="altColor">
  279. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a></code></td>
  280. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#createIntegerTickUnits--">createIntegerTickUnits</a></span>()</code>
  281. <div class="block">Returns a collection of tick units for integer values.</div>
  282. </td>
  283. </tr>
  284. <tr id="i7" class="rowColor">
  285. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a></code></td>
  286. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#createIntegerTickUnits-java.util.Locale-">createIntegerTickUnits</a></span>(java.util.Locale&nbsp;locale)</code>
  287. <div class="block">Returns a collection of tick units for integer values.</div>
  288. </td>
  289. </tr>
  290. <tr id="i8" class="altColor">
  291. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a></code></td>
  292. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#createStandardTickUnits--">createStandardTickUnits</a></span>()</code>
  293. <div class="block">Creates the standard tick units.</div>
  294. </td>
  295. </tr>
  296. <tr id="i9" class="rowColor">
  297. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a></code></td>
  298. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#createStandardTickUnits-java.util.Locale-">createStandardTickUnits</a></span>(java.util.Locale&nbsp;locale)</code>
  299. <div class="block">Creates a collection of standard tick units.</div>
  300. </td>
  301. </tr>
  302. <tr id="i10" class="altColor">
  303. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a></code></td>
  304. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#draw-java.awt.Graphics2D-double-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.plot.PlotRenderingInfo-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  305. double&nbsp;cursor,
  306. java.awt.geom.Rectangle2D&nbsp;plotArea,
  307. java.awt.geom.Rectangle2D&nbsp;dataArea,
  308. org.jfree.ui.RectangleEdge&nbsp;edge,
  309. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;plotState)</code>
  310. <div class="block">Draws the axis on a Java 2D graphics device (such as the screen or a
  311. printer).</div>
  312. </td>
  313. </tr>
  314. <tr id="i11" class="rowColor">
  315. <td class="colFirst"><code>boolean</code></td>
  316. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  317. <div class="block">Tests the axis for equality with an arbitrary object.</div>
  318. </td>
  319. </tr>
  320. <tr id="i12" class="altColor">
  321. <td class="colFirst"><code>protected double</code></td>
  322. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#estimateMaximumTickLabelHeight-java.awt.Graphics2D-">estimateMaximumTickLabelHeight</a></span>(java.awt.Graphics2D&nbsp;g2)</code>
  323. <div class="block">Estimates the maximum tick label height.</div>
  324. </td>
  325. </tr>
  326. <tr id="i13" class="rowColor">
  327. <td class="colFirst"><code>protected double</code></td>
  328. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#estimateMaximumTickLabelWidth-java.awt.Graphics2D-org.jfree.chart.axis.TickUnit-">estimateMaximumTickLabelWidth</a></span>(java.awt.Graphics2D&nbsp;g2,
  329. <a href="../../../../org/jfree/chart/axis/TickUnit.html" title="class in org.jfree.chart.axis">TickUnit</a>&nbsp;unit)</code>
  330. <div class="block">Estimates the maximum width of the tick labels, assuming the specified
  331. tick unit is used.</div>
  332. </td>
  333. </tr>
  334. <tr id="i14" class="altColor">
  335. <td class="colFirst"><code>boolean</code></td>
  336. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getAutoRangeIncludesZero--">getAutoRangeIncludesZero</a></span>()</code>
  337. <div class="block">Returns the flag that indicates whether or not the automatic axis range
  338. (if indeed it is determined automatically) is forced to include zero.</div>
  339. </td>
  340. </tr>
  341. <tr id="i15" class="rowColor">
  342. <td class="colFirst"><code>boolean</code></td>
  343. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getAutoRangeStickyZero--">getAutoRangeStickyZero</a></span>()</code>
  344. <div class="block">Returns a flag that affects the auto-range when zero falls outside the
  345. data range but inside the margins defined for the axis.</div>
  346. </td>
  347. </tr>
  348. <tr id="i16" class="altColor">
  349. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis">MarkerAxisBand</a></code></td>
  350. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getMarkerBand--">getMarkerBand</a></span>()</code>
  351. <div class="block">Returns the (optional) marker band for the axis.</div>
  352. </td>
  353. </tr>
  354. <tr id="i17" class="rowColor">
  355. <td class="colFirst"><code>java.text.NumberFormat</code></td>
  356. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getNumberFormatOverride--">getNumberFormatOverride</a></span>()</code>
  357. <div class="block">Returns the number format override.</div>
  358. </td>
  359. </tr>
  360. <tr id="i18" class="altColor">
  361. <td class="colFirst"><code><a href="../../../../org/jfree/data/RangeType.html" title="class in org.jfree.data">RangeType</a></code></td>
  362. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getRangeType--">getRangeType</a></span>()</code>
  363. <div class="block">Returns the axis range type.</div>
  364. </td>
  365. </tr>
  366. <tr id="i19" class="rowColor">
  367. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a></code></td>
  368. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getTickUnit--">getTickUnit</a></span>()</code>
  369. <div class="block">Returns the tick unit for the axis.</div>
  370. </td>
  371. </tr>
  372. <tr id="i20" class="altColor">
  373. <td class="colFirst"><code>int</code></td>
  374. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#hashCode--">hashCode</a></span>()</code>
  375. <div class="block">Returns a hash code for this object.</div>
  376. </td>
  377. </tr>
  378. <tr id="i21" class="rowColor">
  379. <td class="colFirst"><code>double</code></td>
  380. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">java2DToValue</a></span>(double&nbsp;java2DValue,
  381. java.awt.geom.Rectangle2D&nbsp;area,
  382. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  383. <div class="block">Converts a coordinate in Java2D space to the corresponding data value,
  384. assuming that the axis runs along one edge of the specified dataArea.</div>
  385. </td>
  386. </tr>
  387. <tr id="i22" class="altColor">
  388. <td class="colFirst"><code>java.util.List</code></td>
  389. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#refreshTicks-java.awt.Graphics2D-org.jfree.chart.axis.AxisState-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">refreshTicks</a></span>(java.awt.Graphics2D&nbsp;g2,
  390. <a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a>&nbsp;state,
  391. java.awt.geom.Rectangle2D&nbsp;dataArea,
  392. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  393. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  394. results in the tick label list (ready for drawing).</div>
  395. </td>
  396. </tr>
  397. <tr id="i23" class="rowColor">
  398. <td class="colFirst"><code>protected java.util.List</code></td>
  399. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#refreshTicksHorizontal-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">refreshTicksHorizontal</a></span>(java.awt.Graphics2D&nbsp;g2,
  400. java.awt.geom.Rectangle2D&nbsp;dataArea,
  401. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  402. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  403. results in the tick label list (ready for drawing).</div>
  404. </td>
  405. </tr>
  406. <tr id="i24" class="altColor">
  407. <td class="colFirst"><code>protected java.util.List</code></td>
  408. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#refreshTicksVertical-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">refreshTicksVertical</a></span>(java.awt.Graphics2D&nbsp;g2,
  409. java.awt.geom.Rectangle2D&nbsp;dataArea,
  410. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  411. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  412. results in the tick label list (ready for drawing).</div>
  413. </td>
  414. </tr>
  415. <tr id="i25" class="rowColor">
  416. <td class="colFirst"><code>protected void</code></td>
  417. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#selectAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">selectAutoTickUnit</a></span>(java.awt.Graphics2D&nbsp;g2,
  418. java.awt.geom.Rectangle2D&nbsp;dataArea,
  419. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  420. <div class="block">Selects an appropriate tick value for the axis.</div>
  421. </td>
  422. </tr>
  423. <tr id="i26" class="altColor">
  424. <td class="colFirst"><code>protected void</code></td>
  425. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#selectHorizontalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">selectHorizontalAutoTickUnit</a></span>(java.awt.Graphics2D&nbsp;g2,
  426. java.awt.geom.Rectangle2D&nbsp;dataArea,
  427. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  428. <div class="block">Selects an appropriate tick value for the axis.</div>
  429. </td>
  430. </tr>
  431. <tr id="i27" class="rowColor">
  432. <td class="colFirst"><code>protected void</code></td>
  433. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#selectVerticalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">selectVerticalAutoTickUnit</a></span>(java.awt.Graphics2D&nbsp;g2,
  434. java.awt.geom.Rectangle2D&nbsp;dataArea,
  435. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  436. <div class="block">Selects an appropriate tick value for the axis.</div>
  437. </td>
  438. </tr>
  439. <tr id="i28" class="altColor">
  440. <td class="colFirst"><code>void</code></td>
  441. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setAutoRangeIncludesZero-boolean-">setAutoRangeIncludesZero</a></span>(boolean&nbsp;flag)</code>
  442. <div class="block">Sets the flag that indicates whether or not the axis range, if
  443. automatically calculated, is forced to include zero.</div>
  444. </td>
  445. </tr>
  446. <tr id="i29" class="rowColor">
  447. <td class="colFirst"><code>void</code></td>
  448. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setAutoRangeStickyZero-boolean-">setAutoRangeStickyZero</a></span>(boolean&nbsp;flag)</code>
  449. <div class="block">Sets a flag that affects the auto-range when zero falls outside the data
  450. range but inside the margins defined for the axis.</div>
  451. </td>
  452. </tr>
  453. <tr id="i30" class="altColor">
  454. <td class="colFirst"><code>void</code></td>
  455. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setMarkerBand-org.jfree.chart.axis.MarkerAxisBand-">setMarkerBand</a></span>(<a href="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis">MarkerAxisBand</a>&nbsp;band)</code>
  456. <div class="block">Sets the marker band for the axis.</div>
  457. </td>
  458. </tr>
  459. <tr id="i31" class="rowColor">
  460. <td class="colFirst"><code>void</code></td>
  461. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setNumberFormatOverride-java.text.NumberFormat-">setNumberFormatOverride</a></span>(java.text.NumberFormat&nbsp;formatter)</code>
  462. <div class="block">Sets the number format override.</div>
  463. </td>
  464. </tr>
  465. <tr id="i32" class="altColor">
  466. <td class="colFirst"><code>void</code></td>
  467. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setRangeType-org.jfree.data.RangeType-">setRangeType</a></span>(<a href="../../../../org/jfree/data/RangeType.html" title="class in org.jfree.data">RangeType</a>&nbsp;rangeType)</code>
  468. <div class="block">Sets the axis range type.</div>
  469. </td>
  470. </tr>
  471. <tr id="i33" class="rowColor">
  472. <td class="colFirst"><code>void</code></td>
  473. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setTickUnit-org.jfree.chart.axis.NumberTickUnit-">setTickUnit</a></span>(<a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a>&nbsp;unit)</code>
  474. <div class="block">Sets the tick unit for the axis and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to
  475. all registered listeners.</div>
  476. </td>
  477. </tr>
  478. <tr id="i34" class="altColor">
  479. <td class="colFirst"><code>void</code></td>
  480. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setTickUnit-org.jfree.chart.axis.NumberTickUnit-boolean-boolean-">setTickUnit</a></span>(<a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a>&nbsp;unit,
  481. boolean&nbsp;notify,
  482. boolean&nbsp;turnOffAutoSelect)</code>
  483. <div class="block">Sets the tick unit for the axis and, if requested, sends an
  484. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  485. </td>
  486. </tr>
  487. <tr id="i35" class="rowColor">
  488. <td class="colFirst"><code>double</code></td>
  489. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/NumberAxis.html#valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">valueToJava2D</a></span>(double&nbsp;value,
  490. java.awt.geom.Rectangle2D&nbsp;area,
  491. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  492. <div class="block">Converts a data value to a coordinate in Java2D space, assuming that the
  493. axis runs along one edge of the specified dataArea.</div>
  494. </td>
  495. </tr>
  496. </table>
  497. <ul class="blockList">
  498. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.axis.ValueAxis">
  499. <!-- -->
  500. </a>
  501. <h3>Methods inherited from class&nbsp;org.jfree.chart.axis.<a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></h3>
  502. <code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#calculateAnchorPoint-org.jfree.chart.axis.ValueTick-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">calculateAnchorPoint</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#centerRange-double-">centerRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#drawAxisLine-java.awt.Graphics2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">drawAxisLine</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#drawTickMarksAndLabels-java.awt.Graphics2D-double-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">drawTickMarksAndLabels</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#findMaximumTickLabelHeight-java.util.List-java.awt.Graphics2D-java.awt.geom.Rectangle2D-boolean-">findMaximumTickLabelHeight</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#findMaximumTickLabelWidth-java.util.List-java.awt.Graphics2D-java.awt.geom.Rectangle2D-boolean-">findMaximumTickLabelWidth</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getAutoRangeMinimumSize--">getAutoRangeMinimumSize</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getAutoTickIndex--">getAutoTickIndex</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getDefaultAutoRange--">getDefaultAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getDownArrow--">getDownArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getFixedAutoRange--">getFixedAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getLeftArrow--">getLeftArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getLowerBound--">getLowerBound</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getLowerMargin--">getLowerMargin</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getMinorTickCount--">getMinorTickCount</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getRange--">getRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getRightArrow--">getRightArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getStandardTickUnits--">getStandardTickUnits</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getUpArrow--">getUpArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getUpperBound--">getUpperBound</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#getUpperMargin--">getUpperMargin</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isAutoRange--">isAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isAutoTickUnitSelection--">isAutoTickUnitSelection</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isInverted--">isInverted</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isNegativeArrowVisible--">isNegativeArrowVisible</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isPositiveArrowVisible--">isPositiveArrowVisible</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isVerticalTickLabels--">isVerticalTickLabels</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#lengthToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">lengthToJava2D</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#pan-double-">pan</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#reserveSpace-java.awt.Graphics2D-org.jfree.chart.plot.Plot-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.axis.AxisSpace-">reserveSpace</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#resizeRange-double-">resizeRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#resizeRange-double-double-">resizeRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#resizeRange2-double-double-">resizeRange2</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoRange-boolean-">setAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoRange-boolean-boolean-">setAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoRangeMinimumSize-double-">setAutoRangeMinimumSize</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoRangeMinimumSize-double-boolean-">setAutoRangeMinimumSize</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickIndex-int-">setAutoTickIndex</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickUnitSelection-boolean-">setAutoTickUnitSelection</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickUnitSelection-boolean-boolean-">setAutoTickUnitSelection</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setDefaultAutoRange-org.jfree.data.Range-">setDefaultAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setDownArrow-java.awt.Shape-">setDownArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setFixedAutoRange-double-">setFixedAutoRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setInverted-boolean-">setInverted</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setLeftArrow-java.awt.Shape-">setLeftArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setLowerBound-double-">setLowerBound</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setLowerMargin-double-">setLowerMargin</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setMinorTickCount-int-">setMinorTickCount</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setNegativeArrowVisible-boolean-">setNegativeArrowVisible</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setPositiveArrowVisible-boolean-">setPositiveArrowVisible</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-double-double-">setRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-org.jfree.data.Range-">setRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-org.jfree.data.Range-boolean-boolean-">setRange</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRangeAboutValue-double-double-">setRangeAboutValue</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRangeWithMargins-double-double-">setRangeWithMargins</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRangeWithMargins-org.jfree.data.Range-">setRangeWithMargins</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRangeWithMargins-org.jfree.data.Range-boolean-boolean-">setRangeWithMargins</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRightArrow-java.awt.Shape-">setRightArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-">setStandardTickUnits</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setUpArrow-java.awt.Shape-">setUpArrow</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setUpperBound-double-">setUpperBound</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setUpperMargin-double-">setUpperMargin</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setVerticalTickLabels-boolean-">setVerticalTickLabels</a>, <a href="../../../../org/jfree/chart/axis/ValueAxis.html#zoomRange-double-double-">zoomRange</a></code></li>
  503. </ul>
  504. <ul class="blockList">
  505. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.axis.Axis">
  506. <!-- -->
  507. </a>
  508. <h3>Methods inherited from class&nbsp;org.jfree.chart.axis.<a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</a></h3>
  509. <code><a href="../../../../org/jfree/chart/axis/Axis.html#addChangeListener-org.jfree.chart.event.AxisChangeListener-">addChangeListener</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#createAndAddEntity-double-org.jfree.chart.axis.AxisState-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.plot.PlotRenderingInfo-">createAndAddEntity</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#createAttributedLabel-java.lang.String-">createAttributedLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#drawAttributedLabel-java.text.AttributedString-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.axis.AxisState-">drawAttributedLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#drawLabel-java.lang.String-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.axis.AxisState-">drawLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#fireChangeEvent--">fireChangeEvent</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getAttributedLabel--">getAttributedLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getAxisLinePaint--">getAxisLinePaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getAxisLineStroke--">getAxisLineStroke</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getFixedDimension--">getFixedDimension</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabel--">getLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabelAngle--">getLabelAngle</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabelEnclosure-java.awt.Graphics2D-org.jfree.ui.RectangleEdge-">getLabelEnclosure</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabelFont--">getLabelFont</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabelInsets--">getLabelInsets</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabelLocation--">getLabelLocation</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getLabelPaint--">getLabelPaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getMinorTickMarkInsideLength--">getMinorTickMarkInsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getMinorTickMarkOutsideLength--">getMinorTickMarkOutsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getPlot--">getPlot</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickLabelFont--">getTickLabelFont</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickLabelInsets--">getTickLabelInsets</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickLabelPaint--">getTickLabelPaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickMarkInsideLength--">getTickMarkInsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickMarkOutsideLength--">getTickMarkOutsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickMarkPaint--">getTickMarkPaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#getTickMarkStroke--">getTickMarkStroke</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#hasListener-java.util.EventListener-">hasListener</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#isAxisLineVisible--">isAxisLineVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#isMinorTickMarksVisible--">isMinorTickMarksVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#isTickLabelsVisible--">isTickLabelsVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#isTickMarksVisible--">isTickMarksVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#isVisible--">isVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#labelAnchorH-org.jfree.chart.axis.AxisLabelLocation-">labelAnchorH</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#labelAnchorV-org.jfree.chart.axis.AxisLabelLocation-">labelAnchorV</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#labelLocationX-org.jfree.chart.axis.AxisLabelLocation-java.awt.geom.Rectangle2D-">labelLocationX</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#labelLocationY-org.jfree.chart.axis.AxisLabelLocation-java.awt.geom.Rectangle2D-">labelLocationY</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#notifyListeners-org.jfree.chart.event.AxisChangeEvent-">notifyListeners</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#removeChangeListener-org.jfree.chart.event.AxisChangeListener-">removeChangeListener</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setAttributedLabel-java.text.AttributedString-">setAttributedLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setAttributedLabel-java.lang.String-">setAttributedLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setAxisLinePaint-java.awt.Paint-">setAxisLinePaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setAxisLineStroke-java.awt.Stroke-">setAxisLineStroke</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setAxisLineVisible-boolean-">setAxisLineVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setFixedDimension-double-">setFixedDimension</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabel-java.lang.String-">setLabel</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabelAngle-double-">setLabelAngle</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabelFont-java.awt.Font-">setLabelFont</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabelInsets-org.jfree.ui.RectangleInsets-">setLabelInsets</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabelInsets-org.jfree.ui.RectangleInsets-boolean-">setLabelInsets</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabelLocation-org.jfree.chart.axis.AxisLabelLocation-">setLabelLocation</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setLabelPaint-java.awt.Paint-">setLabelPaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setMinorTickMarkInsideLength-float-">setMinorTickMarkInsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setMinorTickMarkOutsideLength-float-">setMinorTickMarkOutsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setMinorTickMarksVisible-boolean-">setMinorTickMarksVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setPlot-org.jfree.chart.plot.Plot-">setPlot</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickLabelFont-java.awt.Font-">setTickLabelFont</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickLabelInsets-org.jfree.ui.RectangleInsets-">setTickLabelInsets</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickLabelPaint-java.awt.Paint-">setTickLabelPaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickLabelsVisible-boolean-">setTickLabelsVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickMarkInsideLength-float-">setTickMarkInsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickMarkOutsideLength-float-">setTickMarkOutsideLength</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickMarkPaint-java.awt.Paint-">setTickMarkPaint</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickMarkStroke-java.awt.Stroke-">setTickMarkStroke</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setTickMarksVisible-boolean-">setTickMarksVisible</a>, <a href="../../../../org/jfree/chart/axis/Axis.html#setVisible-boolean-">setVisible</a></code></li>
  510. </ul>
  511. <ul class="blockList">
  512. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  513. <!-- -->
  514. </a>
  515. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  516. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  517. </ul>
  518. </li>
  519. </ul>
  520. </li>
  521. </ul>
  522. </div>
  523. <div class="details">
  524. <ul class="blockList">
  525. <li class="blockList">
  526. <!-- ============ FIELD DETAIL =========== -->
  527. <ul class="blockList">
  528. <li class="blockList"><a name="field.detail">
  529. <!-- -->
  530. </a>
  531. <h3>Field Detail</h3>
  532. <a name="DEFAULT_AUTO_RANGE_INCLUDES_ZERO">
  533. <!-- -->
  534. </a>
  535. <ul class="blockList">
  536. <li class="blockList">
  537. <h4>DEFAULT_AUTO_RANGE_INCLUDES_ZERO</h4>
  538. <pre>public static final&nbsp;boolean <a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.148">DEFAULT_AUTO_RANGE_INCLUDES_ZERO</a></pre>
  539. <div class="block">The default value for the autoRangeIncludesZero flag.</div>
  540. <dl>
  541. <dt><span class="seeLabel">See Also:</span></dt>
  542. <dd><a href="../../../../constant-values.html#org.jfree.chart.axis.NumberAxis.DEFAULT_AUTO_RANGE_INCLUDES_ZERO">Constant Field Values</a></dd>
  543. </dl>
  544. </li>
  545. </ul>
  546. <a name="DEFAULT_AUTO_RANGE_STICKY_ZERO">
  547. <!-- -->
  548. </a>
  549. <ul class="blockList">
  550. <li class="blockList">
  551. <h4>DEFAULT_AUTO_RANGE_STICKY_ZERO</h4>
  552. <pre>public static final&nbsp;boolean <a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.151">DEFAULT_AUTO_RANGE_STICKY_ZERO</a></pre>
  553. <div class="block">The default value for the autoRangeStickyZero flag.</div>
  554. <dl>
  555. <dt><span class="seeLabel">See Also:</span></dt>
  556. <dd><a href="../../../../constant-values.html#org.jfree.chart.axis.NumberAxis.DEFAULT_AUTO_RANGE_STICKY_ZERO">Constant Field Values</a></dd>
  557. </dl>
  558. </li>
  559. </ul>
  560. <a name="DEFAULT_TICK_UNIT">
  561. <!-- -->
  562. </a>
  563. <ul class="blockList">
  564. <li class="blockList">
  565. <h4>DEFAULT_TICK_UNIT</h4>
  566. <pre>public static final&nbsp;<a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a> <a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.154">DEFAULT_TICK_UNIT</a></pre>
  567. <div class="block">The default tick unit.</div>
  568. </li>
  569. </ul>
  570. <a name="DEFAULT_VERTICAL_TICK_LABELS">
  571. <!-- -->
  572. </a>
  573. <ul class="blockListLast">
  574. <li class="blockList">
  575. <h4>DEFAULT_VERTICAL_TICK_LABELS</h4>
  576. <pre>public static final&nbsp;boolean <a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.158">DEFAULT_VERTICAL_TICK_LABELS</a></pre>
  577. <div class="block">The default setting for the vertical tick labels flag.</div>
  578. <dl>
  579. <dt><span class="seeLabel">See Also:</span></dt>
  580. <dd><a href="../../../../constant-values.html#org.jfree.chart.axis.NumberAxis.DEFAULT_VERTICAL_TICK_LABELS">Constant Field Values</a></dd>
  581. </dl>
  582. </li>
  583. </ul>
  584. </li>
  585. </ul>
  586. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  587. <ul class="blockList">
  588. <li class="blockList"><a name="constructor.detail">
  589. <!-- -->
  590. </a>
  591. <h3>Constructor Detail</h3>
  592. <a name="NumberAxis--">
  593. <!-- -->
  594. </a>
  595. <ul class="blockList">
  596. <li class="blockList">
  597. <h4>NumberAxis</h4>
  598. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.192">NumberAxis</a>()</pre>
  599. <div class="block">Default constructor.</div>
  600. </li>
  601. </ul>
  602. <a name="NumberAxis-java.lang.String-">
  603. <!-- -->
  604. </a>
  605. <ul class="blockListLast">
  606. <li class="blockList">
  607. <h4>NumberAxis</h4>
  608. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.201">NumberAxis</a>(java.lang.String&nbsp;label)</pre>
  609. <div class="block">Constructs a number axis, using default values where necessary.</div>
  610. <dl>
  611. <dt><span class="paramLabel">Parameters:</span></dt>
  612. <dd><code>label</code> - the axis label (<code>null</code> permitted).</dd>
  613. </dl>
  614. </li>
  615. </ul>
  616. </li>
  617. </ul>
  618. <!-- ============ METHOD DETAIL ========== -->
  619. <ul class="blockList">
  620. <li class="blockList"><a name="method.detail">
  621. <!-- -->
  622. </a>
  623. <h3>Method Detail</h3>
  624. <a name="getRangeType--">
  625. <!-- -->
  626. </a>
  627. <ul class="blockList">
  628. <li class="blockList">
  629. <h4>getRangeType</h4>
  630. <pre>public&nbsp;<a href="../../../../org/jfree/data/RangeType.html" title="class in org.jfree.data">RangeType</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.218">getRangeType</a>()</pre>
  631. <div class="block">Returns the axis range type.</div>
  632. <dl>
  633. <dt><span class="returnLabel">Returns:</span></dt>
  634. <dd>The axis range type (never <code>null</code>).</dd>
  635. <dt><span class="seeLabel">See Also:</span></dt>
  636. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setRangeType-org.jfree.data.RangeType-"><code>setRangeType(RangeType)</code></a></dd>
  637. </dl>
  638. </li>
  639. </ul>
  640. <a name="setRangeType-org.jfree.data.RangeType-">
  641. <!-- -->
  642. </a>
  643. <ul class="blockList">
  644. <li class="blockList">
  645. <h4>setRangeType</h4>
  646. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.229">setRangeType</a>(<a href="../../../../org/jfree/data/RangeType.html" title="class in org.jfree.data">RangeType</a>&nbsp;rangeType)</pre>
  647. <div class="block">Sets the axis range type.</div>
  648. <dl>
  649. <dt><span class="paramLabel">Parameters:</span></dt>
  650. <dd><code>rangeType</code> - the range type (<code>null</code> not permitted).</dd>
  651. <dt><span class="seeLabel">See Also:</span></dt>
  652. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getRangeType--"><code>getRangeType()</code></a></dd>
  653. </dl>
  654. </li>
  655. </ul>
  656. <a name="getAutoRangeIncludesZero--">
  657. <!-- -->
  658. </a>
  659. <ul class="blockList">
  660. <li class="blockList">
  661. <h4>getAutoRangeIncludesZero</h4>
  662. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.241">getAutoRangeIncludesZero</a>()</pre>
  663. <div class="block">Returns the flag that indicates whether or not the automatic axis range
  664. (if indeed it is determined automatically) is forced to include zero.</div>
  665. <dl>
  666. <dt><span class="returnLabel">Returns:</span></dt>
  667. <dd>The flag.</dd>
  668. </dl>
  669. </li>
  670. </ul>
  671. <a name="setAutoRangeIncludesZero-boolean-">
  672. <!-- -->
  673. </a>
  674. <ul class="blockList">
  675. <li class="blockList">
  676. <h4>setAutoRangeIncludesZero</h4>
  677. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.258">setAutoRangeIncludesZero</a>(boolean&nbsp;flag)</pre>
  678. <div class="block">Sets the flag that indicates whether or not the axis range, if
  679. automatically calculated, is forced to include zero.
  680. <p>
  681. If the flag is changed to <code>true</code>, the axis range is
  682. recalculated.
  683. <p>
  684. Any change to the flag will trigger an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a>.</div>
  685. <dl>
  686. <dt><span class="paramLabel">Parameters:</span></dt>
  687. <dd><code>flag</code> - the new value of the flag.</dd>
  688. <dt><span class="seeLabel">See Also:</span></dt>
  689. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getAutoRangeIncludesZero--"><code>getAutoRangeIncludesZero()</code></a></dd>
  690. </dl>
  691. </li>
  692. </ul>
  693. <a name="getAutoRangeStickyZero--">
  694. <!-- -->
  695. </a>
  696. <ul class="blockList">
  697. <li class="blockList">
  698. <h4>getAutoRangeStickyZero</h4>
  699. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.276">getAutoRangeStickyZero</a>()</pre>
  700. <div class="block">Returns a flag that affects the auto-range when zero falls outside the
  701. data range but inside the margins defined for the axis.</div>
  702. <dl>
  703. <dt><span class="returnLabel">Returns:</span></dt>
  704. <dd>The flag.</dd>
  705. <dt><span class="seeLabel">See Also:</span></dt>
  706. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setAutoRangeStickyZero-boolean-"><code>setAutoRangeStickyZero(boolean)</code></a></dd>
  707. </dl>
  708. </li>
  709. </ul>
  710. <a name="setAutoRangeStickyZero-boolean-">
  711. <!-- -->
  712. </a>
  713. <ul class="blockList">
  714. <li class="blockList">
  715. <h4>setAutoRangeStickyZero</h4>
  716. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.288">setAutoRangeStickyZero</a>(boolean&nbsp;flag)</pre>
  717. <div class="block">Sets a flag that affects the auto-range when zero falls outside the data
  718. range but inside the margins defined for the axis.</div>
  719. <dl>
  720. <dt><span class="paramLabel">Parameters:</span></dt>
  721. <dd><code>flag</code> - the new flag.</dd>
  722. <dt><span class="seeLabel">See Also:</span></dt>
  723. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getAutoRangeStickyZero--"><code>getAutoRangeStickyZero()</code></a></dd>
  724. </dl>
  725. </li>
  726. </ul>
  727. <a name="getTickUnit--">
  728. <!-- -->
  729. </a>
  730. <ul class="blockList">
  731. <li class="blockList">
  732. <h4>getTickUnit</h4>
  733. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.311">getTickUnit</a>()</pre>
  734. <div class="block">Returns the tick unit for the axis.
  735. <p>
  736. Note: if the <code>autoTickUnitSelection</code> flag is
  737. <code>true</code> the tick unit may be changed while the axis is being
  738. drawn, so in that case the return value from this method may be
  739. irrelevant if the method is called before the axis has been drawn.</div>
  740. <dl>
  741. <dt><span class="returnLabel">Returns:</span></dt>
  742. <dd>The tick unit for the axis.</dd>
  743. <dt><span class="seeLabel">See Also:</span></dt>
  744. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setTickUnit-org.jfree.chart.axis.NumberTickUnit-"><code>setTickUnit(NumberTickUnit)</code></a>,
  745. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isAutoTickUnitSelection--"><code>ValueAxis.isAutoTickUnitSelection()</code></a></dd>
  746. </dl>
  747. </li>
  748. </ul>
  749. <a name="setTickUnit-org.jfree.chart.axis.NumberTickUnit-">
  750. <!-- -->
  751. </a>
  752. <ul class="blockList">
  753. <li class="blockList">
  754. <h4>setTickUnit</h4>
  755. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.327">setTickUnit</a>(<a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a>&nbsp;unit)</pre>
  756. <div class="block">Sets the tick unit for the axis and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to
  757. all registered listeners. A side effect of calling this method is that
  758. the "auto-select" feature for tick units is switched off (you can
  759. restore it using the <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickUnitSelection-boolean-"><code>ValueAxis.setAutoTickUnitSelection(boolean)</code></a>
  760. method).</div>
  761. <dl>
  762. <dt><span class="paramLabel">Parameters:</span></dt>
  763. <dd><code>unit</code> - the new tick unit (<code>null</code> not permitted).</dd>
  764. <dt><span class="seeLabel">See Also:</span></dt>
  765. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getTickUnit--"><code>getTickUnit()</code></a>,
  766. <a href="../../../../org/jfree/chart/axis/NumberAxis.html#setTickUnit-org.jfree.chart.axis.NumberTickUnit-boolean-boolean-"><code>setTickUnit(NumberTickUnit, boolean, boolean)</code></a></dd>
  767. </dl>
  768. </li>
  769. </ul>
  770. <a name="setTickUnit-org.jfree.chart.axis.NumberTickUnit-boolean-boolean-">
  771. <!-- -->
  772. </a>
  773. <ul class="blockList">
  774. <li class="blockList">
  775. <h4>setTickUnit</h4>
  776. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.343">setTickUnit</a>(<a href="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</a>&nbsp;unit,
  777. boolean&nbsp;notify,
  778. boolean&nbsp;turnOffAutoSelect)</pre>
  779. <div class="block">Sets the tick unit for the axis and, if requested, sends an
  780. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners. In addition, an
  781. option is provided to turn off the "auto-select" feature for tick units
  782. (you can restore it using the
  783. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickUnitSelection-boolean-"><code>ValueAxis.setAutoTickUnitSelection(boolean)</code></a> method).</div>
  784. <dl>
  785. <dt><span class="paramLabel">Parameters:</span></dt>
  786. <dd><code>unit</code> - the new tick unit (<code>null</code> not permitted).</dd>
  787. <dd><code>notify</code> - notify listeners?</dd>
  788. <dd><code>turnOffAutoSelect</code> - turn off the auto-tick selection?</dd>
  789. </dl>
  790. </li>
  791. </ul>
  792. <a name="getNumberFormatOverride--">
  793. <!-- -->
  794. </a>
  795. <ul class="blockList">
  796. <li class="blockList">
  797. <h4>getNumberFormatOverride</h4>
  798. <pre>public&nbsp;java.text.NumberFormat&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.365">getNumberFormatOverride</a>()</pre>
  799. <div class="block">Returns the number format override. If this is non-null, then it will
  800. be used to format the numbers on the axis.</div>
  801. <dl>
  802. <dt><span class="returnLabel">Returns:</span></dt>
  803. <dd>The number formatter (possibly <code>null</code>).</dd>
  804. <dt><span class="seeLabel">See Also:</span></dt>
  805. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setNumberFormatOverride-java.text.NumberFormat-"><code>setNumberFormatOverride(NumberFormat)</code></a></dd>
  806. </dl>
  807. </li>
  808. </ul>
  809. <a name="setNumberFormatOverride-java.text.NumberFormat-">
  810. <!-- -->
  811. </a>
  812. <ul class="blockList">
  813. <li class="blockList">
  814. <h4>setNumberFormatOverride</h4>
  815. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.377">setNumberFormatOverride</a>(java.text.NumberFormat&nbsp;formatter)</pre>
  816. <div class="block">Sets the number format override. If this is non-null, then it will be
  817. used to format the numbers on the axis.</div>
  818. <dl>
  819. <dt><span class="paramLabel">Parameters:</span></dt>
  820. <dd><code>formatter</code> - the number formatter (<code>null</code> permitted).</dd>
  821. <dt><span class="seeLabel">See Also:</span></dt>
  822. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getNumberFormatOverride--"><code>getNumberFormatOverride()</code></a></dd>
  823. </dl>
  824. </li>
  825. </ul>
  826. <a name="getMarkerBand--">
  827. <!-- -->
  828. </a>
  829. <ul class="blockList">
  830. <li class="blockList">
  831. <h4>getMarkerBand</h4>
  832. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis">MarkerAxisBand</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.389">getMarkerBand</a>()</pre>
  833. <div class="block">Returns the (optional) marker band for the axis.</div>
  834. <dl>
  835. <dt><span class="returnLabel">Returns:</span></dt>
  836. <dd>The marker band (possibly <code>null</code>).</dd>
  837. <dt><span class="seeLabel">See Also:</span></dt>
  838. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#setMarkerBand-org.jfree.chart.axis.MarkerAxisBand-"><code>setMarkerBand(MarkerAxisBand)</code></a></dd>
  839. </dl>
  840. </li>
  841. </ul>
  842. <a name="setMarkerBand-org.jfree.chart.axis.MarkerAxisBand-">
  843. <!-- -->
  844. </a>
  845. <ul class="blockList">
  846. <li class="blockList">
  847. <h4>setMarkerBand</h4>
  848. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.403">setMarkerBand</a>(<a href="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis">MarkerAxisBand</a>&nbsp;band)</pre>
  849. <div class="block">Sets the marker band for the axis.
  850. <P>
  851. The marker band is optional, leave it set to <code>null</code> if you
  852. don't require it.</div>
  853. <dl>
  854. <dt><span class="paramLabel">Parameters:</span></dt>
  855. <dd><code>band</code> - the new band (<code>null</code> permitted).</dd>
  856. <dt><span class="seeLabel">See Also:</span></dt>
  857. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#getMarkerBand--"><code>getMarkerBand()</code></a></dd>
  858. </dl>
  859. </li>
  860. </ul>
  861. <a name="configure--">
  862. <!-- -->
  863. </a>
  864. <ul class="blockList">
  865. <li class="blockList">
  866. <h4>configure</h4>
  867. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.413">configure</a>()</pre>
  868. <div class="block">Configures the axis to work with the specified plot. If the axis has
  869. auto-scaling, then sets the maximum and minimum values.</div>
  870. <dl>
  871. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  872. <dd><code><a href="../../../../org/jfree/chart/axis/Axis.html#configure--">configure</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</a></code></dd>
  873. </dl>
  874. </li>
  875. </ul>
  876. <a name="autoAdjustRange--">
  877. <!-- -->
  878. </a>
  879. <ul class="blockList">
  880. <li class="blockList">
  881. <h4>autoAdjustRange</h4>
  882. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.423">autoAdjustRange</a>()</pre>
  883. <div class="block">Rescales the axis to ensure that all data is visible.</div>
  884. <dl>
  885. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  886. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#autoAdjustRange--">autoAdjustRange</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></code></dd>
  887. </dl>
  888. </li>
  889. </ul>
  890. <a name="valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  891. <!-- -->
  892. </a>
  893. <ul class="blockList">
  894. <li class="blockList">
  895. <h4>valueToJava2D</h4>
  896. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.526">valueToJava2D</a>(double&nbsp;value,
  897. java.awt.geom.Rectangle2D&nbsp;area,
  898. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  899. <div class="block">Converts a data value to a coordinate in Java2D space, assuming that the
  900. axis runs along one edge of the specified dataArea.
  901. <p>
  902. Note that it is possible for the coordinate to fall outside the plotArea.</div>
  903. <dl>
  904. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  905. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">valueToJava2D</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></code></dd>
  906. <dt><span class="paramLabel">Parameters:</span></dt>
  907. <dd><code>value</code> - the data value.</dd>
  908. <dd><code>area</code> - the area for plotting the data.</dd>
  909. <dd><code>edge</code> - the axis location.</dd>
  910. <dt><span class="returnLabel">Returns:</span></dt>
  911. <dd>The Java2D coordinate.</dd>
  912. <dt><span class="seeLabel">See Also:</span></dt>
  913. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-"><code>java2DToValue(double, Rectangle2D, RectangleEdge)</code></a></dd>
  914. </dl>
  915. </li>
  916. </ul>
  917. <a name="java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  918. <!-- -->
  919. </a>
  920. <ul class="blockList">
  921. <li class="blockList">
  922. <h4>java2DToValue</h4>
  923. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.567">java2DToValue</a>(double&nbsp;java2DValue,
  924. java.awt.geom.Rectangle2D&nbsp;area,
  925. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  926. <div class="block">Converts a coordinate in Java2D space to the corresponding data value,
  927. assuming that the axis runs along one edge of the specified dataArea.</div>
  928. <dl>
  929. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  930. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">java2DToValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></code></dd>
  931. <dt><span class="paramLabel">Parameters:</span></dt>
  932. <dd><code>java2DValue</code> - the coordinate in Java2D space.</dd>
  933. <dd><code>area</code> - the area in which the data is plotted.</dd>
  934. <dd><code>edge</code> - the location.</dd>
  935. <dt><span class="returnLabel">Returns:</span></dt>
  936. <dd>The data value.</dd>
  937. <dt><span class="seeLabel">See Also:</span></dt>
  938. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-"><code>valueToJava2D(double, Rectangle2D, RectangleEdge)</code></a></dd>
  939. </dl>
  940. </li>
  941. </ul>
  942. <a name="calculateLowestVisibleTickValue--">
  943. <!-- -->
  944. </a>
  945. <ul class="blockList">
  946. <li class="blockList">
  947. <h4>calculateLowestVisibleTickValue</h4>
  948. <pre>protected&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.602">calculateLowestVisibleTickValue</a>()</pre>
  949. <div class="block">Calculates the value of the lowest visible tick on the axis.</div>
  950. <dl>
  951. <dt><span class="returnLabel">Returns:</span></dt>
  952. <dd>The value of the lowest visible tick on the axis.</dd>
  953. <dt><span class="seeLabel">See Also:</span></dt>
  954. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#calculateHighestVisibleTickValue--"><code>calculateHighestVisibleTickValue()</code></a></dd>
  955. </dl>
  956. </li>
  957. </ul>
  958. <a name="calculateHighestVisibleTickValue--">
  959. <!-- -->
  960. </a>
  961. <ul class="blockList">
  962. <li class="blockList">
  963. <h4>calculateHighestVisibleTickValue</h4>
  964. <pre>protected&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.615">calculateHighestVisibleTickValue</a>()</pre>
  965. <div class="block">Calculates the value of the highest visible tick on the axis.</div>
  966. <dl>
  967. <dt><span class="returnLabel">Returns:</span></dt>
  968. <dd>The value of the highest visible tick on the axis.</dd>
  969. <dt><span class="seeLabel">See Also:</span></dt>
  970. <dd><a href="../../../../org/jfree/chart/axis/NumberAxis.html#calculateLowestVisibleTickValue--"><code>calculateLowestVisibleTickValue()</code></a></dd>
  971. </dl>
  972. </li>
  973. </ul>
  974. <a name="calculateVisibleTickCount--">
  975. <!-- -->
  976. </a>
  977. <ul class="blockList">
  978. <li class="blockList">
  979. <h4>calculateVisibleTickCount</h4>
  980. <pre>protected&nbsp;int&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.626">calculateVisibleTickCount</a>()</pre>
  981. <div class="block">Calculates the number of visible ticks.</div>
  982. <dl>
  983. <dt><span class="returnLabel">Returns:</span></dt>
  984. <dd>The number of visible ticks on the axis.</dd>
  985. </dl>
  986. </li>
  987. </ul>
  988. <a name="draw-java.awt.Graphics2D-double-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.plot.PlotRenderingInfo-">
  989. <!-- -->
  990. </a>
  991. <ul class="blockList">
  992. <li class="blockList">
  993. <h4>draw</h4>
  994. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.650">draw</a>(java.awt.Graphics2D&nbsp;g2,
  995. double&nbsp;cursor,
  996. java.awt.geom.Rectangle2D&nbsp;plotArea,
  997. java.awt.geom.Rectangle2D&nbsp;dataArea,
  998. org.jfree.ui.RectangleEdge&nbsp;edge,
  999. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;plotState)</pre>
  1000. <div class="block">Draws the axis on a Java 2D graphics device (such as the screen or a
  1001. printer).</div>
  1002. <dl>
  1003. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1004. <dd><code><a href="../../../../org/jfree/chart/axis/Axis.html#draw-java.awt.Graphics2D-double-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.plot.PlotRenderingInfo-">draw</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</a></code></dd>
  1005. <dt><span class="paramLabel">Parameters:</span></dt>
  1006. <dd><code>g2</code> - the graphics device (<code>null</code> not permitted).</dd>
  1007. <dd><code>cursor</code> - the cursor location.</dd>
  1008. <dd><code>plotArea</code> - the area within which the axes and data should be drawn
  1009. (<code>null</code> not permitted).</dd>
  1010. <dd><code>dataArea</code> - the area within which the data should be drawn
  1011. (<code>null</code> not permitted).</dd>
  1012. <dd><code>edge</code> - the location of the axis (<code>null</code> not permitted).</dd>
  1013. <dd><code>plotState</code> - collects information about the plot
  1014. (<code>null</code> permitted).</dd>
  1015. <dt><span class="returnLabel">Returns:</span></dt>
  1016. <dd>The axis state (never <code>null</code>).</dd>
  1017. </dl>
  1018. </li>
  1019. </ul>
  1020. <a name="createStandardTickUnits--">
  1021. <!-- -->
  1022. </a>
  1023. <ul class="blockList">
  1024. <li class="blockList">
  1025. <h4>createStandardTickUnits</h4>
  1026. <pre>public static&nbsp;<a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.692">createStandardTickUnits</a>()</pre>
  1027. <div class="block">Creates the standard tick units.
  1028. <P>
  1029. If you don't like these defaults, create your own instance of TickUnits
  1030. and then pass it to the setStandardTickUnits() method in the
  1031. NumberAxis class.</div>
  1032. <dl>
  1033. <dt><span class="returnLabel">Returns:</span></dt>
  1034. <dd>The standard tick units.</dd>
  1035. <dt><span class="seeLabel">See Also:</span></dt>
  1036. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a>,
  1037. <a href="../../../../org/jfree/chart/axis/NumberAxis.html#createIntegerTickUnits--"><code>createIntegerTickUnits()</code></a></dd>
  1038. </dl>
  1039. </li>
  1040. </ul>
  1041. <a name="createIntegerTickUnits--">
  1042. <!-- -->
  1043. </a>
  1044. <ul class="blockList">
  1045. <li class="blockList">
  1046. <h4>createIntegerTickUnits</h4>
  1047. <pre>public static&nbsp;<a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.704">createIntegerTickUnits</a>()</pre>
  1048. <div class="block">Returns a collection of tick units for integer values.</div>
  1049. <dl>
  1050. <dt><span class="returnLabel">Returns:</span></dt>
  1051. <dd>A collection of tick units for integer values.</dd>
  1052. <dt><span class="seeLabel">See Also:</span></dt>
  1053. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a>,
  1054. <a href="../../../../org/jfree/chart/axis/NumberAxis.html#createStandardTickUnits--"><code>createStandardTickUnits()</code></a></dd>
  1055. </dl>
  1056. </li>
  1057. </ul>
  1058. <a name="createStandardTickUnits-java.util.Locale-">
  1059. <!-- -->
  1060. </a>
  1061. <ul class="blockList">
  1062. <li class="blockList">
  1063. <h4>createStandardTickUnits</h4>
  1064. <pre>public static&nbsp;<a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.723">createStandardTickUnits</a>(java.util.Locale&nbsp;locale)</pre>
  1065. <div class="block">Creates a collection of standard tick units. The supplied locale is
  1066. used to create the number formatter (a localised instance of
  1067. <code>NumberFormat</code>).
  1068. <P>
  1069. If you don't like these defaults, create your own instance of
  1070. <a href="../../../../org/jfree/chart/axis/TickUnits.html" title="class in org.jfree.chart.axis"><code>TickUnits</code></a> and then pass it to the
  1071. <code>setStandardTickUnits()</code> method.</div>
  1072. <dl>
  1073. <dt><span class="paramLabel">Parameters:</span></dt>
  1074. <dd><code>locale</code> - the locale.</dd>
  1075. <dt><span class="returnLabel">Returns:</span></dt>
  1076. <dd>A tick unit collection.</dd>
  1077. <dt><span class="seeLabel">See Also:</span></dt>
  1078. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a></dd>
  1079. </dl>
  1080. </li>
  1081. </ul>
  1082. <a name="createIntegerTickUnits-java.util.Locale-">
  1083. <!-- -->
  1084. </a>
  1085. <ul class="blockList">
  1086. <li class="blockList">
  1087. <h4>createIntegerTickUnits</h4>
  1088. <pre>public static&nbsp;<a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.738">createIntegerTickUnits</a>(java.util.Locale&nbsp;locale)</pre>
  1089. <div class="block">Returns a collection of tick units for integer values.
  1090. Uses a given Locale to create the DecimalFormats.</div>
  1091. <dl>
  1092. <dt><span class="paramLabel">Parameters:</span></dt>
  1093. <dd><code>locale</code> - the locale to use to represent Numbers.</dd>
  1094. <dt><span class="returnLabel">Returns:</span></dt>
  1095. <dd>A collection of tick units for integer values.</dd>
  1096. <dt><span class="seeLabel">See Also:</span></dt>
  1097. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a></dd>
  1098. </dl>
  1099. </li>
  1100. </ul>
  1101. <a name="estimateMaximumTickLabelHeight-java.awt.Graphics2D-">
  1102. <!-- -->
  1103. </a>
  1104. <ul class="blockList">
  1105. <li class="blockList">
  1106. <h4>estimateMaximumTickLabelHeight</h4>
  1107. <pre>protected&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.750">estimateMaximumTickLabelHeight</a>(java.awt.Graphics2D&nbsp;g2)</pre>
  1108. <div class="block">Estimates the maximum tick label height.</div>
  1109. <dl>
  1110. <dt><span class="paramLabel">Parameters:</span></dt>
  1111. <dd><code>g2</code> - the graphics device.</dd>
  1112. <dt><span class="returnLabel">Returns:</span></dt>
  1113. <dd>The maximum height.</dd>
  1114. </dl>
  1115. </li>
  1116. </ul>
  1117. <a name="estimateMaximumTickLabelWidth-java.awt.Graphics2D-org.jfree.chart.axis.TickUnit-">
  1118. <!-- -->
  1119. </a>
  1120. <ul class="blockList">
  1121. <li class="blockList">
  1122. <h4>estimateMaximumTickLabelWidth</h4>
  1123. <pre>protected&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.773">estimateMaximumTickLabelWidth</a>(java.awt.Graphics2D&nbsp;g2,
  1124. <a href="../../../../org/jfree/chart/axis/TickUnit.html" title="class in org.jfree.chart.axis">TickUnit</a>&nbsp;unit)</pre>
  1125. <div class="block">Estimates the maximum width of the tick labels, assuming the specified
  1126. tick unit is used.
  1127. <P>
  1128. Rather than computing the string bounds of every tick on the axis, we
  1129. just look at two values: the lower bound and the upper bound for the
  1130. axis. These two values will usually be representative.</div>
  1131. <dl>
  1132. <dt><span class="paramLabel">Parameters:</span></dt>
  1133. <dd><code>g2</code> - the graphics device.</dd>
  1134. <dd><code>unit</code> - the tick unit to use for calculation.</dd>
  1135. <dt><span class="returnLabel">Returns:</span></dt>
  1136. <dd>The estimated maximum width of the tick labels.</dd>
  1137. </dl>
  1138. </li>
  1139. </ul>
  1140. <a name="selectAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1141. <!-- -->
  1142. </a>
  1143. <ul class="blockList">
  1144. <li class="blockList">
  1145. <h4>selectAutoTickUnit</h4>
  1146. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.820">selectAutoTickUnit</a>(java.awt.Graphics2D&nbsp;g2,
  1147. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1148. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1149. <div class="block">Selects an appropriate tick value for the axis. The strategy is to
  1150. display as many ticks as possible (selected from an array of 'standard'
  1151. tick units) without the labels overlapping.</div>
  1152. <dl>
  1153. <dt><span class="paramLabel">Parameters:</span></dt>
  1154. <dd><code>g2</code> - the graphics device.</dd>
  1155. <dd><code>dataArea</code> - the area defined by the axes.</dd>
  1156. <dd><code>edge</code> - the axis location.</dd>
  1157. </dl>
  1158. </li>
  1159. </ul>
  1160. <a name="selectHorizontalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1161. <!-- -->
  1162. </a>
  1163. <ul class="blockList">
  1164. <li class="blockList">
  1165. <h4>selectHorizontalAutoTickUnit</h4>
  1166. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.841">selectHorizontalAutoTickUnit</a>(java.awt.Graphics2D&nbsp;g2,
  1167. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1168. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1169. <div class="block">Selects an appropriate tick value for the axis. The strategy is to
  1170. display as many ticks as possible (selected from an array of 'standard'
  1171. tick units) without the labels overlapping.</div>
  1172. <dl>
  1173. <dt><span class="paramLabel">Parameters:</span></dt>
  1174. <dd><code>g2</code> - the graphics device.</dd>
  1175. <dd><code>dataArea</code> - the area defined by the axes.</dd>
  1176. <dd><code>edge</code> - the axis location.</dd>
  1177. </dl>
  1178. </li>
  1179. </ul>
  1180. <a name="selectVerticalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1181. <!-- -->
  1182. </a>
  1183. <ul class="blockList">
  1184. <li class="blockList">
  1185. <h4>selectVerticalAutoTickUnit</h4>
  1186. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.877">selectVerticalAutoTickUnit</a>(java.awt.Graphics2D&nbsp;g2,
  1187. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1188. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1189. <div class="block">Selects an appropriate tick value for the axis. The strategy is to
  1190. display as many ticks as possible (selected from an array of 'standard'
  1191. tick units) without the labels overlapping.</div>
  1192. <dl>
  1193. <dt><span class="paramLabel">Parameters:</span></dt>
  1194. <dd><code>g2</code> - the graphics device.</dd>
  1195. <dd><code>dataArea</code> - the area in which the plot should be drawn.</dd>
  1196. <dd><code>edge</code> - the axis location.</dd>
  1197. </dl>
  1198. </li>
  1199. </ul>
  1200. <a name="refreshTicks-java.awt.Graphics2D-org.jfree.chart.axis.AxisState-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1201. <!-- -->
  1202. </a>
  1203. <ul class="blockList">
  1204. <li class="blockList">
  1205. <h4>refreshTicks</h4>
  1206. <pre>public&nbsp;java.util.List&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.916">refreshTicks</a>(java.awt.Graphics2D&nbsp;g2,
  1207. <a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a>&nbsp;state,
  1208. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1209. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1210. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  1211. results in the tick label list (ready for drawing).</div>
  1212. <dl>
  1213. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1214. <dd><code><a href="../../../../org/jfree/chart/axis/Axis.html#refreshTicks-java.awt.Graphics2D-org.jfree.chart.axis.AxisState-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">refreshTicks</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</a></code></dd>
  1215. <dt><span class="paramLabel">Parameters:</span></dt>
  1216. <dd><code>g2</code> - the graphics device.</dd>
  1217. <dd><code>state</code> - the axis state.</dd>
  1218. <dd><code>dataArea</code> - the area in which the plot should be drawn.</dd>
  1219. <dd><code>edge</code> - the location of the axis.</dd>
  1220. <dt><span class="returnLabel">Returns:</span></dt>
  1221. <dd>A list of ticks.</dd>
  1222. </dl>
  1223. </li>
  1224. </ul>
  1225. <a name="refreshTicksHorizontal-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1226. <!-- -->
  1227. </a>
  1228. <ul class="blockList">
  1229. <li class="blockList">
  1230. <h4>refreshTicksHorizontal</h4>
  1231. <pre>protected&nbsp;java.util.List&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.940">refreshTicksHorizontal</a>(java.awt.Graphics2D&nbsp;g2,
  1232. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1233. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1234. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  1235. results in the tick label list (ready for drawing).</div>
  1236. <dl>
  1237. <dt><span class="paramLabel">Parameters:</span></dt>
  1238. <dd><code>g2</code> - the graphics device.</dd>
  1239. <dd><code>dataArea</code> - the area in which the data should be drawn.</dd>
  1240. <dd><code>edge</code> - the location of the axis.</dd>
  1241. <dt><span class="returnLabel">Returns:</span></dt>
  1242. <dd>A list of ticks.</dd>
  1243. </dl>
  1244. </li>
  1245. </ul>
  1246. <a name="refreshTicksVertical-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1247. <!-- -->
  1248. </a>
  1249. <ul class="blockList">
  1250. <li class="blockList">
  1251. <h4>refreshTicksVertical</h4>
  1252. <pre>protected&nbsp;java.util.List&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.1035">refreshTicksVertical</a>(java.awt.Graphics2D&nbsp;g2,
  1253. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1254. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1255. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  1256. results in the tick label list (ready for drawing).</div>
  1257. <dl>
  1258. <dt><span class="paramLabel">Parameters:</span></dt>
  1259. <dd><code>g2</code> - the graphics device.</dd>
  1260. <dd><code>dataArea</code> - the area in which the plot should be drawn.</dd>
  1261. <dd><code>edge</code> - the location of the axis.</dd>
  1262. <dt><span class="returnLabel">Returns:</span></dt>
  1263. <dd>A list of ticks.</dd>
  1264. </dl>
  1265. </li>
  1266. </ul>
  1267. <a name="clone--">
  1268. <!-- -->
  1269. </a>
  1270. <ul class="blockList">
  1271. <li class="blockList">
  1272. <h4>clone</h4>
  1273. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.1135">clone</a>()
  1274. throws java.lang.CloneNotSupportedException</pre>
  1275. <div class="block">Returns a clone of the axis.</div>
  1276. <dl>
  1277. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1278. <dd><code>clone</code>&nbsp;in interface&nbsp;<code>org.jfree.util.PublicCloneable</code></dd>
  1279. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1280. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></code></dd>
  1281. <dt><span class="returnLabel">Returns:</span></dt>
  1282. <dd>A clone</dd>
  1283. <dt><span class="throwsLabel">Throws:</span></dt>
  1284. <dd><code>java.lang.CloneNotSupportedException</code> - if some component of the axis does
  1285. not support cloning.</dd>
  1286. </dl>
  1287. </li>
  1288. </ul>
  1289. <a name="equals-java.lang.Object-">
  1290. <!-- -->
  1291. </a>
  1292. <ul class="blockList">
  1293. <li class="blockList">
  1294. <h4>equals</h4>
  1295. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.1152">equals</a>(java.lang.Object&nbsp;obj)</pre>
  1296. <div class="block">Tests the axis for equality with an arbitrary object.</div>
  1297. <dl>
  1298. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1299. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></code></dd>
  1300. <dt><span class="paramLabel">Parameters:</span></dt>
  1301. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  1302. <dt><span class="returnLabel">Returns:</span></dt>
  1303. <dd>A boolean.</dd>
  1304. </dl>
  1305. </li>
  1306. </ul>
  1307. <a name="hashCode--">
  1308. <!-- -->
  1309. </a>
  1310. <ul class="blockListLast">
  1311. <li class="blockList">
  1312. <h4>hashCode</h4>
  1313. <pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/NumberAxis.html#line.1185">hashCode</a>()</pre>
  1314. <div class="block">Returns a hash code for this object.</div>
  1315. <dl>
  1316. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1317. <dd><code><a href="../../../../org/jfree/chart/axis/Axis.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</a></code></dd>
  1318. <dt><span class="returnLabel">Returns:</span></dt>
  1319. <dd>A hash code.</dd>
  1320. </dl>
  1321. </li>
  1322. </ul>
  1323. </li>
  1324. </ul>
  1325. </li>
  1326. </ul>
  1327. </div>
  1328. </div>
  1329. <!-- ========= END OF CLASS DATA ========= -->
  1330. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1331. <div class="bottomNav"><a name="navbar.bottom">
  1332. <!-- -->
  1333. </a>
  1334. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  1335. <a name="navbar.bottom.firstrow">
  1336. <!-- -->
  1337. </a>
  1338. <ul class="navList" title="Navigation">
  1339. <li><a href="../../../../overview-summary.html">Overview</a></li>
  1340. <li><a href="package-summary.html">Package</a></li>
  1341. <li class="navBarCell1Rev">Class</li>
  1342. <li><a href="class-use/NumberAxis.html">Use</a></li>
  1343. <li><a href="package-tree.html">Tree</a></li>
  1344. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  1345. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  1346. <li><a href="../../../../help-doc.html">Help</a></li>
  1347. </ul>
  1348. </div>
  1349. <div class="subNav">
  1350. <ul class="navList">
  1351. <li><a href="../../../../org/jfree/chart/axis/MonthDateFormat.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  1352. <li><a href="../../../../org/jfree/chart/axis/NumberAxis3D.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  1353. </ul>
  1354. <ul class="navList">
  1355. <li><a href="../../../../index.html?org/jfree/chart/axis/NumberAxis.html" target="_top">Frames</a></li>
  1356. <li><a href="NumberAxis.html" target="_top">No&nbsp;Frames</a></li>
  1357. </ul>
  1358. <ul class="navList" id="allclasses_navbar_bottom">
  1359. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  1360. </ul>
  1361. <div>
  1362. <script type="text/javascript"><!--
  1363. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1364. if(window==top) {
  1365. allClassesLink.style.display = "block";
  1366. }
  1367. else {
  1368. allClassesLink.style.display = "none";
  1369. }
  1370. //-->
  1371. </script>
  1372. </div>
  1373. <div>
  1374. <ul class="subNavList">
  1375. <li>Summary:&nbsp;</li>
  1376. <li>Nested&nbsp;|&nbsp;</li>
  1377. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  1378. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  1379. <li><a href="#method.summary">Method</a></li>
  1380. </ul>
  1381. <ul class="subNavList">
  1382. <li>Detail:&nbsp;</li>
  1383. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  1384. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  1385. <li><a href="#method.detail">Method</a></li>
  1386. </ul>
  1387. </div>
  1388. <a name="skip.navbar.bottom">
  1389. <!-- -->
  1390. </a></div>
  1391. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1392. </body>
  1393. </html>