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

📄 logarithmicaxis.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<P><DD><DL></DL></DD></DL><HR><A NAME="switchedLog10(double)"><!-- --></A><H3>switchedLog10</H3><PRE>protected double <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.316"><B>switchedLog10</B></A>(double&nbsp;val)</PRE><DL><DD>Returns the log10 value, depending on if values between 0 and 1 are being plotted.  If negative values are not allowed and the lower bound is between 0 and 10 then a normal log is returned; otherwise the returned value is adjusted if the given value is less than 10.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - the value.<DT><B>Returns:</B><DD>log<sub>10</sub>(val).</DL></DD></DL><HR><A NAME="adjustedLog10(double)"><!-- --></A><H3>adjustedLog10</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.333"><B>adjustedLog10</B></A>(double&nbsp;val)</PRE><DL><DD>Returns an adjusted log10 value for graphing purposes.  The first adjustment is that negative values are changed to positive during the calculations, and then the answer is negated at the end.  The second is that, for values less than 10, an increasingly large (0 to 1) scaling factor is added such that at 0 the value is adjusted to 1, resulting in a returned result of 0.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - value for which log10 should be calculated.<DT><B>Returns:</B><DD>An adjusted log<sub>10</sub>(val).</DL></DD></DL><HR><A NAME="computeLogFloor(double)"><!-- --></A><H3>computeLogFloor</H3><PRE>protected double <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.356"><B>computeLogFloor</B></A>(double&nbsp;lower)</PRE><DL><DD>Returns the largest (closest to positive infinity) double value that is not greater 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>lower</CODE> - a double value below which a floor will be calcualted.<DT><B>Returns:</B><DD>10<sup>N</sup> with N .. { 1 ... }</DL></DD></DL><HR><A NAME="computeLogCeil(double)"><!-- --></A><H3>computeLogCeil</H3><PRE>protected double <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.406"><B>computeLogCeil</B></A>(double&nbsp;upper)</PRE><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 <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.452"><B>autoAdjustRange</B></A>()</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" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="valueToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>valueToJava2D</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.573"><B>valueToJava2D</B></A>(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#valueToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">valueToJava2D</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">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="java2DToValue(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>java2DToValue</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.615"><B>java2DToValue</B></A>(double&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#java2DToValue(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">java2DToValue</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">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="refreshTicksHorizontal(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicksHorizontal</H3><PRE>protected java.util.List <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.657"><B>refreshTicksHorizontal</B></A>(java.awt.Graphics2D&nbsp;g2,                                                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#refreshTicksHorizontal(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">refreshTicksHorizontal</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area in which the plot should be drawn.<DD><CODE>edge</CODE> - the location of the axis.<DT><B>Returns:</B><DD>A list of ticks.</DL></DD></DL><HR><A NAME="refreshTicksVertical(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicksVertical</H3><PRE>protected java.util.List <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.808"><B>refreshTicksVertical</B></A>(java.awt.Graphics2D&nbsp;g2,                                              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#refreshTicksVertical(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">refreshTicksVertical</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area in which the plot should be drawn.<DD><CODE>edge</CODE> - the location of the axis.<DT><B>Returns:</B><DD>A list of ticks.</DL></DD></DL><HR><A NAME="makeTickLabel(double, boolean)"><!-- --></A><H3>makeTickLabel</H3><PRE>protected java.lang.String <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.1004"><B>makeTickLabel</B></A>(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 <A HREF="../../../../src-html/org/jfree/chart/axis/LogarithmicAxis.html#line.1019"><B>makeTickLabel</B></A>(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 BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#E

⌨️ 快捷键说明

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