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

📄 logarithmicaxis.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
protected double <B>computeLogFloor</B>(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 <B>computeLogCeil</B>(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 <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" 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 <B>valueToJava2D</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#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 <B>java2DToValue</B>(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="refreshTicks(java.awt.Graphics2D, org.jfree.chart.axis.AxisState, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicks</H3><PRE>public java.util.List <B>refreshTicks</B>(java.awt.Graphics2D&nbsp;g2,                                   <A HREF="../../../../org/jfree/chart/axis/AxisState.html" title="class in org.jfree.chart.axis">AxisState</A>&nbsp;state,                                   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, org.jfree.chart.axis.AxisState, 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" 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>state</CODE> - the axis state.<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.<DT><B>Returns:</B><DD>a list of ticks.</DL></DD></DL><HR><A NAME="refreshTicksHorizontal(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicksHorizontal</H3><PRE>public java.util.List <B>refreshTicksHorizontal</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>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>cursor</CODE> - the cursor position.<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.<DT><B>Returns:</B><DD>A list of ticks.</DL></DD></DL><HR><A NAME="refreshTicksVertical(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshTicksVertical</H3><PRE>public java.util.List <B>refreshTicksVertical</B>(java.awt.Graphics2D&nbsp;g2,                                           double&nbsp;cursor,                                           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>cursor</CODE> - the cursor position.<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.<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 <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><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><B>Deprecated.</B>&nbsp;<I>Use valueToJava2D().</I><P><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" 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="translateJava2DToValue(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>translateJava2DToValue</H3><PRE>public double <B>translateJava2DToValue</B>(double&nbsp;java2DValue,                                     java.awt.geom.Rectangle2D&nbsp;plotArea,                                     org.jfree.ui.RectangleEdge&nbsp;edge)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use java2DToValue().</I><P><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(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">translateJava2DToValue</A></CODE> in class <CODE><A HREF

⌨️ 快捷键说明

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