⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dateaxis.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<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> <B>DEFAULT_DATE_TICK_UNIT</B></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 <B>DEFAULT_ANCHOR_DATE</B></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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DateAxis()"><!-- --></A><H3>DateAxis</H3><PRE>public <B>DateAxis</B>()</PRE><DL><DD>Default constructor.<P></DL><HR><A NAME="DateAxis(java.lang.String)"><!-- --></A><H3>DateAxis</H3><PRE>public <B>DateAxis</B>(java.lang.String&nbsp;label)</PRE><DL><DD>Creates a date axis.<P><DT><B>Parameters:</B><DD><CODE>label</CODE> - the axis label (<code>null</code> permitted).</DL><HR><A NAME="DateAxis(java.lang.String, org.jfree.chart.axis.Timeline)"><!-- --></A><H3>DateAxis</H3><PRE>public <B>DateAxis</B>(java.lang.String&nbsp;label,                <A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A>&nbsp;timeline)</PRE><DL><DD>Creates a date axis. A timeline is specified for the axis. This allows special transformations to occure between a domain of values and the values included in the axis.<P><DT><B>Parameters:</B><DD><CODE>label</CODE> - the axis label (<code>null</code> permitted).<DD><CODE>timeline</CODE> - the underlying timeline to use for the axis.<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><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;object)</PRE><DL><DD>Tests an object for equality with this instance.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to test.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><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> <B>getTimeline</B>()</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 <B>setTimeline</B>(<A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A>&nbsp;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 new 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> <B>getTickUnit</B>()</PRE><DL><DD>Returns the tick unit for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the tick unit for the axis.</DL></DD></DL><HR><A NAME="setTickUnit(org.jfree.chart.axis.DateTickUnit)"><!-- --></A><H3>setTickUnit</H3><PRE>public void <B>setTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</A>&nbsp;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 new tick unit.</DL></DD></DL><HR><A NAME="setTickUnit(org.jfree.chart.axis.DateTickUnit, boolean, boolean)"><!-- --></A><H3>setTickUnit</H3><PRE>public void <B>setTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/DateTickUnit.html" title="class in org.jfree.chart.axis">DateTickUnit</A>&nbsp;unit,                        boolean&nbsp;notify,                        boolean&nbsp;turnOffAutoSelection)</PRE><DL><DD>Sets the tick unit attribute without any other side effects.<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?</DL></DD></DL><HR><A NAME="getDateFormatOverride()"><!-- --></A><H3>getDateFormatOverride</H3><PRE>public java.text.DateFormat <B>getDateFormatOverride</B>()</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 date format override.</DL></DD></DL><HR><A NAME="setDateFormatOverride(java.text.DateFormat)"><!-- --></A><H3>setDateFormatOverride</H3><PRE>public void <B>setDateFormatOverride</B>(java.text.DateFormat&nbsp;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.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>formatter</CODE> - the date formatter (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="setRange(org.jfree.data.Range)"><!-- --></A><H3>setRange</H3><PRE>public void <B>setRange</B>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A>&nbsp;range)</PRE><DL><DD>Sets the upper and lower bounds 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 all registered listeners.  As a side-effect, the auto-range flag is set to false.<P><DD><DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -