📄 dateaxis.html
字号:
<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 <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.455"><B>setRange</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> 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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#setRange(org.jfree.data.Range)">setRange</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>range</CODE> - the new range (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="setRange(org.jfree.data.Range, boolean, boolean)"><!-- --></A><H3>setRange</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.470"><B>setRange</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> range, boolean turnOffAutoRange, boolean notify)</PRE><DL><DD>Sets the range for the axis, if requested, 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 <code>false</code> (optional).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#setRange(org.jfree.data.Range, boolean, boolean)">setRange</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>range</CODE> - the range (<code>null</code> not permitted).<DD><CODE>turnOffAutoRange</CODE> - a flag that controls whether or not the auto range is turned off.<DD><CODE>notify</CODE> - a flag that controls whether or not listeners are notified.</DL></DD></DL><HR><A NAME="setRange(java.util.Date, java.util.Date)"><!-- --></A><H3>setRange</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.490"><B>setRange</B></A>(java.util.Date lower, java.util.Date upper)</PRE><DL><DD>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 registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - the lower bound for the axis.<DD><CODE>upper</CODE> - the upper bound for the axis.</DL></DD></DL><HR><A NAME="setRange(double, double)"><!-- --></A><H3>setRange</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.504"><B>setRange</B></A>(double lower, double upper)</PRE><DL><DD>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 registered listeners.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#setRange(double, double)">setRange</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>lower</CODE> - the lower bound for the axis.<DD><CODE>upper</CODE> - the upper bound for the axis.</DL></DD></DL><HR><A NAME="getMinimumDate()"><!-- --></A><H3>getMinimumDate</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.516"><B>getMinimumDate</B></A>()</PRE><DL><DD>Returns the earliest date visible on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The date.</DL></DD></DL><HR><A NAME="setMinimumDate(java.util.Date)"><!-- --></A><H3>setMinimumDate</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.539"><B>setMinimumDate</B></A>(java.util.Date date)</PRE><DL><DD>Sets the minimum date visible on 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.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getMaximumDate()"><!-- --></A><H3>getMaximumDate</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.549"><B>getMaximumDate</B></A>()</PRE><DL><DD>Returns the latest date visible on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The date.</DL></DD></DL><HR><A NAME="setMaximumDate(java.util.Date)"><!-- --></A><H3>setMaximumDate</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.570"><B>setMaximumDate</B></A>(java.util.Date maximumDate)</PRE><DL><DD>Sets the maximum date visible on the axis. 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>maximumDate</CODE> - the date (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getTickMarkPosition()"><!-- --></A><H3>getTickMarkPosition</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/DateTickMarkPosition.html" title="class in org.jfree.chart.axis">DateTickMarkPosition</A> <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.580"><B>getTickMarkPosition</B></A>()</PRE><DL><DD>Returns the tick mark position (start, middle or end of the time period).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The position (never <code>null</code>).</DL></DD></DL><HR><A NAME="setTickMarkPosition(org.jfree.chart.axis.DateTickMarkPosition)"><!-- --></A><H3>setTickMarkPosition</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.590"><B>setTickMarkPosition</B></A>(<A HREF="../../../../org/jfree/chart/axis/DateTickMarkPosition.html" title="class in org.jfree.chart.axis">DateTickMarkPosition</A> position)</PRE><DL><DD>Sets the tick mark position (start, middle or end of the time period) 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.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the position (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="configure()"><!-- --></A><H3>configure</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/DateAxis.html#line.602"><B>configure</B></A>()</PRE><DL><DD>Configures the axis to work with the specified plot. If the axis has auto-scaling, then sets the maximum and minimum values.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/Axis.html#configure()">configure</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/Axis.html" title="class in org.jfree.chart.axis">Axis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isHiddenValue(long)"><!-- --></A><H3>isHiddenValue</H3><PRE>public boolean <A HREF="../../../../src-html/or
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -