📄 dateaxis.html
字号:
<A NAME="DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS"><!-- --></A><H3>DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS</H3><PRE>public static final double <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.166"><B>DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS</B></A></PRE><DL><DD>The default minimum auto range size.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.axis.DateAxis.DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_DATE_TICK_UNIT"><!-- --></A><H3>DEFAULT_DATE_TICK_UNIT</H3><PRE>public static final <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.169"><B>DEFAULT_DATE_TICK_UNIT</B></A></PRE><DL><DD>The default date tick unit.<P><DL></DL></DL><HR><A NAME="DEFAULT_ANCHOR_DATE"><!-- --></A><H3>DEFAULT_ANCHOR_DATE</H3><PRE>public static final java.util.Date <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.173"><B>DEFAULT_ANCHOR_DATE</B></A></PRE><DL><DD>The default anchor date.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="DateAxis()"><!-- --></A><H3>DateAxis</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.315"><B>DateAxis</B></A>()</PRE><DL><DD>Creates a date axis with no label.<P></DL><HR><A NAME="DateAxis(java.lang.String)"><!-- --></A><H3>DateAxis</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.324"><B>DateAxis</B></A>(java.lang.String label)</PRE><DL><DD>Creates a date axis with the specified label.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the axis label (<code>null</code> permitted).</DL></DL><HR><A NAME="DateAxis(java.lang.String, java.util.TimeZone)"><!-- --></A><H3>DateAxis</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.338"><B>DateAxis</B></A>(java.lang.String label, java.util.TimeZone zone)</PRE><DL><DD>Creates a date axis. A timeline is specified for the axis. This allows special transformations to occur between a domain of values and the values included in the axis.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the axis label (<code>null</code> permitted).<DD><CODE>zone</CODE> - the time zone.<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis"><CODE>SegmentedTimeline</CODE></A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getTimeline()"><!-- --></A><H3>getTimeline</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A> <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.355"><B>getTimeline</B></A>()</PRE><DL><DD>Returns the underlying timeline used by this axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The timeline.</DL></DD></DL><HR><A NAME="setTimeline(org.jfree.chart.axis.Timeline)"><!-- --></A><H3>setTimeline</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.367"><B>setTimeline</B></A>(<A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A> timeline)</PRE><DL><DD>Sets the underlying timeline to use for this axis. <P> If the timeline is 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.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>timeline</CODE> - the timeline.</DL></DD></DL><HR><A NAME="getTickUnit()"><!-- --></A><H3>getTickUnit</H3><PRE>public <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.387"><B>getTickUnit</B></A>()</PRE><DL><DD>Returns the tick unit for the axis. <p> Note: if the <code>autoTickUnitSelection</code> flag is <code>true</code> the tick unit may be changed while the axis is being drawn, so in that case the return value from this method may be irrelevant if the method is called before the axis has been drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The tick unit (possibly <code>null</code>).<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/axis/DateAxis.html#setTickUnit(org.jfree.chart.axis.DateTickUnit)"><CODE>setTickUnit(DateTickUnit)</CODE></A>, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#isAutoTickUnitSelection()"><CODE>ValueAxis.isAutoTickUnitSelection()</CODE></A></DL></DD></DL><HR><A NAME="setTickUnit(org.jfree.chart.axis.DateTickUnit)"><!-- --></A><H3>setTickUnit</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.401"><B>setTickUnit</B></A>(<A HREF="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</A> unit)</PRE><DL><DD>Sets the tick unit for the axis. The auto-tick-unit-selection flag is set to <code>false</code>, and registered listeners are notified that the axis has been changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the tick unit.<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/axis/DateAxis.html#getTickUnit()"><CODE>getTickUnit()</CODE></A>, <A HREF="../../../../org/jfree/chart/axis/DateAxis.html#setTickUnit(org.jfree.chart.axis.DateTickUnit, boolean, boolean)"><CODE>setTickUnit(DateTickUnit, boolean, boolean)</CODE></A></DL></DD></DL><HR><A NAME="setTickUnit(org.jfree.chart.axis.DateTickUnit, boolean, boolean)"><!-- --></A><H3>setTickUnit</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.414"><B>setTickUnit</B></A>(<A HREF="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</A> unit, boolean notify, boolean turnOffAutoSelection)</PRE><DL><DD>Sets the tick unit attribute.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the new tick unit.<DD><CODE>notify</CODE> - notify registered listeners?<DD><CODE>turnOffAutoSelection</CODE> - turn off auto selection?<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/axis/DateAxis.html#getTickUnit()"><CODE>getTickUnit()</CODE></A></DL></DD></DL><HR><A NAME="getDateFormatOverride()"><!-- --></A><H3>getDateFormatOverride</H3><PRE>public java.text.DateFormat <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.433"><B>getDateFormatOverride</B></A>()</PRE><DL><DD>Returns the date format override. If this is non-null, then it will be used to format the dates on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The formatter (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setDateFormatOverride(java.text.DateFormat)"><!-- --></A><H3>setDateFormatOverride</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.443"><B>setDateFormatOverride</B></A>(java.text.DateFormat formatter)</PRE><DL><DD>Sets the date format override. If this is non-null, then it will be used to format the dates on the axis.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -