📄 moduloaxis.html
字号:
</DD></DL><HR><A NAME="autoAdjustRange()"><!-- --></A><H3>autoAdjustRange</H3><PRE>protected void <A HREF="../../../../src-html/org/jfree/chart/axis/ModuloAxis.html#line.132"><B>autoAdjustRange</B></A>()</PRE><DL><DD>This method should calculate a range that will show all the data values. For now, it just sets the axis range to the fixedRange.<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/ModuloAxis.html#line.145"><B>valueToJava2D</B></A>(double value, java.awt.geom.Rectangle2D area, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Translates a data value to a Java2D coordinate.<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 value.<DD><CODE>area</CODE> - the area.<DD><CODE>edge</CODE> - the edge.<DT><B>Returns:</B><DD>A 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/ModuloAxis.html#line.303"><B>java2DToValue</B></A>(double java2DValue, java.awt.geom.Rectangle2D area, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Translates a Java2D coordinate into a data value.<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 Java2D coordinate.<DD><CODE>area</CODE> - the area.<DD><CODE>edge</CODE> - the edge.<DT><B>Returns:</B><DD>The Java2D coordinate.</DL></DD></DL><HR><A NAME="resizeRange(double)"><!-- --></A><H3>resizeRange</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/ModuloAxis.html#line.351"><B>resizeRange</B></A>(double percent)</PRE><DL><DD>Increases or decreases the axis range by the specified percentage about the central value 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. <P> To double the length of the axis range, use 200% (2.0). To halve the length of the axis range, use 50% (0.5).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#resizeRange(double)">resizeRange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the resize factor.</DL></DD></DL><HR><A NAME="resizeRange(double, double)"><!-- --></A><H3>resizeRange</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/ModuloAxis.html#line.366"><B>resizeRange</B></A>(double percent, double anchorValue)</PRE><DL><DD>Increases or decreases the axis range by the specified percentage about the specified anchor value 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. <P> To double the length of the axis range, use 200% (2.0). To halve the length of the axis range, use 50% (0.5).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#resizeRange(double, double)">resizeRange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the resize factor.<DD><CODE>anchorValue</CODE> - the new central value after the resize.</DL></DD></DL><HR><A NAME="lengthToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>lengthToJava2D</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/axis/ModuloAxis.html#line.388"><B>lengthToJava2D</B></A>(double length, java.awt.geom.Rectangle2D area, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Converts a length in data coordinates into the corresponding length in Java2D coordinates.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#lengthToJava2D(double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">lengthToJava2D</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>length</CODE> - the length.<DD><CODE>area</CODE> - the plot area.<DD><CODE>edge</CODE> - the edge along which the axis lies.<DT><B>Returns:</B><DD>The length in Java2D coordinates.</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="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ModuloAxis.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/axis/MarkerAxisBand.html" title="class in org.jfree.chart.axis"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/MonthDateFormat.html" title="class in org.jfree.chart.axis"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/chart/axis/ModuloAxis.html" target="_top"><B>FRAMES</B></A> <A HREF="ModuloAxis.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.jfree.chart.axis.NumberAxis">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -