📄 dateaxis.html
字号:
<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 <B>setRange</B>(<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 <B>setRange</B>(java.util.Date lower, java.util.Date upper)</PRE><DL><DD>Sets the axis range. 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>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 <B>setRange</B>(double lower, double upper)</PRE><DL><DD>Sets the axis range. 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><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 <B>getMinimumDate</B>()</PRE><DL><DD>Returns the earliest date visible on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the earliest date visible on the axis.</DL></DD></DL><HR><A NAME="setMinimumDate(java.util.Date)"><!-- --></A><H3>setMinimumDate</H3><PRE>public void <B>setMinimumDate</B>(java.util.Date minimumDate)</PRE><DL><DD>Sets the minimum 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>minimumDate</CODE> - the new minimum date.</DL></DD></DL><HR><A NAME="getMaximumDate()"><!-- --></A><H3>getMaximumDate</H3><PRE>public java.util.Date <B>getMaximumDate</B>()</PRE><DL><DD>Returns the latest date visible on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the latest date visible on the axis.</DL></DD></DL><HR><A NAME="setMaximumDate(java.util.Date)"><!-- --></A><H3>setMaximumDate</H3><PRE>public void <B>setMaximumDate</B>(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 new maximum date.</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> <B>getTickMarkPosition</B>()</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.</DL></DD></DL><HR><A NAME="setTickMarkPosition(org.jfree.chart.axis.DateTickMarkPosition)"><!-- --></A><H3>setTickMarkPosition</H3><PRE>public void <B>setTickMarkPosition</B>(<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). 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>position</CODE> - the new position.</DL></DD></DL><HR><A NAME="configure()"><!-- --></A><H3>configure</H3><PRE>public void <B>configure</B>()</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 <B>isHiddenValue</B>(long millis)</PRE><DL><DD>Returns <code>true</code> if the axis hides this value, and <code>false</code> otherwise.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>millis</CODE> - the data value.<DT><B>Returns:</B><DD>A value.</DL></DD></DL><HR><A NAME="valueToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>valueToJava2D</H3><PRE>public double <B>valueToJava2D</B>(double value, java.awt.geom.Rectangle2D area, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Translates the data value to the display coordinates (Java 2D User Space) of the chart.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#valueToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">valueToJava2D</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>value</CODE> - the date to be plotted.<DD><CODE>area</CODE> - the rectangle (in Java2D space) where the data is to be plotted.<DD><CODE>edge</CODE> - the axis location.<DT><B>Returns:</B><DD>the coordinate corresponding to the supplied data value.</DL></DD></DL><HR><A NAME="dateToJava2D(java.util.Date, java.awt.geom.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -