logarithmicaxis.html

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

HTML
1,074 行
字号
<DL><DD>Returns the smallest (closest to negative infinity) double value that is not less than the argument, is equal to a mathematical integer and satisfying the condition that log base 10 of the value is an integer (i.e., the value returned will be a power of 10: 1, 10, 100, 1000, etc.).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>upper</CODE> - a double value above which a ceiling will be calcualted.<DT><B>Returns:</B><DD>10<sup>N</sup> with N .. { 1 ... }</DL></DD></DL><HR><A NAME="autoAdjustRange()"><!-- --></A><H3>autoAdjustRange</H3><PRE>public void <B>autoAdjustRange</B>()</PRE><DL><DD>Rescales the axis to ensure that all data is visible.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#autoAdjustRange()">autoAdjustRange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html">NumberAxis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="translateValueToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>translateValueToJava2D</H3><PRE>public double <B>translateValueToJava2D</B>(double&nbsp;value,                                     java.awt.geom.Rectangle2D&nbsp;plotArea,                                     org.jfree.ui.RectangleEdge&nbsp;edge)</PRE><DL><DD>Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified plotArea. Note that it is possible for the coordinate to fall outside the plotArea.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#translateValueToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">translateValueToJava2D</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the data value.<DD><CODE>plotArea</CODE> - the area for plotting the data.<DD><CODE>edge</CODE> - the axis location.<DT><B>Returns:</B><DD>the Java2D coordinate.</DL></DD></DL><HR><A NAME="translateJava2DtoValue(float, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>translateJava2DtoValue</H3><PRE>public double <B>translateJava2DtoValue</B>(float&nbsp;java2DValue,                                     java.awt.geom.Rectangle2D&nbsp;plotArea,                                     org.jfree.ui.RectangleEdge&nbsp;edge)</PRE><DL><DD>Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified plotArea.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#translateJava2DtoValue(float, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">translateJava2DtoValue</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>java2DValue</CODE> - the coordinate in Java2D space.<DD><CODE>plotArea</CODE> - the area in which the data is plotted.<DD><CODE>edge</CODE> - the axis location.<DT><B>Returns:</B><DD>the data value.</DL></DD></DL><HR><A NAME="refreshTicks(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicks</H3><PRE>public void <B>refreshTicks</B>(java.awt.Graphics2D&nbsp;g2,                         double&nbsp;cursor,                         java.awt.geom.Rectangle2D&nbsp;drawArea,                         java.awt.geom.Rectangle2D&nbsp;dataArea,                         org.jfree.ui.RectangleEdge&nbsp;edge)</PRE><DL><DD>Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#refreshTicks(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">refreshTicks</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>cursor</CODE> - the cursor.<DD><CODE>drawArea</CODE> - the area in which the plot and the axes should be drawn.<DD><CODE>dataArea</CODE> - the area in which the plot should be drawn.<DD><CODE>edge</CODE> - the location of the axis.</DL></DD></DL><HR><A NAME="refreshTicksHorizontal(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicksHorizontal</H3><PRE>public void <B>refreshTicksHorizontal</B>(java.awt.Graphics2D&nbsp;g2,                                   java.awt.geom.Rectangle2D&nbsp;drawArea,                                   java.awt.geom.Rectangle2D&nbsp;dataArea,                                   org.jfree.ui.RectangleEdge&nbsp;edge)</PRE><DL><DD>Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>drawArea</CODE> - the area in which the plot and the axes should be drawn.<DD><CODE>dataArea</CODE> - the area in which the plot should be drawn.<DD><CODE>edge</CODE> - the location of the axis.</DL></DD></DL><HR><A NAME="refreshTicksVertical(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicksVertical</H3><PRE>public void <B>refreshTicksVertical</B>(java.awt.Graphics2D&nbsp;g2,                                 java.awt.geom.Rectangle2D&nbsp;plotArea,                                 java.awt.geom.Rectangle2D&nbsp;dataArea,                                 org.jfree.ui.RectangleEdge&nbsp;edge)</PRE><DL><DD>Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plotArea</CODE> - the area in which the plot and the axes should be drawn.<DD><CODE>dataArea</CODE> - the area in which the plot should be drawn.<DD><CODE>edge</CODE> - the axis location.</DL></DD></DL><HR><A NAME="makeTickLabel(double, boolean)"><!-- --></A><H3>makeTickLabel</H3><PRE>protected java.lang.String <B>makeTickLabel</B>(double&nbsp;val,                                         boolean&nbsp;forceFmtFlag)</PRE><DL><DD>Converts the given value to a tick label string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - the value to convert.<DD><CODE>forceFmtFlag</CODE> - true to force the number-formatter object to be used.<DT><B>Returns:</B><DD>The tick label string.</DL></DD></DL><HR><A NAME="makeTickLabel(double)"><!-- --></A><H3>makeTickLabel</H3><PRE>protected java.lang.String <B>makeTickLabel</B>(double&nbsp;val)</PRE><DL><DD>Converts the given value to a tick label string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - the value to convert.<DT><B>Returns:</B><DD>The tick label string.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/jfree/chart/axis/DateTickUnit.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/axis/MarkerAxisBand.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="LogarithmicAxis.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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