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

📄 numberaxis.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</TABLE><A NAME="autoRangeIncludesZero()"><!-- --></A><H3>autoRangeIncludesZero</H3><PRE>public boolean <B>autoRangeIncludesZero</B>()</PRE><DL><DD>Returns the flag that indicates whether or not the automatic axis range (if indeed it is determined automatically) is forced to include zero.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The flag.</DL></DD></DL><HR><A NAME="setAutoRangeIncludesZero(boolean)"><!-- --></A><H3>setAutoRangeIncludesZero</H3><PRE>public void <B>setAutoRangeIncludesZero</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets the flag that indicates whether or not the axis range, if automatically calculated, is forced to include zero. <p> If the flag is changed to <code>true</code>, the axis range is recalculated. <p> Any change to the flag will trigger an <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event"><CODE>AxisChangeEvent</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the new value of the flag.</DL></DD></DL><HR><A NAME="autoRangeStickyZero()"><!-- --></A><H3>autoRangeStickyZero</H3><PRE>public boolean <B>autoRangeStickyZero</B>()</PRE><DL><DD>Returns a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The flag.</DL></DD></DL><HR><A NAME="setAutoRangeStickyZero(boolean)"><!-- --></A><H3>setAutoRangeStickyZero</H3><PRE>public void <B>setAutoRangeStickyZero</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the new flag.</DL></DD></DL><HR><A NAME="getTickUnit()"><!-- --></A><H3>getTickUnit</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</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.NumberTickUnit)"><!-- --></A><H3>setTickUnit</H3><PRE>public void <B>setTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</A>&nbsp;unit)</PRE><DL><DD>Sets the tick unit 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.  A side effect of calling this method is that the "auto-select" feature for  tick units is switched off (you can restore it using the  <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickUnitSelection(boolean)"><CODE>ValueAxis.setAutoTickUnitSelection(boolean)</CODE></A> method).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the new tick unit (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="setTickUnit(org.jfree.chart.axis.NumberTickUnit, boolean, boolean)"><!-- --></A><H3>setTickUnit</H3><PRE>public void <B>setTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/NumberTickUnit.html" title="class in org.jfree.chart.axis">NumberTickUnit</A>&nbsp;unit,                        boolean&nbsp;notify,                        boolean&nbsp;turnOffAutoSelect)</PRE><DL><DD>Sets the tick unit for the axis and, 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.  In addition, an option is provided to turn off the "auto-select"  feature for tick units (you can restore it using the  <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#setAutoTickUnitSelection(boolean)"><CODE>ValueAxis.setAutoTickUnitSelection(boolean)</CODE></A> method).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the new tick unit (<code>null</code> not permitted).<DD><CODE>notify</CODE> - notify listeners?<DD><CODE>turnOffAutoSelect</CODE> - turn off the auto-tick selection?</DL></DD></DL><HR><A NAME="getNumberFormatOverride()"><!-- --></A><H3>getNumberFormatOverride</H3><PRE>public java.text.NumberFormat <B>getNumberFormatOverride</B>()</PRE><DL><DD>Returns the number format override.  If this is non-null, then it will be used to format the numbers on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number formatter (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setNumberFormatOverride(java.text.NumberFormat)"><!-- --></A><H3>setNumberFormatOverride</H3><PRE>public void <B>setNumberFormatOverride</B>(java.text.NumberFormat&nbsp;formatter)</PRE><DL><DD>Sets the number format override.  If this is non-null, then it will be used to format the numbers on the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>formatter</CODE> - the number formatter (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="getMarkerBand()"><!-- --></A><H3>getMarkerBand</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis">MarkerAxisBand</A> <B>getMarkerBand</B>()</PRE><DL><DD>Returns the (optional) marker band for the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The marker band (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setMarkerBand(org.jfree.chart.axis.MarkerAxisBand)"><!-- --></A><H3>setMarkerBand</H3><PRE>public void <B>setMarkerBand</B>(<A HREF="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis">MarkerAxisBand</A>&nbsp;band)</PRE><DL><DD>Sets the marker band for the axis. <P> The marker band is optional, leave it set to <code>null</code> if you don't require it.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>band</CODE> - the new band (<code>null<code> permitted).</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="autoAdjustRange()"><!-- --></A><H3>autoAdjustRange</H3>

⌨️ 快捷键说明

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