valueaxis.html

来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,632 行 · 第 1/5 页

HTML
1,632 行
字号
setAutoRangeMinimumSize</H3><PRE>public void <B>setAutoRangeMinimumSize</B>(double&nbsp;size)</PRE><DL><DD>Sets the auto range minimum size, with no other side effects.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the new size.</DL></DD></DL><HR><A NAME="setAutoRangeMinimumSize(double, boolean)"><!-- --></A><H3>setAutoRangeMinimumSize</H3><PRE>public void <B>setAutoRangeMinimumSize</B>(double&nbsp;size,                                    boolean&nbsp;notify)</PRE><DL><DD>Sets the minimum size allowed for the axis range when it is automatically calculated. <p> If requested, an <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html"><CODE>AxisChangeEvent</CODE></A> is forwarded to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the new minimum.<DD><CODE>notify</CODE> - notify listeners?</DL></DD></DL><HR><A NAME="getUpperMargin()"><!-- --></A><H3>getUpperMargin</H3><PRE>public double <B>getUpperMargin</B>()</PRE><DL><DD>Returns the margin (a percentage of the current range) by which the upper bound for the axis exceeds the maximum data value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the upper margin.</DL></DD></DL><HR><A NAME="setUpperMargin(double)"><!-- --></A><H3>setUpperMargin</H3><PRE>public void <B>setUpperMargin</B>(double&nbsp;margin)</PRE><DL><DD>Sets the upper margin for the axis, as a percentage of the current range. <P> This margin is added only when the axis range is auto-calculated. <P> The default is 5 percent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>margin</CODE> - the new margin.</DL></DD></DL><HR><A NAME="getLowerMargin()"><!-- --></A><H3>getLowerMargin</H3><PRE>public double <B>getLowerMargin</B>()</PRE><DL><DD>Returns the margin (a percentage of the current range) by which the lower bound for the axis is less than the minimum data value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the lower margin.</DL></DD></DL><HR><A NAME="setLowerMargin(double)"><!-- --></A><H3>setLowerMargin</H3><PRE>public void <B>setLowerMargin</B>(double&nbsp;margin)</PRE><DL><DD>Sets the lower margin for the axis, as a percentage of the current range. <P> This margin is added only when the axis range is auto-calculated. <P> The default is 5 percent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>margin</CODE> - the new margin.</DL></DD></DL><HR><A NAME="getFixedAutoRange()"><!-- --></A><H3>getFixedAutoRange</H3><PRE>public double <B>getFixedAutoRange</B>()</PRE><DL><DD>Returns the fixed auto range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the length.</DL></DD></DL><HR><A NAME="setFixedAutoRange(double)"><!-- --></A><H3>setFixedAutoRange</H3><PRE>public void <B>setFixedAutoRange</B>(double&nbsp;length)</PRE><DL><DD>Sets the fixed auto range for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>length</CODE> - the range length.</DL></DD></DL><HR><A NAME="getMinimumAxisValue()"><!-- --></A><H3>getMinimumAxisValue</H3><PRE>public double <B>getMinimumAxisValue</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use getLowerBound().</I><P><DD>Returns the minimum value for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the minimum value for the axis.</DL></DD></DL><HR><A NAME="getLowerBound()"><!-- --></A><H3>getLowerBound</H3><PRE>public double <B>getLowerBound</B>()</PRE><DL><DD>Returns the lower bound of the axis range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The lower bound.</DL></DD></DL><HR><A NAME="setMinimumAxisValue(double)"><!-- --></A><H3>setMinimumAxisValue</H3><PRE>public void <B>setMinimumAxisValue</B>(double&nbsp;min)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use setLowerBound(...).</I><P><DD>Sets the minimum value for the axis. <P> Registered listeners are notified that the axis has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>min</CODE> - the new minimum.</DL></DD></DL><HR><A NAME="setLowerBound(double)"><!-- --></A><H3>setLowerBound</H3><PRE>public void <B>setLowerBound</B>(double&nbsp;min)</PRE><DL><DD>Sets the lower bound for the axis range.  An <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html"><CODE>AxisChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>min</CODE> - the new minimum.</DL></DD></DL><HR><A NAME="getMaximumAxisValue()"><!-- --></A><H3>getMaximumAxisValue</H3><PRE>public double <B>getMaximumAxisValue</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use getUpperBound().</I><P><DD>Returns the maximum value for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the maximum value.</DL></DD></DL><HR><A NAME="getUpperBound()"><!-- --></A><H3>getUpperBound</H3><PRE>public double <B>getUpperBound</B>()</PRE><DL><DD>Returns the upper bound for the axis range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The upper bound.</DL></DD></DL><HR><A NAME="setMaximumAxisValue(double)"><!-- --></A><H3>setMaximumAxisValue</H3><PRE>public void <B>setMaximumAxisValue</B>(double&nbsp;max)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use setUpperBound(...).</I><P><DD>Sets the maximum value for the axis. <P> Registered listeners are notified that the axis has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>max</CODE> - the new maximum.</DL></DD></DL><HR><A NAME="setUpperBound(double)"><!-- --></A><H3>setUpperBound</H3><PRE>public void <B>setUpperBound</B>(double&nbsp;max)</PRE><DL><DD>Sets the upper bound for the axis range.  An <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html"><CODE>AxisChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>max</CODE> - the new maximum.</DL></DD></DL><HR><A NAME="getRange()"><!-- --></A><H3>getRange</H3><PRE>public <A HREF="../../../../org/jfree/data/Range.html">Range</A> <B>getRange</B>()</PRE><DL><DD>Returns the range for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the axis range.</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">Range</A>&nbsp;range,                     boolean&nbsp;turnOffAutoRange,                     boolean&nbsp;notify)</PRE><DL><DD>Sets the upper and lower bounds for the axis.  Registered listeners are notified of the change. <P> As a side-effect, the auto-range flag is set to <code>false</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>range</CODE> - the new range.<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>

⌨️ 快捷键说明

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