DateAxis.html 104 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692
  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:27 CEST 2014 -->
  6. <title>DateAxis (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="DateAxis (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":9,"i6":41,"i7":9,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/DateAxis.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/CyclicNumberAxis.CycleBoundTick.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/DateTick.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/DateAxis.html" target="_top">Frames</a></li>
  57. <li><a href="DateAxis.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 DateAxis" class="title">Class DateAxis</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.DateAxis</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. <hr>
  125. <br>
  126. <pre>public class <a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.183">DateAxis</a>
  127. extends <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>
  128. implements java.lang.Cloneable, java.io.Serializable</pre>
  129. <div class="block">The base class for axes that display dates. You will find it easier to
  130. understand how this axis works if you bear in mind that it really
  131. displays/measures integer (or long) data, where the integers are
  132. milliseconds since midnight, 1-Jan-1970. When displaying tick labels, the
  133. millisecond values are converted back to dates using a
  134. <code>DateFormat</code> instance.
  135. <P>
  136. You can also create a <a href="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis"><code>Timeline</code></a> and supply in
  137. the constructor to create an axis that only contains certain domain values.
  138. For example, this allows you to create a date axis that only contains
  139. working days.</div>
  140. <dl>
  141. <dt><span class="seeLabel">See Also:</span></dt>
  142. <dd><a href="../../../../serialized-form.html#org.jfree.chart.axis.DateAxis">Serialized Form</a></dd>
  143. </dl>
  144. </li>
  145. </ul>
  146. </div>
  147. <div class="summary">
  148. <ul class="blockList">
  149. <li class="blockList">
  150. <!-- =========== FIELD SUMMARY =========== -->
  151. <ul class="blockList">
  152. <li class="blockList"><a name="field.summary">
  153. <!-- -->
  154. </a>
  155. <h3>Field Summary</h3>
  156. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  157. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  158. <tr>
  159. <th class="colFirst" scope="col">Modifier and Type</th>
  160. <th class="colLast" scope="col">Field and Description</th>
  161. </tr>
  162. <tr class="altColor">
  163. <td class="colFirst"><code>static java.util.Date</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DEFAULT_ANCHOR_DATE">DEFAULT_ANCHOR_DATE</a></span></code>
  165. <div class="block">The default anchor date.</div>
  166. </td>
  167. </tr>
  168. <tr class="rowColor">
  169. <td class="colFirst"><code>static double</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS">DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS</a></span></code>
  171. <div class="block">The default minimum auto range size.</div>
  172. </td>
  173. </tr>
  174. <tr class="altColor">
  175. <td class="colFirst"><code>static <a href="../../../../org/jfree/data/time/DateRange.html" title="class in org.jfree.data.time">DateRange</a></code></td>
  176. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DEFAULT_DATE_RANGE">DEFAULT_DATE_RANGE</a></span></code>
  177. <div class="block">The default axis range.</div>
  178. </td>
  179. </tr>
  180. <tr class="rowColor">
  181. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a></code></td>
  182. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DEFAULT_DATE_TICK_UNIT">DEFAULT_DATE_TICK_UNIT</a></span></code>
  183. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  184. <div class="block"><span class="deprecationComment">As pointed out in bug #977, the SimpleDateFormat in this
  185. object uses Calendar which is not thread safe...so you should
  186. avoid reusing this instance and create a new instance as required.</span></div>
  187. </div>
  188. </td>
  189. </tr>
  190. </table>
  191. <ul class="blockList">
  192. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.axis.ValueAxis">
  193. <!-- -->
  194. </a>
  195. <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>
  196. <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>
  197. </ul>
  198. <ul class="blockList">
  199. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.axis.Axis">
  200. <!-- -->
  201. </a>
  202. <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>
  203. <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>
  204. </ul>
  205. </li>
  206. </ul>
  207. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  208. <ul class="blockList">
  209. <li class="blockList"><a name="constructor.summary">
  210. <!-- -->
  211. </a>
  212. <h3>Constructor Summary</h3>
  213. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  214. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  215. <tr>
  216. <th class="colOne" scope="col">Constructor and Description</th>
  217. </tr>
  218. <tr class="altColor">
  219. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DateAxis--">DateAxis</a></span>()</code>
  220. <div class="block">Creates a date axis with no label.</div>
  221. </td>
  222. </tr>
  223. <tr class="rowColor">
  224. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DateAxis-java.lang.String-">DateAxis</a></span>(java.lang.String&nbsp;label)</code>
  225. <div class="block">Creates a date axis with the specified label.</div>
  226. </td>
  227. </tr>
  228. <tr class="altColor">
  229. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DateAxis-java.lang.String-java.util.TimeZone-">DateAxis</a></span>(java.lang.String&nbsp;label,
  230. java.util.TimeZone&nbsp;zone)</code>
  231. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  232. <div class="block"><span class="deprecationComment">From 1.0.11 onwards, use <a href="../../../../org/jfree/chart/axis/DateAxis.html#DateAxis-java.lang.String-java.util.TimeZone-java.util.Locale-"><code>DateAxis(String, TimeZone,
  233. Locale)</code></a> instead, to explicitly set the locale.</span></div>
  234. </div>
  235. </td>
  236. </tr>
  237. <tr class="rowColor">
  238. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#DateAxis-java.lang.String-java.util.TimeZone-java.util.Locale-">DateAxis</a></span>(java.lang.String&nbsp;label,
  239. java.util.TimeZone&nbsp;zone,
  240. java.util.Locale&nbsp;locale)</code>
  241. <div class="block">Creates a date axis.</div>
  242. </td>
  243. </tr>
  244. </table>
  245. </li>
  246. </ul>
  247. <!-- ========== METHOD SUMMARY =========== -->
  248. <ul class="blockList">
  249. <li class="blockList"><a name="method.summary">
  250. <!-- -->
  251. </a>
  252. <h3>Method Summary</h3>
  253. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  254. <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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  255. <tr>
  256. <th class="colFirst" scope="col">Modifier and Type</th>
  257. <th class="colLast" scope="col">Method and Description</th>
  258. </tr>
  259. <tr id="i0" class="altColor">
  260. <td class="colFirst"><code>protected void</code></td>
  261. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#autoAdjustRange--">autoAdjustRange</a></span>()</code>
  262. <div class="block">Rescales the axis to ensure that all data is visible.</div>
  263. </td>
  264. </tr>
  265. <tr id="i1" class="rowColor">
  266. <td class="colFirst"><code>java.util.Date</code></td>
  267. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#calculateHighestVisibleTickValue-org.jfree.chart.axis.DateTickUnit-">calculateHighestVisibleTickValue</a></span>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</code>
  268. <div class="block">Calculates the value of the highest visible tick on the axis.</div>
  269. </td>
  270. </tr>
  271. <tr id="i2" class="altColor">
  272. <td class="colFirst"><code>java.util.Date</code></td>
  273. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#calculateLowestVisibleTickValue-org.jfree.chart.axis.DateTickUnit-">calculateLowestVisibleTickValue</a></span>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</code>
  274. <div class="block">Calculates the value of the lowest visible tick on the axis.</div>
  275. </td>
  276. </tr>
  277. <tr id="i3" class="rowColor">
  278. <td class="colFirst"><code>java.lang.Object</code></td>
  279. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#clone--">clone</a></span>()</code>
  280. <div class="block">Returns a clone of the object.</div>
  281. </td>
  282. </tr>
  283. <tr id="i4" class="altColor">
  284. <td class="colFirst"><code>void</code></td>
  285. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#configure--">configure</a></span>()</code>
  286. <div class="block">Configures the axis to work with the specified plot.</div>
  287. </td>
  288. </tr>
  289. <tr id="i5" class="rowColor">
  290. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a></code></td>
  291. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#createStandardDateTickUnits--">createStandardDateTickUnits</a></span>()</code>
  292. <div class="block">Returns a collection of standard date tick units that uses the default
  293. time zone.</div>
  294. </td>
  295. </tr>
  296. <tr id="i6" class="altColor">
  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/DateAxis.html#createStandardDateTickUnits-java.util.TimeZone-">createStandardDateTickUnits</a></span>(java.util.TimeZone&nbsp;zone)</code>
  299. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  300. <div class="block"><span class="deprecationComment">Since 1.0.11, use <a href="../../../../org/jfree/chart/axis/DateAxis.html#createStandardDateTickUnits-java.util.TimeZone-java.util.Locale-"><code>createStandardDateTickUnits(
  301. TimeZone, Locale)</code></a> to explicitly set the locale as well as the
  302. time zone.</span></div>
  303. </div>
  304. </td>
  305. </tr>
  306. <tr id="i7" class="rowColor">
  307. <td class="colFirst"><code>static <a href="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</a></code></td>
  308. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#createStandardDateTickUnits-java.util.TimeZone-java.util.Locale-">createStandardDateTickUnits</a></span>(java.util.TimeZone&nbsp;zone,
  309. java.util.Locale&nbsp;locale)</code>
  310. <div class="block">Returns a collection of standard date tick units.</div>
  311. </td>
  312. </tr>
  313. <tr id="i8" class="altColor">
  314. <td class="colFirst"><code>double</code></td>
  315. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#dateToJava2D-java.util.Date-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">dateToJava2D</a></span>(java.util.Date&nbsp;date,
  316. java.awt.geom.Rectangle2D&nbsp;area,
  317. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  318. <div class="block">Translates a date to Java2D coordinates, based on the range displayed by
  319. this axis for the specified data area.</div>
  320. </td>
  321. </tr>
  322. <tr id="i9" class="rowColor">
  323. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a></code></td>
  324. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.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,
  325. double&nbsp;cursor,
  326. java.awt.geom.Rectangle2D&nbsp;plotArea,
  327. java.awt.geom.Rectangle2D&nbsp;dataArea,
  328. org.jfree.ui.RectangleEdge&nbsp;edge,
  329. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;plotState)</code>
  330. <div class="block">Draws the axis on a Java 2D graphics device (such as the screen or a
  331. printer).</div>
  332. </td>
  333. </tr>
  334. <tr id="i10" class="altColor">
  335. <td class="colFirst"><code>boolean</code></td>
  336. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  337. <div class="block">Tests this axis for equality with an arbitrary object.</div>
  338. </td>
  339. </tr>
  340. <tr id="i11" class="rowColor">
  341. <td class="colFirst"><code>java.text.DateFormat</code></td>
  342. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getDateFormatOverride--">getDateFormatOverride</a></span>()</code>
  343. <div class="block">Returns the date format override.</div>
  344. </td>
  345. </tr>
  346. <tr id="i12" class="altColor">
  347. <td class="colFirst"><code>java.util.Locale</code></td>
  348. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getLocale--">getLocale</a></span>()</code>
  349. <div class="block">Returns the locale for this axis.</div>
  350. </td>
  351. </tr>
  352. <tr id="i13" class="rowColor">
  353. <td class="colFirst"><code>java.util.Date</code></td>
  354. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getMaximumDate--">getMaximumDate</a></span>()</code>
  355. <div class="block">Returns the latest date visible on the axis.</div>
  356. </td>
  357. </tr>
  358. <tr id="i14" class="altColor">
  359. <td class="colFirst"><code>java.util.Date</code></td>
  360. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getMinimumDate--">getMinimumDate</a></span>()</code>
  361. <div class="block">Returns the earliest date visible on the axis.</div>
  362. </td>
  363. </tr>
  364. <tr id="i15" class="rowColor">
  365. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/DateTickMarkPosition.html" title="class in org.jfree.chart.axis">DateTickMarkPosition</a></code></td>
  366. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTickMarkPosition--">getTickMarkPosition</a></span>()</code>
  367. <div class="block">Returns the tick mark position (start, middle or end of the time period).</div>
  368. </td>
  369. </tr>
  370. <tr id="i16" class="altColor">
  371. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a></code></td>
  372. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTickUnit--">getTickUnit</a></span>()</code>
  373. <div class="block">Returns the tick unit for the axis.</div>
  374. </td>
  375. </tr>
  376. <tr id="i17" class="rowColor">
  377. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</a></code></td>
  378. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTimeline--">getTimeline</a></span>()</code>
  379. <div class="block">Returns the underlying timeline used by this axis.</div>
  380. </td>
  381. </tr>
  382. <tr id="i18" class="altColor">
  383. <td class="colFirst"><code>java.util.TimeZone</code></td>
  384. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTimeZone--">getTimeZone</a></span>()</code>
  385. <div class="block">Returns the time zone for the axis.</div>
  386. </td>
  387. </tr>
  388. <tr id="i19" class="rowColor">
  389. <td class="colFirst"><code>int</code></td>
  390. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#hashCode--">hashCode</a></span>()</code>
  391. <div class="block">Returns a hash code for this object.</div>
  392. </td>
  393. </tr>
  394. <tr id="i20" class="altColor">
  395. <td class="colFirst"><code>boolean</code></td>
  396. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#isHiddenValue-long-">isHiddenValue</a></span>(long&nbsp;millis)</code>
  397. <div class="block">Returns <code>true</code> if the axis hides this value, and
  398. <code>false</code> otherwise.</div>
  399. </td>
  400. </tr>
  401. <tr id="i21" class="rowColor">
  402. <td class="colFirst"><code>double</code></td>
  403. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">java2DToValue</a></span>(double&nbsp;java2DValue,
  404. java.awt.geom.Rectangle2D&nbsp;area,
  405. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  406. <div class="block">Translates a Java2D coordinate into the corresponding data value.</div>
  407. </td>
  408. </tr>
  409. <tr id="i22" class="altColor">
  410. <td class="colFirst"><code>protected java.util.Date</code></td>
  411. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#nextStandardDate-java.util.Date-org.jfree.chart.axis.DateTickUnit-">nextStandardDate</a></span>(java.util.Date&nbsp;date,
  412. <a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</code>
  413. <div class="block">Returns the first "standard" date (based on the specified field and
  414. units).</div>
  415. </td>
  416. </tr>
  417. <tr id="i23" class="rowColor">
  418. <td class="colFirst"><code>protected java.util.Date</code></td>
  419. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#previousStandardDate-java.util.Date-org.jfree.chart.axis.DateTickUnit-">previousStandardDate</a></span>(java.util.Date&nbsp;date,
  420. <a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</code>
  421. <div class="block">Returns the previous "standard" date, for a given date and tick unit.</div>
  422. </td>
  423. </tr>
  424. <tr id="i24" class="altColor">
  425. <td class="colFirst"><code>java.util.List</code></td>
  426. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.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,
  427. <a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a>&nbsp;state,
  428. java.awt.geom.Rectangle2D&nbsp;dataArea,
  429. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  430. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  431. results in the tick label list (ready for drawing).</div>
  432. </td>
  433. </tr>
  434. <tr id="i25" class="rowColor">
  435. <td class="colFirst"><code>protected java.util.List</code></td>
  436. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#refreshTicksHorizontal-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">refreshTicksHorizontal</a></span>(java.awt.Graphics2D&nbsp;g2,
  437. java.awt.geom.Rectangle2D&nbsp;dataArea,
  438. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  439. <div class="block">Recalculates the ticks for the date axis.</div>
  440. </td>
  441. </tr>
  442. <tr id="i26" class="altColor">
  443. <td class="colFirst"><code>protected java.util.List</code></td>
  444. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#refreshTicksVertical-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">refreshTicksVertical</a></span>(java.awt.Graphics2D&nbsp;g2,
  445. java.awt.geom.Rectangle2D&nbsp;dataArea,
  446. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  447. <div class="block">Recalculates the ticks for the date axis.</div>
  448. </td>
  449. </tr>
  450. <tr id="i27" class="rowColor">
  451. <td class="colFirst"><code>protected void</code></td>
  452. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#selectAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">selectAutoTickUnit</a></span>(java.awt.Graphics2D&nbsp;g2,
  453. java.awt.geom.Rectangle2D&nbsp;dataArea,
  454. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  455. <div class="block">Selects an appropriate tick value for the axis.</div>
  456. </td>
  457. </tr>
  458. <tr id="i28" class="altColor">
  459. <td class="colFirst"><code>protected void</code></td>
  460. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#selectHorizontalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">selectHorizontalAutoTickUnit</a></span>(java.awt.Graphics2D&nbsp;g2,
  461. java.awt.geom.Rectangle2D&nbsp;dataArea,
  462. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  463. <div class="block">Selects an appropriate tick size for the axis.</div>
  464. </td>
  465. </tr>
  466. <tr id="i29" class="rowColor">
  467. <td class="colFirst"><code>protected void</code></td>
  468. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#selectVerticalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">selectVerticalAutoTickUnit</a></span>(java.awt.Graphics2D&nbsp;g2,
  469. java.awt.geom.Rectangle2D&nbsp;dataArea,
  470. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  471. <div class="block">Selects an appropriate tick size for the axis.</div>
  472. </td>
  473. </tr>
  474. <tr id="i30" class="altColor">
  475. <td class="colFirst"><code>void</code></td>
  476. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setDateFormatOverride-java.text.DateFormat-">setDateFormatOverride</a></span>(java.text.DateFormat&nbsp;formatter)</code>
  477. <div class="block">Sets the date format override and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to
  478. all registered listeners.</div>
  479. </td>
  480. </tr>
  481. <tr id="i31" class="rowColor">
  482. <td class="colFirst"><code>void</code></td>
  483. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setLocale-java.util.Locale-">setLocale</a></span>(java.util.Locale&nbsp;locale)</code>
  484. <div class="block">Sets the locale for the axis and sends a change event to all registered
  485. listeners.</div>
  486. </td>
  487. </tr>
  488. <tr id="i32" class="altColor">
  489. <td class="colFirst"><code>void</code></td>
  490. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setMaximumDate-java.util.Date-">setMaximumDate</a></span>(java.util.Date&nbsp;maximumDate)</code>
  491. <div class="block">Sets the maximum date visible on the axis and sends an
  492. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  493. </td>
  494. </tr>
  495. <tr id="i33" class="rowColor">
  496. <td class="colFirst"><code>void</code></td>
  497. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setMinimumDate-java.util.Date-">setMinimumDate</a></span>(java.util.Date&nbsp;date)</code>
  498. <div class="block">Sets the minimum date visible on the axis and sends an
  499. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  500. </td>
  501. </tr>
  502. <tr id="i34" class="altColor">
  503. <td class="colFirst"><code>void</code></td>
  504. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setRange-java.util.Date-java.util.Date-">setRange</a></span>(java.util.Date&nbsp;lower,
  505. java.util.Date&nbsp;upper)</code>
  506. <div class="block">Sets the axis range and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all
  507. registered listeners.</div>
  508. </td>
  509. </tr>
  510. <tr id="i35" class="rowColor">
  511. <td class="colFirst"><code>void</code></td>
  512. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setRange-double-double-">setRange</a></span>(double&nbsp;lower,
  513. double&nbsp;upper)</code>
  514. <div class="block">Sets the axis range and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all
  515. registered listeners.</div>
  516. </td>
  517. </tr>
  518. <tr id="i36" class="altColor">
  519. <td class="colFirst"><code>void</code></td>
  520. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setRange-org.jfree.data.Range-">setRange</a></span>(<a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;range)</code>
  521. <div class="block">Sets the upper and lower bounds for the axis and sends an
  522. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  523. </td>
  524. </tr>
  525. <tr id="i37" class="rowColor">
  526. <td class="colFirst"><code>void</code></td>
  527. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setRange-org.jfree.data.Range-boolean-boolean-">setRange</a></span>(<a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;range,
  528. boolean&nbsp;turnOffAutoRange,
  529. boolean&nbsp;notify)</code>
  530. <div class="block">Sets the range for the axis, if requested, sends an
  531. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  532. </td>
  533. </tr>
  534. <tr id="i38" class="altColor">
  535. <td class="colFirst"><code>void</code></td>
  536. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTickMarkPosition-org.jfree.chart.axis.DateTickMarkPosition-">setTickMarkPosition</a></span>(<a href="../../../../org/jfree/chart/axis/DateTickMarkPosition.html" title="class in org.jfree.chart.axis">DateTickMarkPosition</a>&nbsp;position)</code>
  537. <div class="block">Sets the tick mark position (start, middle or end of the time period)
  538. and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  539. </td>
  540. </tr>
  541. <tr id="i39" class="rowColor">
  542. <td class="colFirst"><code>void</code></td>
  543. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTickUnit-org.jfree.chart.axis.DateTickUnit-">setTickUnit</a></span>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</code>
  544. <div class="block">Sets the tick unit for the axis.</div>
  545. </td>
  546. </tr>
  547. <tr id="i40" class="altColor">
  548. <td class="colFirst"><code>void</code></td>
  549. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTickUnit-org.jfree.chart.axis.DateTickUnit-boolean-boolean-">setTickUnit</a></span>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit,
  550. boolean&nbsp;notify,
  551. boolean&nbsp;turnOffAutoSelection)</code>
  552. <div class="block">Sets the tick unit attribute and, if requested, sends an
  553. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  554. </td>
  555. </tr>
  556. <tr id="i41" class="rowColor">
  557. <td class="colFirst"><code>void</code></td>
  558. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTimeline-org.jfree.chart.axis.Timeline-">setTimeline</a></span>(<a href="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</a>&nbsp;timeline)</code>
  559. <div class="block">Sets the underlying timeline to use for this axis.</div>
  560. </td>
  561. </tr>
  562. <tr id="i42" class="altColor">
  563. <td class="colFirst"><code>void</code></td>
  564. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTimeZone-java.util.TimeZone-">setTimeZone</a></span>(java.util.TimeZone&nbsp;zone)</code>
  565. <div class="block">Sets the time zone 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
  566. all registered listeners.</div>
  567. </td>
  568. </tr>
  569. <tr id="i43" class="rowColor">
  570. <td class="colFirst"><code>double</code></td>
  571. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">valueToJava2D</a></span>(double&nbsp;value,
  572. java.awt.geom.Rectangle2D&nbsp;area,
  573. org.jfree.ui.RectangleEdge&nbsp;edge)</code>
  574. <div class="block">Translates the data value to the display coordinates (Java 2D User Space)
  575. of the chart.</div>
  576. </td>
  577. </tr>
  578. <tr id="i44" class="altColor">
  579. <td class="colFirst"><code>void</code></td>
  580. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/DateAxis.html#zoomRange-double-double-">zoomRange</a></span>(double&nbsp;lowerPercent,
  581. double&nbsp;upperPercent)</code>
  582. <div class="block">Zooms in on the current range (zoom-in stops once the axis length
  583. reaches the equivalent of one millisecond).</div>
  584. </td>
  585. </tr>
  586. </table>
  587. <ul class="blockList">
  588. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.axis.ValueAxis">
  589. <!-- -->
  590. </a>
  591. <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>
  592. <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#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></code></li>
  593. </ul>
  594. <ul class="blockList">
  595. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.axis.Axis">
  596. <!-- -->
  597. </a>
  598. <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>
  599. <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>
  600. </ul>
  601. <ul class="blockList">
  602. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  603. <!-- -->
  604. </a>
  605. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  606. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  607. </ul>
  608. </li>
  609. </ul>
  610. </li>
  611. </ul>
  612. </div>
  613. <div class="details">
  614. <ul class="blockList">
  615. <li class="blockList">
  616. <!-- ============ FIELD DETAIL =========== -->
  617. <ul class="blockList">
  618. <li class="blockList"><a name="field.detail">
  619. <!-- -->
  620. </a>
  621. <h3>Field Detail</h3>
  622. <a name="DEFAULT_DATE_RANGE">
  623. <!-- -->
  624. </a>
  625. <ul class="blockList">
  626. <li class="blockList">
  627. <h4>DEFAULT_DATE_RANGE</h4>
  628. <pre>public static final&nbsp;<a href="../../../../org/jfree/data/time/DateRange.html" title="class in org.jfree.data.time">DateRange</a> <a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.189">DEFAULT_DATE_RANGE</a></pre>
  629. <div class="block">The default axis range.</div>
  630. </li>
  631. </ul>
  632. <a name="DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS">
  633. <!-- -->
  634. </a>
  635. <ul class="blockList">
  636. <li class="blockList">
  637. <h4>DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS</h4>
  638. <pre>public static final&nbsp;double <a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.193">DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS</a></pre>
  639. <div class="block">The default minimum auto range size.</div>
  640. <dl>
  641. <dt><span class="seeLabel">See Also:</span></dt>
  642. <dd><a href="../../../../constant-values.html#org.jfree.chart.axis.DateAxis.DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS">Constant Field Values</a></dd>
  643. </dl>
  644. </li>
  645. </ul>
  646. <a name="DEFAULT_DATE_TICK_UNIT">
  647. <!-- -->
  648. </a>
  649. <ul class="blockList">
  650. <li class="blockList">
  651. <h4>DEFAULT_DATE_TICK_UNIT</h4>
  652. <pre>public static final&nbsp;<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a> <a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.202">DEFAULT_DATE_TICK_UNIT</a></pre>
  653. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As pointed out in bug #977, the SimpleDateFormat in this
  654. object uses Calendar which is not thread safe...so you should
  655. avoid reusing this instance and create a new instance as required.</span></div>
  656. <div class="block">The default date tick unit.</div>
  657. </li>
  658. </ul>
  659. <a name="DEFAULT_ANCHOR_DATE">
  660. <!-- -->
  661. </a>
  662. <ul class="blockListLast">
  663. <li class="blockList">
  664. <h4>DEFAULT_ANCHOR_DATE</h4>
  665. <pre>public static final&nbsp;java.util.Date <a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.206">DEFAULT_ANCHOR_DATE</a></pre>
  666. <div class="block">The default anchor date.</div>
  667. </li>
  668. </ul>
  669. </li>
  670. </ul>
  671. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  672. <ul class="blockList">
  673. <li class="blockList"><a name="constructor.detail">
  674. <!-- -->
  675. </a>
  676. <h3>Constructor Detail</h3>
  677. <a name="DateAxis--">
  678. <!-- -->
  679. </a>
  680. <ul class="blockList">
  681. <li class="blockList">
  682. <h4>DateAxis</h4>
  683. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.358">DateAxis</a>()</pre>
  684. <div class="block">Creates a date axis with no label.</div>
  685. </li>
  686. </ul>
  687. <a name="DateAxis-java.lang.String-">
  688. <!-- -->
  689. </a>
  690. <ul class="blockList">
  691. <li class="blockList">
  692. <h4>DateAxis</h4>
  693. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.367">DateAxis</a>(java.lang.String&nbsp;label)</pre>
  694. <div class="block">Creates a date axis with the specified label.</div>
  695. <dl>
  696. <dt><span class="paramLabel">Parameters:</span></dt>
  697. <dd><code>label</code> - the axis label (<code>null</code> permitted).</dd>
  698. </dl>
  699. </li>
  700. </ul>
  701. <a name="DateAxis-java.lang.String-java.util.TimeZone-">
  702. <!-- -->
  703. </a>
  704. <ul class="blockList">
  705. <li class="blockList">
  706. <h4>DateAxis</h4>
  707. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.384">DateAxis</a>(java.lang.String&nbsp;label,
  708. java.util.TimeZone&nbsp;zone)</pre>
  709. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">From 1.0.11 onwards, use <a href="../../../../org/jfree/chart/axis/DateAxis.html#DateAxis-java.lang.String-java.util.TimeZone-java.util.Locale-"><code>DateAxis(String, TimeZone,
  710. Locale)</code></a> instead, to explicitly set the locale.</span></div>
  711. <div class="block">Creates a date axis. A timeline is specified for the axis. This allows
  712. special transformations to occur between a domain of values and the
  713. values included in the axis.</div>
  714. <dl>
  715. <dt><span class="paramLabel">Parameters:</span></dt>
  716. <dd><code>label</code> - the axis label (<code>null</code> permitted).</dd>
  717. <dd><code>zone</code> - the time zone.</dd>
  718. <dt><span class="seeLabel">See Also:</span></dt>
  719. <dd><a href="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis"><code>SegmentedTimeline</code></a></dd>
  720. </dl>
  721. </li>
  722. </ul>
  723. <a name="DateAxis-java.lang.String-java.util.TimeZone-java.util.Locale-">
  724. <!-- -->
  725. </a>
  726. <ul class="blockListLast">
  727. <li class="blockList">
  728. <h4>DateAxis</h4>
  729. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.401">DateAxis</a>(java.lang.String&nbsp;label,
  730. java.util.TimeZone&nbsp;zone,
  731. java.util.Locale&nbsp;locale)</pre>
  732. <div class="block">Creates a date axis. A timeline is specified for the axis. This allows
  733. special transformations to occur between a domain of values and the
  734. values included in the axis.</div>
  735. <dl>
  736. <dt><span class="paramLabel">Parameters:</span></dt>
  737. <dd><code>label</code> - the axis label (<code>null</code> permitted).</dd>
  738. <dd><code>zone</code> - the time zone.</dd>
  739. <dd><code>locale</code> - the locale (<code>null</code> not permitted).</dd>
  740. <dt><span class="simpleTagLabel">Since:</span></dt>
  741. <dd>1.0.11</dd>
  742. <dt><span class="seeLabel">See Also:</span></dt>
  743. <dd><a href="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis"><code>SegmentedTimeline</code></a></dd>
  744. </dl>
  745. </li>
  746. </ul>
  747. </li>
  748. </ul>
  749. <!-- ============ METHOD DETAIL ========== -->
  750. <ul class="blockList">
  751. <li class="blockList"><a name="method.detail">
  752. <!-- -->
  753. </a>
  754. <h3>Method Detail</h3>
  755. <a name="getTimeZone--">
  756. <!-- -->
  757. </a>
  758. <ul class="blockList">
  759. <li class="blockList">
  760. <h4>getTimeZone</h4>
  761. <pre>public&nbsp;java.util.TimeZone&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.423">getTimeZone</a>()</pre>
  762. <div class="block">Returns the time zone for the axis.</div>
  763. <dl>
  764. <dt><span class="returnLabel">Returns:</span></dt>
  765. <dd>The time zone (never <code>null</code>).</dd>
  766. <dt><span class="simpleTagLabel">Since:</span></dt>
  767. <dd>1.0.4</dd>
  768. <dt><span class="seeLabel">See Also:</span></dt>
  769. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTimeZone-java.util.TimeZone-"><code>setTimeZone(TimeZone)</code></a></dd>
  770. </dl>
  771. </li>
  772. </ul>
  773. <a name="setTimeZone-java.util.TimeZone-">
  774. <!-- -->
  775. </a>
  776. <ul class="blockList">
  777. <li class="blockList">
  778. <h4>setTimeZone</h4>
  779. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.437">setTimeZone</a>(java.util.TimeZone&nbsp;zone)</pre>
  780. <div class="block">Sets the time zone 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
  781. all registered listeners.</div>
  782. <dl>
  783. <dt><span class="paramLabel">Parameters:</span></dt>
  784. <dd><code>zone</code> - the time zone (<code>null</code> not permitted).</dd>
  785. <dt><span class="simpleTagLabel">Since:</span></dt>
  786. <dd>1.0.4</dd>
  787. <dt><span class="seeLabel">See Also:</span></dt>
  788. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTimeZone--"><code>getTimeZone()</code></a></dd>
  789. </dl>
  790. </li>
  791. </ul>
  792. <a name="getLocale--">
  793. <!-- -->
  794. </a>
  795. <ul class="blockList">
  796. <li class="blockList">
  797. <h4>getLocale</h4>
  798. <pre>public&nbsp;java.util.Locale&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.451">getLocale</a>()</pre>
  799. <div class="block">Returns the locale for this axis.</div>
  800. <dl>
  801. <dt><span class="returnLabel">Returns:</span></dt>
  802. <dd>The locale (never <code>null</code>).</dd>
  803. <dt><span class="simpleTagLabel">Since:</span></dt>
  804. <dd>1.0.18</dd>
  805. </dl>
  806. </li>
  807. </ul>
  808. <a name="setLocale-java.util.Locale-">
  809. <!-- -->
  810. </a>
  811. <ul class="blockList">
  812. <li class="blockList">
  813. <h4>setLocale</h4>
  814. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.461">setLocale</a>(java.util.Locale&nbsp;locale)</pre>
  815. <div class="block">Sets the locale for the axis and sends a change event to all registered
  816. listeners.</div>
  817. <dl>
  818. <dt><span class="paramLabel">Parameters:</span></dt>
  819. <dd><code>locale</code> - the new locale (<code>null</code> not permitted).</dd>
  820. </dl>
  821. </li>
  822. </ul>
  823. <a name="getTimeline--">
  824. <!-- -->
  825. </a>
  826. <ul class="blockList">
  827. <li class="blockList">
  828. <h4>getTimeline</h4>
  829. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.474">getTimeline</a>()</pre>
  830. <div class="block">Returns the underlying timeline used by this axis.</div>
  831. <dl>
  832. <dt><span class="returnLabel">Returns:</span></dt>
  833. <dd>The timeline.</dd>
  834. </dl>
  835. </li>
  836. </ul>
  837. <a name="setTimeline-org.jfree.chart.axis.Timeline-">
  838. <!-- -->
  839. </a>
  840. <ul class="blockList">
  841. <li class="blockList">
  842. <h4>setTimeline</h4>
  843. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.484">setTimeline</a>(<a href="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</a>&nbsp;timeline)</pre>
  844. <div class="block">Sets the underlying timeline to use for this axis. If the timeline is
  845. changed, an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> is sent to all registered listeners.</div>
  846. <dl>
  847. <dt><span class="paramLabel">Parameters:</span></dt>
  848. <dd><code>timeline</code> - the timeline.</dd>
  849. </dl>
  850. </li>
  851. </ul>
  852. <a name="getTickUnit--">
  853. <!-- -->
  854. </a>
  855. <ul class="blockList">
  856. <li class="blockList">
  857. <h4>getTickUnit</h4>
  858. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.504">getTickUnit</a>()</pre>
  859. <div class="block">Returns the tick unit for the axis.
  860. <p>
  861. Note: if the <code>autoTickUnitSelection</code> flag is
  862. <code>true</code> the tick unit may be changed while the axis is being
  863. drawn, so in that case the return value from this method may be
  864. irrelevant if the method is called before the axis has been drawn.</div>
  865. <dl>
  866. <dt><span class="returnLabel">Returns:</span></dt>
  867. <dd>The tick unit (possibly <code>null</code>).</dd>
  868. <dt><span class="seeLabel">See Also:</span></dt>
  869. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#setTickUnit-org.jfree.chart.axis.DateTickUnit-"><code>setTickUnit(DateTickUnit)</code></a>,
  870. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#isAutoTickUnitSelection--"><code>ValueAxis.isAutoTickUnitSelection()</code></a></dd>
  871. </dl>
  872. </li>
  873. </ul>
  874. <a name="setTickUnit-org.jfree.chart.axis.DateTickUnit-">
  875. <!-- -->
  876. </a>
  877. <ul class="blockList">
  878. <li class="blockList">
  879. <h4>setTickUnit</h4>
  880. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.518">setTickUnit</a>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</pre>
  881. <div class="block">Sets the tick unit for the axis. The auto-tick-unit-selection flag is
  882. set to <code>false</code>, and registered listeners are notified that
  883. the axis has been changed.</div>
  884. <dl>
  885. <dt><span class="paramLabel">Parameters:</span></dt>
  886. <dd><code>unit</code> - the tick unit.</dd>
  887. <dt><span class="seeLabel">See Also:</span></dt>
  888. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTickUnit--"><code>getTickUnit()</code></a>,
  889. <a href="../../../../org/jfree/chart/axis/DateAxis.html#setTickUnit-org.jfree.chart.axis.DateTickUnit-boolean-boolean-"><code>setTickUnit(DateTickUnit, boolean, boolean)</code></a></dd>
  890. </dl>
  891. </li>
  892. </ul>
  893. <a name="setTickUnit-org.jfree.chart.axis.DateTickUnit-boolean-boolean-">
  894. <!-- -->
  895. </a>
  896. <ul class="blockList">
  897. <li class="blockList">
  898. <h4>setTickUnit</h4>
  899. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.532">setTickUnit</a>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit,
  900. boolean&nbsp;notify,
  901. boolean&nbsp;turnOffAutoSelection)</pre>
  902. <div class="block">Sets the tick unit attribute and, if requested, sends an
  903. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  904. <dl>
  905. <dt><span class="paramLabel">Parameters:</span></dt>
  906. <dd><code>unit</code> - the new tick unit.</dd>
  907. <dd><code>notify</code> - notify registered listeners?</dd>
  908. <dd><code>turnOffAutoSelection</code> - turn off auto selection?</dd>
  909. <dt><span class="seeLabel">See Also:</span></dt>
  910. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#getTickUnit--"><code>getTickUnit()</code></a></dd>
  911. </dl>
  912. </li>
  913. </ul>
  914. <a name="getDateFormatOverride--">
  915. <!-- -->
  916. </a>
  917. <ul class="blockList">
  918. <li class="blockList">
  919. <h4>getDateFormatOverride</h4>
  920. <pre>public&nbsp;java.text.DateFormat&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.551">getDateFormatOverride</a>()</pre>
  921. <div class="block">Returns the date format override. If this is non-null, then it will be
  922. used to format the dates on the axis.</div>
  923. <dl>
  924. <dt><span class="returnLabel">Returns:</span></dt>
  925. <dd>The formatter (possibly <code>null</code>).</dd>
  926. </dl>
  927. </li>
  928. </ul>
  929. <a name="setDateFormatOverride-java.text.DateFormat-">
  930. <!-- -->
  931. </a>
  932. <ul class="blockList">
  933. <li class="blockList">
  934. <h4>setDateFormatOverride</h4>
  935. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.562">setDateFormatOverride</a>(java.text.DateFormat&nbsp;formatter)</pre>
  936. <div class="block">Sets the date format override and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to
  937. all registered listeners. If this is non-null, then it will be
  938. used to format the dates on the axis.</div>
  939. <dl>
  940. <dt><span class="paramLabel">Parameters:</span></dt>
  941. <dd><code>formatter</code> - the date formatter (<code>null</code> permitted).</dd>
  942. </dl>
  943. </li>
  944. </ul>
  945. <a name="setRange-org.jfree.data.Range-">
  946. <!-- -->
  947. </a>
  948. <ul class="blockList">
  949. <li class="blockList">
  950. <h4>setRange</h4>
  951. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.575">setRange</a>(<a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;range)</pre>
  952. <div class="block">Sets the upper and lower bounds for the axis and sends an
  953. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners. As a side-effect,
  954. the auto-range flag is set to false.</div>
  955. <dl>
  956. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  957. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-org.jfree.data.Range-">setRange</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>
  958. <dt><span class="paramLabel">Parameters:</span></dt>
  959. <dd><code>range</code> - the new range (<code>null</code> not permitted).</dd>
  960. <dt><span class="seeLabel">See Also:</span></dt>
  961. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#getRange--"><code>ValueAxis.getRange()</code></a></dd>
  962. </dl>
  963. </li>
  964. </ul>
  965. <a name="setRange-org.jfree.data.Range-boolean-boolean-">
  966. <!-- -->
  967. </a>
  968. <ul class="blockList">
  969. <li class="blockList">
  970. <h4>setRange</h4>
  971. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.591">setRange</a>(<a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;range,
  972. boolean&nbsp;turnOffAutoRange,
  973. boolean&nbsp;notify)</pre>
  974. <div class="block">Sets the range for the axis, if requested, sends an
  975. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners. As a side-effect,
  976. the auto-range flag is set to <code>false</code> (optional).</div>
  977. <dl>
  978. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  979. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-org.jfree.data.Range-boolean-boolean-">setRange</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>
  980. <dt><span class="paramLabel">Parameters:</span></dt>
  981. <dd><code>range</code> - the range (<code>null</code> not permitted).</dd>
  982. <dd><code>turnOffAutoRange</code> - a flag that controls whether or not the auto
  983. range is turned off.</dd>
  984. <dd><code>notify</code> - a flag that controls whether or not listeners are
  985. notified.</dd>
  986. <dt><span class="seeLabel">See Also:</span></dt>
  987. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#getRange--"><code>ValueAxis.getRange()</code></a></dd>
  988. </dl>
  989. </li>
  990. </ul>
  991. <a name="setRange-java.util.Date-java.util.Date-">
  992. <!-- -->
  993. </a>
  994. <ul class="blockList">
  995. <li class="blockList">
  996. <h4>setRange</h4>
  997. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.609">setRange</a>(java.util.Date&nbsp;lower,
  998. java.util.Date&nbsp;upper)</pre>
  999. <div class="block">Sets the axis range and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all
  1000. registered listeners.</div>
  1001. <dl>
  1002. <dt><span class="paramLabel">Parameters:</span></dt>
  1003. <dd><code>lower</code> - the lower bound for the axis.</dd>
  1004. <dd><code>upper</code> - the upper bound for the axis.</dd>
  1005. </dl>
  1006. </li>
  1007. </ul>
  1008. <a name="setRange-double-double-">
  1009. <!-- -->
  1010. </a>
  1011. <ul class="blockList">
  1012. <li class="blockList">
  1013. <h4>setRange</h4>
  1014. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.624">setRange</a>(double&nbsp;lower,
  1015. double&nbsp;upper)</pre>
  1016. <div class="block">Sets the axis range and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all
  1017. registered listeners.</div>
  1018. <dl>
  1019. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1020. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-double-double-">setRange</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>
  1021. <dt><span class="paramLabel">Parameters:</span></dt>
  1022. <dd><code>lower</code> - the lower bound for the axis.</dd>
  1023. <dd><code>upper</code> - the upper bound for the axis.</dd>
  1024. <dt><span class="seeLabel">See Also:</span></dt>
  1025. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#getRange--"><code>ValueAxis.getRange()</code></a>,
  1026. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setRange-org.jfree.data.Range-"><code>ValueAxis.setRange(Range)</code></a></dd>
  1027. </dl>
  1028. </li>
  1029. </ul>
  1030. <a name="getMinimumDate--">
  1031. <!-- -->
  1032. </a>
  1033. <ul class="blockList">
  1034. <li class="blockList">
  1035. <h4>getMinimumDate</h4>
  1036. <pre>public&nbsp;java.util.Date&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.639">getMinimumDate</a>()</pre>
  1037. <div class="block">Returns the earliest date visible on the axis.</div>
  1038. <dl>
  1039. <dt><span class="returnLabel">Returns:</span></dt>
  1040. <dd>The date.</dd>
  1041. <dt><span class="seeLabel">See Also:</span></dt>
  1042. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#setMinimumDate-java.util.Date-"><code>setMinimumDate(Date)</code></a>,
  1043. <a href="../../../../org/jfree/chart/axis/DateAxis.html#getMaximumDate--"><code>getMaximumDate()</code></a></dd>
  1044. </dl>
  1045. </li>
  1046. </ul>
  1047. <a name="setMinimumDate-java.util.Date-">
  1048. <!-- -->
  1049. </a>
  1050. <ul class="blockList">
  1051. <li class="blockList">
  1052. <h4>setMinimumDate</h4>
  1053. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.664">setMinimumDate</a>(java.util.Date&nbsp;date)</pre>
  1054. <div class="block">Sets the minimum date visible on the axis and sends an
  1055. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners. If
  1056. <code>date</code> is on or after the current maximum date for
  1057. the axis, the maximum date will be shifted to preserve the current
  1058. length of the axis.</div>
  1059. <dl>
  1060. <dt><span class="paramLabel">Parameters:</span></dt>
  1061. <dd><code>date</code> - the date (<code>null</code> not permitted).</dd>
  1062. <dt><span class="seeLabel">See Also:</span></dt>
  1063. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#getMinimumDate--"><code>getMinimumDate()</code></a>,
  1064. <a href="../../../../org/jfree/chart/axis/DateAxis.html#setMaximumDate-java.util.Date-"><code>setMaximumDate(Date)</code></a></dd>
  1065. </dl>
  1066. </li>
  1067. </ul>
  1068. <a name="getMaximumDate--">
  1069. <!-- -->
  1070. </a>
  1071. <ul class="blockList">
  1072. <li class="blockList">
  1073. <h4>getMaximumDate</h4>
  1074. <pre>public&nbsp;java.util.Date&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.687">getMaximumDate</a>()</pre>
  1075. <div class="block">Returns the latest date visible on the axis.</div>
  1076. <dl>
  1077. <dt><span class="returnLabel">Returns:</span></dt>
  1078. <dd>The date.</dd>
  1079. <dt><span class="seeLabel">See Also:</span></dt>
  1080. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#setMaximumDate-java.util.Date-"><code>setMaximumDate(Date)</code></a>,
  1081. <a href="../../../../org/jfree/chart/axis/DateAxis.html#getMinimumDate--"><code>getMinimumDate()</code></a></dd>
  1082. </dl>
  1083. </li>
  1084. </ul>
  1085. <a name="setMaximumDate-java.util.Date-">
  1086. <!-- -->
  1087. </a>
  1088. <ul class="blockList">
  1089. <li class="blockList">
  1090. <h4>setMaximumDate</h4>
  1091. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.712">setMaximumDate</a>(java.util.Date&nbsp;maximumDate)</pre>
  1092. <div class="block">Sets the maximum date visible on the axis and sends an
  1093. <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners. If
  1094. <code>maximumDate</code> is on or before the current minimum date for
  1095. the axis, the minimum date will be shifted to preserve the current
  1096. length of the axis.</div>
  1097. <dl>
  1098. <dt><span class="paramLabel">Parameters:</span></dt>
  1099. <dd><code>maximumDate</code> - the date (<code>null</code> not permitted).</dd>
  1100. <dt><span class="seeLabel">See Also:</span></dt>
  1101. <dd><a href="../../../../org/jfree/chart/axis/DateAxis.html#getMinimumDate--"><code>getMinimumDate()</code></a>,
  1102. <a href="../../../../org/jfree/chart/axis/DateAxis.html#setMinimumDate-java.util.Date-"><code>setMinimumDate(Date)</code></a></dd>
  1103. </dl>
  1104. </li>
  1105. </ul>
  1106. <a name="getTickMarkPosition--">
  1107. <!-- -->
  1108. </a>
  1109. <ul class="blockList">
  1110. <li class="blockList">
  1111. <h4>getTickMarkPosition</h4>
  1112. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/DateTickMarkPosition.html" title="class in org.jfree.chart.axis">DateTickMarkPosition</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.732">getTickMarkPosition</a>()</pre>
  1113. <div class="block">Returns the tick mark position (start, middle or end of the time period).</div>
  1114. <dl>
  1115. <dt><span class="returnLabel">Returns:</span></dt>
  1116. <dd>The position (never <code>null</code>).</dd>
  1117. </dl>
  1118. </li>
  1119. </ul>
  1120. <a name="setTickMarkPosition-org.jfree.chart.axis.DateTickMarkPosition-">
  1121. <!-- -->
  1122. </a>
  1123. <ul class="blockList">
  1124. <li class="blockList">
  1125. <h4>setTickMarkPosition</h4>
  1126. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.742">setTickMarkPosition</a>(<a href="../../../../org/jfree/chart/axis/DateTickMarkPosition.html" title="class in org.jfree.chart.axis">DateTickMarkPosition</a>&nbsp;position)</pre>
  1127. <div class="block">Sets the tick mark position (start, middle or end of the time period)
  1128. and sends an <a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><code>AxisChangeEvent</code></a> to all registered listeners.</div>
  1129. <dl>
  1130. <dt><span class="paramLabel">Parameters:</span></dt>
  1131. <dd><code>position</code> - the position (<code>null</code> not permitted).</dd>
  1132. </dl>
  1133. </li>
  1134. </ul>
  1135. <a name="configure--">
  1136. <!-- -->
  1137. </a>
  1138. <ul class="blockList">
  1139. <li class="blockList">
  1140. <h4>configure</h4>
  1141. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.753">configure</a>()</pre>
  1142. <div class="block">Configures the axis to work with the specified plot. If the axis has
  1143. auto-scaling, then sets the maximum and minimum values.</div>
  1144. <dl>
  1145. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1146. <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>
  1147. </dl>
  1148. </li>
  1149. </ul>
  1150. <a name="isHiddenValue-long-">
  1151. <!-- -->
  1152. </a>
  1153. <ul class="blockList">
  1154. <li class="blockList">
  1155. <h4>isHiddenValue</h4>
  1156. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.767">isHiddenValue</a>(long&nbsp;millis)</pre>
  1157. <div class="block">Returns <code>true</code> if the axis hides this value, and
  1158. <code>false</code> otherwise.</div>
  1159. <dl>
  1160. <dt><span class="paramLabel">Parameters:</span></dt>
  1161. <dd><code>millis</code> - the data value.</dd>
  1162. <dt><span class="returnLabel">Returns:</span></dt>
  1163. <dd>A value.</dd>
  1164. </dl>
  1165. </li>
  1166. </ul>
  1167. <a name="valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1168. <!-- -->
  1169. </a>
  1170. <ul class="blockList">
  1171. <li class="blockList">
  1172. <h4>valueToJava2D</h4>
  1173. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.783">valueToJava2D</a>(double&nbsp;value,
  1174. java.awt.geom.Rectangle2D&nbsp;area,
  1175. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1176. <div class="block">Translates the data value to the display coordinates (Java 2D User Space)
  1177. of the chart.</div>
  1178. <dl>
  1179. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1180. <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>
  1181. <dt><span class="paramLabel">Parameters:</span></dt>
  1182. <dd><code>value</code> - the date to be plotted.</dd>
  1183. <dd><code>area</code> - the rectangle (in Java2D space) where the data is to be
  1184. plotted.</dd>
  1185. <dd><code>edge</code> - the axis location.</dd>
  1186. <dt><span class="returnLabel">Returns:</span></dt>
  1187. <dd>The coordinate corresponding to the supplied data value.</dd>
  1188. <dt><span class="seeLabel">See Also:</span></dt>
  1189. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-"><code>ValueAxis.java2DToValue(double, Rectangle2D, RectangleEdge)</code></a></dd>
  1190. </dl>
  1191. </li>
  1192. </ul>
  1193. <a name="dateToJava2D-java.util.Date-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1194. <!-- -->
  1195. </a>
  1196. <ul class="blockList">
  1197. <li class="blockList">
  1198. <h4>dateToJava2D</h4>
  1199. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.830">dateToJava2D</a>(java.util.Date&nbsp;date,
  1200. java.awt.geom.Rectangle2D&nbsp;area,
  1201. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1202. <div class="block">Translates a date to Java2D coordinates, based on the range displayed by
  1203. this axis for the specified data area.</div>
  1204. <dl>
  1205. <dt><span class="paramLabel">Parameters:</span></dt>
  1206. <dd><code>date</code> - the date.</dd>
  1207. <dd><code>area</code> - the rectangle (in Java2D space) where the data is to be
  1208. plotted.</dd>
  1209. <dd><code>edge</code> - the axis location.</dd>
  1210. <dt><span class="returnLabel">Returns:</span></dt>
  1211. <dd>The coordinate corresponding to the supplied date.</dd>
  1212. </dl>
  1213. </li>
  1214. </ul>
  1215. <a name="java2DToValue-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1216. <!-- -->
  1217. </a>
  1218. <ul class="blockList">
  1219. <li class="blockList">
  1220. <h4>java2DToValue</h4>
  1221. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.849">java2DToValue</a>(double&nbsp;java2DValue,
  1222. java.awt.geom.Rectangle2D&nbsp;area,
  1223. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1224. <div class="block">Translates a Java2D coordinate into the corresponding data value. To
  1225. perform this translation, you need to know the area used for plotting
  1226. data, and which edge the axis is located on.</div>
  1227. <dl>
  1228. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1229. <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>
  1230. <dt><span class="paramLabel">Parameters:</span></dt>
  1231. <dd><code>java2DValue</code> - the coordinate in Java2D space.</dd>
  1232. <dd><code>area</code> - the rectangle (in Java2D space) where the data is to be
  1233. plotted.</dd>
  1234. <dd><code>edge</code> - the axis location.</dd>
  1235. <dt><span class="returnLabel">Returns:</span></dt>
  1236. <dd>A data value.</dd>
  1237. <dt><span class="seeLabel">See Also:</span></dt>
  1238. <dd><a href="../../../../org/jfree/chart/axis/ValueAxis.html#valueToJava2D-double-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-"><code>ValueAxis.valueToJava2D(double, Rectangle2D, RectangleEdge)</code></a></dd>
  1239. </dl>
  1240. </li>
  1241. </ul>
  1242. <a name="calculateLowestVisibleTickValue-org.jfree.chart.axis.DateTickUnit-">
  1243. <!-- -->
  1244. </a>
  1245. <ul class="blockList">
  1246. <li class="blockList">
  1247. <h4>calculateLowestVisibleTickValue</h4>
  1248. <pre>public&nbsp;java.util.Date&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.887">calculateLowestVisibleTickValue</a>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</pre>
  1249. <div class="block">Calculates the value of the lowest visible tick on the axis.</div>
  1250. <dl>
  1251. <dt><span class="paramLabel">Parameters:</span></dt>
  1252. <dd><code>unit</code> - date unit to use.</dd>
  1253. <dt><span class="returnLabel">Returns:</span></dt>
  1254. <dd>The value of the lowest visible tick on the axis.</dd>
  1255. </dl>
  1256. </li>
  1257. </ul>
  1258. <a name="calculateHighestVisibleTickValue-org.jfree.chart.axis.DateTickUnit-">
  1259. <!-- -->
  1260. </a>
  1261. <ul class="blockList">
  1262. <li class="blockList">
  1263. <h4>calculateHighestVisibleTickValue</h4>
  1264. <pre>public&nbsp;java.util.Date&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.898">calculateHighestVisibleTickValue</a>(<a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</pre>
  1265. <div class="block">Calculates the value of the highest visible tick on the axis.</div>
  1266. <dl>
  1267. <dt><span class="paramLabel">Parameters:</span></dt>
  1268. <dd><code>unit</code> - date unit to use.</dd>
  1269. <dt><span class="returnLabel">Returns:</span></dt>
  1270. <dd>The value of the highest visible tick on the axis.</dd>
  1271. </dl>
  1272. </li>
  1273. </ul>
  1274. <a name="previousStandardDate-java.util.Date-org.jfree.chart.axis.DateTickUnit-">
  1275. <!-- -->
  1276. </a>
  1277. <ul class="blockList">
  1278. <li class="blockList">
  1279. <h4>previousStandardDate</h4>
  1280. <pre>protected&nbsp;java.util.Date&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.910">previousStandardDate</a>(java.util.Date&nbsp;date,
  1281. <a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</pre>
  1282. <div class="block">Returns the previous "standard" date, for a given date and tick unit.</div>
  1283. <dl>
  1284. <dt><span class="paramLabel">Parameters:</span></dt>
  1285. <dd><code>date</code> - the reference date.</dd>
  1286. <dd><code>unit</code> - the tick unit.</dd>
  1287. <dt><span class="returnLabel">Returns:</span></dt>
  1288. <dd>The previous "standard" date.</dd>
  1289. </dl>
  1290. </li>
  1291. </ul>
  1292. <a name="nextStandardDate-java.util.Date-org.jfree.chart.axis.DateTickUnit-">
  1293. <!-- -->
  1294. </a>
  1295. <ul class="blockList">
  1296. <li class="blockList">
  1297. <h4>nextStandardDate</h4>
  1298. <pre>protected&nbsp;java.util.Date&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1121">nextStandardDate</a>(java.util.Date&nbsp;date,
  1299. <a href="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</a>&nbsp;unit)</pre>
  1300. <div class="block">Returns the first "standard" date (based on the specified field and
  1301. units).</div>
  1302. <dl>
  1303. <dt><span class="paramLabel">Parameters:</span></dt>
  1304. <dd><code>date</code> - the reference date.</dd>
  1305. <dd><code>unit</code> - the date tick unit.</dd>
  1306. <dt><span class="returnLabel">Returns:</span></dt>
  1307. <dd>The next "standard" date.</dd>
  1308. </dl>
  1309. </li>
  1310. </ul>
  1311. <a name="createStandardDateTickUnits--">
  1312. <!-- -->
  1313. </a>
  1314. <ul class="blockList">
  1315. <li class="blockList">
  1316. <h4>createStandardDateTickUnits</h4>
  1317. <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/DateAxis.html#line.1138">createStandardDateTickUnits</a>()</pre>
  1318. <div class="block">Returns a collection of standard date tick units that uses the default
  1319. time zone. This collection will be used by default, but you are free
  1320. to create your own collection if you want to (see the
  1321. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a> method inherited
  1322. from the <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis"><code>ValueAxis</code></a> class).</div>
  1323. <dl>
  1324. <dt><span class="returnLabel">Returns:</span></dt>
  1325. <dd>A collection of standard date tick units.</dd>
  1326. </dl>
  1327. </li>
  1328. </ul>
  1329. <a name="createStandardDateTickUnits-java.util.TimeZone-java.util.Locale-">
  1330. <!-- -->
  1331. </a>
  1332. <ul class="blockList">
  1333. <li class="blockList">
  1334. <h4>createStandardDateTickUnits</h4>
  1335. <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/DateAxis.html#line.1157">createStandardDateTickUnits</a>(java.util.TimeZone&nbsp;zone,
  1336. java.util.Locale&nbsp;locale)</pre>
  1337. <div class="block">Returns a collection of standard date tick units. This collection will
  1338. be used by default, but you are free to create your own collection if
  1339. you want to (see the
  1340. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a> method inherited
  1341. from the <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis"><code>ValueAxis</code></a> class).</div>
  1342. <dl>
  1343. <dt><span class="paramLabel">Parameters:</span></dt>
  1344. <dd><code>zone</code> - the time zone (<code>null</code> not permitted).</dd>
  1345. <dd><code>locale</code> - the locale (<code>null</code> not permitted).</dd>
  1346. <dt><span class="returnLabel">Returns:</span></dt>
  1347. <dd>A collection of standard date tick units.</dd>
  1348. <dt><span class="simpleTagLabel">Since:</span></dt>
  1349. <dd>1.0.11</dd>
  1350. </dl>
  1351. </li>
  1352. </ul>
  1353. <a name="autoAdjustRange--">
  1354. <!-- -->
  1355. </a>
  1356. <ul class="blockList">
  1357. <li class="blockList">
  1358. <h4>autoAdjustRange</h4>
  1359. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1282">autoAdjustRange</a>()</pre>
  1360. <div class="block">Rescales the axis to ensure that all data is visible.</div>
  1361. <dl>
  1362. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1363. <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>
  1364. </dl>
  1365. </li>
  1366. </ul>
  1367. <a name="selectAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1368. <!-- -->
  1369. </a>
  1370. <ul class="blockList">
  1371. <li class="blockList">
  1372. <h4>selectAutoTickUnit</h4>
  1373. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1344">selectAutoTickUnit</a>(java.awt.Graphics2D&nbsp;g2,
  1374. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1375. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1376. <div class="block">Selects an appropriate tick value for the axis. The strategy is to
  1377. display as many ticks as possible (selected from an array of 'standard'
  1378. tick units) without the labels overlapping.</div>
  1379. <dl>
  1380. <dt><span class="paramLabel">Parameters:</span></dt>
  1381. <dd><code>g2</code> - the graphics device.</dd>
  1382. <dd><code>dataArea</code> - the area defined by the axes.</dd>
  1383. <dd><code>edge</code> - the axis location.</dd>
  1384. </dl>
  1385. </li>
  1386. </ul>
  1387. <a name="selectHorizontalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1388. <!-- -->
  1389. </a>
  1390. <ul class="blockList">
  1391. <li class="blockList">
  1392. <h4>selectHorizontalAutoTickUnit</h4>
  1393. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1365">selectHorizontalAutoTickUnit</a>(java.awt.Graphics2D&nbsp;g2,
  1394. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1395. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1396. <div class="block">Selects an appropriate tick size for the axis. The strategy is to
  1397. display as many ticks as possible (selected from a collection of
  1398. 'standard' tick units) without the labels overlapping.</div>
  1399. <dl>
  1400. <dt><span class="paramLabel">Parameters:</span></dt>
  1401. <dd><code>g2</code> - the graphics device.</dd>
  1402. <dd><code>dataArea</code> - the area defined by the axes.</dd>
  1403. <dd><code>edge</code> - the axis location.</dd>
  1404. </dl>
  1405. </li>
  1406. </ul>
  1407. <a name="selectVerticalAutoTickUnit-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1408. <!-- -->
  1409. </a>
  1410. <ul class="blockList">
  1411. <li class="blockList">
  1412. <h4>selectVerticalAutoTickUnit</h4>
  1413. <pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1403">selectVerticalAutoTickUnit</a>(java.awt.Graphics2D&nbsp;g2,
  1414. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1415. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1416. <div class="block">Selects an appropriate tick size for the axis. The strategy is to
  1417. display as many ticks as possible (selected from a collection of
  1418. 'standard' tick units) without the labels overlapping.</div>
  1419. <dl>
  1420. <dt><span class="paramLabel">Parameters:</span></dt>
  1421. <dd><code>g2</code> - the graphics device.</dd>
  1422. <dd><code>dataArea</code> - the area in which the plot should be drawn.</dd>
  1423. <dd><code>edge</code> - the axis location.</dd>
  1424. </dl>
  1425. </li>
  1426. </ul>
  1427. <a name="refreshTicks-java.awt.Graphics2D-org.jfree.chart.axis.AxisState-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1428. <!-- -->
  1429. </a>
  1430. <ul class="blockList">
  1431. <li class="blockList">
  1432. <h4>refreshTicks</h4>
  1433. <pre>public&nbsp;java.util.List&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1555">refreshTicks</a>(java.awt.Graphics2D&nbsp;g2,
  1434. <a href="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</a>&nbsp;state,
  1435. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1436. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1437. <div class="block">Calculates the positions of the tick labels for the axis, storing the
  1438. results in the tick label list (ready for drawing).</div>
  1439. <dl>
  1440. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1441. <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>
  1442. <dt><span class="paramLabel">Parameters:</span></dt>
  1443. <dd><code>g2</code> - the graphics device.</dd>
  1444. <dd><code>state</code> - the axis state.</dd>
  1445. <dd><code>dataArea</code> - the area in which the plot should be drawn.</dd>
  1446. <dd><code>edge</code> - the location of the axis.</dd>
  1447. <dt><span class="returnLabel">Returns:</span></dt>
  1448. <dd>A list of ticks.</dd>
  1449. </dl>
  1450. </li>
  1451. </ul>
  1452. <a name="refreshTicksHorizontal-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1453. <!-- -->
  1454. </a>
  1455. <ul class="blockList">
  1456. <li class="blockList">
  1457. <h4>refreshTicksHorizontal</h4>
  1458. <pre>protected&nbsp;java.util.List&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1611">refreshTicksHorizontal</a>(java.awt.Graphics2D&nbsp;g2,
  1459. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1460. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1461. <div class="block">Recalculates the ticks for the date axis.</div>
  1462. <dl>
  1463. <dt><span class="paramLabel">Parameters:</span></dt>
  1464. <dd><code>g2</code> - the graphics device.</dd>
  1465. <dd><code>dataArea</code> - the area in which the data is to be drawn.</dd>
  1466. <dd><code>edge</code> - the location of the axis.</dd>
  1467. <dt><span class="returnLabel">Returns:</span></dt>
  1468. <dd>A list of ticks.</dd>
  1469. </dl>
  1470. </li>
  1471. </ul>
  1472. <a name="refreshTicksVertical-java.awt.Graphics2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-">
  1473. <!-- -->
  1474. </a>
  1475. <ul class="blockList">
  1476. <li class="blockList">
  1477. <h4>refreshTicksVertical</h4>
  1478. <pre>protected&nbsp;java.util.List&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1729">refreshTicksVertical</a>(java.awt.Graphics2D&nbsp;g2,
  1479. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1480. org.jfree.ui.RectangleEdge&nbsp;edge)</pre>
  1481. <div class="block">Recalculates the ticks for the date axis.</div>
  1482. <dl>
  1483. <dt><span class="paramLabel">Parameters:</span></dt>
  1484. <dd><code>g2</code> - the graphics device.</dd>
  1485. <dd><code>dataArea</code> - the area in which the plot should be drawn.</dd>
  1486. <dd><code>edge</code> - the location of the axis.</dd>
  1487. <dt><span class="returnLabel">Returns:</span></dt>
  1488. <dd>A list of ticks.</dd>
  1489. </dl>
  1490. </li>
  1491. </ul>
  1492. <a name="draw-java.awt.Graphics2D-double-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-org.jfree.ui.RectangleEdge-org.jfree.chart.plot.PlotRenderingInfo-">
  1493. <!-- -->
  1494. </a>
  1495. <ul class="blockList">
  1496. <li class="blockList">
  1497. <h4>draw</h4>
  1498. <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/DateAxis.html#line.1850">draw</a>(java.awt.Graphics2D&nbsp;g2,
  1499. double&nbsp;cursor,
  1500. java.awt.geom.Rectangle2D&nbsp;plotArea,
  1501. java.awt.geom.Rectangle2D&nbsp;dataArea,
  1502. org.jfree.ui.RectangleEdge&nbsp;edge,
  1503. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;plotState)</pre>
  1504. <div class="block">Draws the axis on a Java 2D graphics device (such as the screen or a
  1505. printer).</div>
  1506. <dl>
  1507. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1508. <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>
  1509. <dt><span class="paramLabel">Parameters:</span></dt>
  1510. <dd><code>g2</code> - the graphics device (<code>null</code> not permitted).</dd>
  1511. <dd><code>cursor</code> - the cursor location.</dd>
  1512. <dd><code>plotArea</code> - the area within which the axes and data should be
  1513. drawn (<code>null</code> not permitted).</dd>
  1514. <dd><code>dataArea</code> - the area within which the data should be drawn
  1515. (<code>null</code> not permitted).</dd>
  1516. <dd><code>edge</code> - the location of the axis (<code>null</code> not permitted).</dd>
  1517. <dd><code>plotState</code> - collects information about the plot
  1518. (<code>null</code> permitted).</dd>
  1519. <dt><span class="returnLabel">Returns:</span></dt>
  1520. <dd>The axis state (never <code>null</code>).</dd>
  1521. </dl>
  1522. </li>
  1523. </ul>
  1524. <a name="zoomRange-double-double-">
  1525. <!-- -->
  1526. </a>
  1527. <ul class="blockList">
  1528. <li class="blockList">
  1529. <h4>zoomRange</h4>
  1530. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1890">zoomRange</a>(double&nbsp;lowerPercent,
  1531. double&nbsp;upperPercent)</pre>
  1532. <div class="block">Zooms in on the current range (zoom-in stops once the axis length
  1533. reaches the equivalent of one millisecond).</div>
  1534. <dl>
  1535. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1536. <dd><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html#zoomRange-double-double-">zoomRange</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>
  1537. <dt><span class="paramLabel">Parameters:</span></dt>
  1538. <dd><code>lowerPercent</code> - the new lower bound.</dd>
  1539. <dd><code>upperPercent</code> - the new upper bound.</dd>
  1540. </dl>
  1541. </li>
  1542. </ul>
  1543. <a name="equals-java.lang.Object-">
  1544. <!-- -->
  1545. </a>
  1546. <ul class="blockList">
  1547. <li class="blockList">
  1548. <h4>equals</h4>
  1549. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1925">equals</a>(java.lang.Object&nbsp;obj)</pre>
  1550. <div class="block">Tests this axis for equality with an arbitrary object.</div>
  1551. <dl>
  1552. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1553. <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>
  1554. <dt><span class="paramLabel">Parameters:</span></dt>
  1555. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  1556. <dt><span class="returnLabel">Returns:</span></dt>
  1557. <dd>A boolean.</dd>
  1558. </dl>
  1559. </li>
  1560. </ul>
  1561. <a name="hashCode--">
  1562. <!-- -->
  1563. </a>
  1564. <ul class="blockList">
  1565. <li class="blockList">
  1566. <h4>hashCode</h4>
  1567. <pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1962">hashCode</a>()</pre>
  1568. <div class="block">Returns a hash code for this object.</div>
  1569. <dl>
  1570. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1571. <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>
  1572. <dt><span class="returnLabel">Returns:</span></dt>
  1573. <dd>A hash code.</dd>
  1574. </dl>
  1575. </li>
  1576. </ul>
  1577. <a name="clone--">
  1578. <!-- -->
  1579. </a>
  1580. <ul class="blockList">
  1581. <li class="blockList">
  1582. <h4>clone</h4>
  1583. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.1975">clone</a>()
  1584. throws java.lang.CloneNotSupportedException</pre>
  1585. <div class="block">Returns a clone of the object.</div>
  1586. <dl>
  1587. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1588. <dd><code>clone</code>&nbsp;in interface&nbsp;<code>org.jfree.util.PublicCloneable</code></dd>
  1589. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  1590. <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>
  1591. <dt><span class="returnLabel">Returns:</span></dt>
  1592. <dd>A clone.</dd>
  1593. <dt><span class="throwsLabel">Throws:</span></dt>
  1594. <dd><code>java.lang.CloneNotSupportedException</code> - if some component of the axis does
  1595. not support cloning.</dd>
  1596. </dl>
  1597. </li>
  1598. </ul>
  1599. <a name="createStandardDateTickUnits-java.util.TimeZone-">
  1600. <!-- -->
  1601. </a>
  1602. <ul class="blockListLast">
  1603. <li class="blockList">
  1604. <h4>createStandardDateTickUnits</h4>
  1605. <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/DateAxis.html#line.2001">createStandardDateTickUnits</a>(java.util.TimeZone&nbsp;zone)</pre>
  1606. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Since 1.0.11, use <a href="../../../../org/jfree/chart/axis/DateAxis.html#createStandardDateTickUnits-java.util.TimeZone-java.util.Locale-"><code>createStandardDateTickUnits(
  1607. TimeZone, Locale)</code></a> to explicitly set the locale as well as the
  1608. time zone.</span></div>
  1609. <div class="block">Returns a collection of standard date tick units. This collection will
  1610. be used by default, but you are free to create your own collection if
  1611. you want to (see the
  1612. <a href="../../../../org/jfree/chart/axis/ValueAxis.html#setStandardTickUnits-org.jfree.chart.axis.TickUnitSource-"><code>ValueAxis.setStandardTickUnits(TickUnitSource)</code></a> method inherited
  1613. from the <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis"><code>ValueAxis</code></a> class).</div>
  1614. <dl>
  1615. <dt><span class="paramLabel">Parameters:</span></dt>
  1616. <dd><code>zone</code> - the time zone (<code>null</code> not permitted).</dd>
  1617. <dt><span class="returnLabel">Returns:</span></dt>
  1618. <dd>A collection of standard date tick units.</dd>
  1619. </dl>
  1620. </li>
  1621. </ul>
  1622. </li>
  1623. </ul>
  1624. </li>
  1625. </ul>
  1626. </div>
  1627. </div>
  1628. <!-- ========= END OF CLASS DATA ========= -->
  1629. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1630. <div class="bottomNav"><a name="navbar.bottom">
  1631. <!-- -->
  1632. </a>
  1633. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  1634. <a name="navbar.bottom.firstrow">
  1635. <!-- -->
  1636. </a>
  1637. <ul class="navList" title="Navigation">
  1638. <li><a href="../../../../overview-summary.html">Overview</a></li>
  1639. <li><a href="package-summary.html">Package</a></li>
  1640. <li class="navBarCell1Rev">Class</li>
  1641. <li><a href="class-use/DateAxis.html">Use</a></li>
  1642. <li><a href="package-tree.html">Tree</a></li>
  1643. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  1644. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  1645. <li><a href="../../../../help-doc.html">Help</a></li>
  1646. </ul>
  1647. </div>
  1648. <div class="subNav">
  1649. <ul class="navList">
  1650. <li><a href="../../../../org/jfree/chart/axis/CyclicNumberAxis.CycleBoundTick.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  1651. <li><a href="../../../../org/jfree/chart/axis/DateTick.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  1652. </ul>
  1653. <ul class="navList">
  1654. <li><a href="../../../../index.html?org/jfree/chart/axis/DateAxis.html" target="_top">Frames</a></li>
  1655. <li><a href="DateAxis.html" target="_top">No&nbsp;Frames</a></li>
  1656. </ul>
  1657. <ul class="navList" id="allclasses_navbar_bottom">
  1658. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  1659. </ul>
  1660. <div>
  1661. <script type="text/javascript"><!--
  1662. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1663. if(window==top) {
  1664. allClassesLink.style.display = "block";
  1665. }
  1666. else {
  1667. allClassesLink.style.display = "none";
  1668. }
  1669. //-->
  1670. </script>
  1671. </div>
  1672. <div>
  1673. <ul class="subNavList">
  1674. <li>Summary:&nbsp;</li>
  1675. <li>Nested&nbsp;|&nbsp;</li>
  1676. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  1677. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  1678. <li><a href="#method.summary">Method</a></li>
  1679. </ul>
  1680. <ul class="subNavList">
  1681. <li>Detail:&nbsp;</li>
  1682. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  1683. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  1684. <li><a href="#method.detail">Method</a></li>
  1685. </ul>
  1686. </div>
  1687. <a name="skip.navbar.bottom">
  1688. <!-- -->
  1689. </a></div>
  1690. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1691. </body>
  1692. </html>