valueaxis.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,632 行 · 第 1/5 页
HTML
1,632 行
<DL><DD>Returns true if the tick labels should be rotated (to vertical), and false otherwise.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="setVerticalTickLabels(boolean)"><!-- --></A><H3>setVerticalTickLabels</H3><PRE>public void <B>setVerticalTickLabels</B>(boolean flag)</PRE><DL><DD>Sets the flag that controls whether the tick labels are displayed vertically (that is, rotated 90 degrees from horizontal). <P> If the flag is changed, 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>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="isAxisLineVisible()"><!-- --></A><H3>isAxisLineVisible</H3><PRE>public boolean <B>isAxisLineVisible</B>()</PRE><DL><DD>A flag that controls whether or not the axis line is drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setAxisLineVisible(boolean)"><!-- --></A><H3>setAxisLineVisible</H3><PRE>public void <B>setAxisLineVisible</B>(boolean visible)</PRE><DL><DD>Sets a flag that controls whether or not the axis line is visible.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - the flag.</DL></DD></DL><HR><A NAME="isPositiveArrowVisible()"><!-- --></A><H3>isPositiveArrowVisible</H3><PRE>public boolean <B>isPositiveArrowVisible</B>()</PRE><DL><DD>A flag that controls whether or not the axis line has a positive arrow.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setPositiveArrowVisible(boolean)"><!-- --></A><H3>setPositiveArrowVisible</H3><PRE>public void <B>setPositiveArrowVisible</B>(boolean visible)</PRE><DL><DD>Sets a flag that controls whether or not the positive arrow on the axis line is visible.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - the flag.</DL></DD></DL><HR><A NAME="isNegativeArrowVisible()"><!-- --></A><H3>isNegativeArrowVisible</H3><PRE>public boolean <B>isNegativeArrowVisible</B>()</PRE><DL><DD>A flag that controls whether or not the axis line has a negative arrow.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setNegativeArrowVisible(boolean)"><!-- --></A><H3>setNegativeArrowVisible</H3><PRE>public void <B>setNegativeArrowVisible</B>(boolean visible)</PRE><DL><DD>Sets a flag that controls whether or not the negative arrow on the axis line is visible.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - the flag.</DL></DD></DL><HR><A NAME="getAxisLinePaint()"><!-- --></A><H3>getAxisLinePaint</H3><PRE>public java.awt.Paint <B>getAxisLinePaint</B>()</PRE><DL><DD>Returns the paint used to draw the axis line.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setAxisLinePaint(java.awt.Paint)"><!-- --></A><H3>setAxisLinePaint</H3><PRE>public void <B>setAxisLinePaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to draw the axis line. 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>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="getAxisLineStroke()"><!-- --></A><H3>getAxisLineStroke</H3><PRE>public java.awt.Stroke <B>getAxisLineStroke</B>()</PRE><DL><DD>Returns the stroke used to draw the axis line.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The stroke.</DL></DD></DL><HR><A NAME="setAxisLineStroke(java.awt.Stroke)"><!-- --></A><H3>setAxisLineStroke</H3><PRE>public void <B>setAxisLineStroke</B>(java.awt.Stroke stroke)</PRE><DL><DD>Sets the stroke used to draw the axis line. 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>stroke</CODE> - the stroke.</DL></DD></DL><HR><A NAME="drawAxisLine(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>drawAxisLine</H3><PRE>protected void <B>drawAxisLine</B>(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Draws an axis line at the current cursor position and edge.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>cursor</CODE> - the cursor position.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>edge</CODE> - the edge.</DL></DD></DL><HR><A NAME="isInverted()"><!-- --></A><H3>isInverted</H3><PRE>public boolean <B>isInverted</B>()</PRE><DL><DD>Returns a flag that controls the direction of values on the axis. <P> For a regular axis, values increase from left to right (for a horizontal axis) and bottom to top (for a vertical axis). When the axis is 'inverted', the values increase in the opposite direction.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the flag.</DL></DD></DL><HR><A NAME="setInverted(boolean)"><!-- --></A><H3>setInverted</H3><PRE>public void <B>setInverted</B>(boolean flag)</PRE><DL><DD>Sets a flag that controls the direction of values on the axis, and notifies registered listeners that the axis has changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="isAutoRange()"><!-- --></A><H3>isAutoRange</H3><PRE>public boolean <B>isAutoRange</B>()</PRE><DL><DD>Returns true if the axis range is automatically adjusted to fit the data.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the auto-range flag.</DL></DD></DL><HR><A NAME="setAutoRange(boolean)"><!-- --></A><H3>setAutoRange</H3><PRE>public void <B>setAutoRange</B>(boolean auto)</PRE><DL><DD>Sets a flag that determines whether or not the axis range is automatically adjusted to fit the data, and notifies registered listeners that the axis has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>auto</CODE> - the new value of the flag.</DL></DD></DL><HR><A NAME="setAutoRange(boolean, boolean)"><!-- --></A><H3>setAutoRange</H3><PRE>protected void <B>setAutoRange</B>(boolean auto, boolean notify)</PRE><DL><DD>Sets the auto range attribute. If the <code>notify</code> flag is set, an <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html"><CODE>AxisChangeEvent</CODE></A> is sent to registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>auto</CODE> - the new value of the flag.<DD><CODE>notify</CODE> - notify listeners?</DL></DD></DL><HR><A NAME="getAutoRangeMinimumSize()"><!-- --></A><H3>getAutoRangeMinimumSize</H3><PRE>public double <B>getAutoRangeMinimumSize</B>()</PRE><DL><DD>Returns the minimum size allowed for the axis range when it is automatically calculated.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the minimum range.</DL></DD></DL><HR><A NAME="setAutoRangeMinimumSize(double)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?