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

📄 categorylabelposition.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
CategoryLabelPosition</H3><PRE>public <B>CategoryLabelPosition</B>()</PRE><DL><DD>Creates a new position record with default settings.<P></DL><HR><A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <B>CategoryLabelPosition</B>(org.jfree.ui.RectangleAnchor&nbsp;categoryAnchor,                             org.jfree.text.TextBlockAnchor&nbsp;labelAnchor)</PRE><DL><DD>Creates a new category label position record.<P><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).</DL><HR><A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor, org.jfree.chart.axis.CategoryLabelWidthType, float)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <B>CategoryLabelPosition</B>(org.jfree.ui.RectangleAnchor&nbsp;categoryAnchor,                             org.jfree.text.TextBlockAnchor&nbsp;labelAnchor,                             <A HREF="../../../../org/jfree/chart/axis/CategoryLabelWidthType.html" title="class in org.jfree.chart.axis">CategoryLabelWidthType</A>&nbsp;widthType,                             float&nbsp;widthRatio)</PRE><DL><DD>Creates a new category label position record.<P><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).<DD><CODE>widthType</CODE> - the width type (<code>null</code> not permitted).<DD><CODE>widthRatio</CODE> - the maximum label width as a percentage (of the category space or the                     range space).</DL><HR><A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor, org.jfree.ui.TextAnchor, double)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <B>CategoryLabelPosition</B>(org.jfree.ui.RectangleAnchor&nbsp;categoryAnchor,                             org.jfree.text.TextBlockAnchor&nbsp;labelAnchor,                             org.jfree.ui.TextAnchor&nbsp;rotationAnchor,                             double&nbsp;angle)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use alternative constructor.</I><P><DD>Creates a new position record.  The item label anchor is a point relative to the data item (dot, bar or other visual item) on a chart.  The item label is aligned by aligning the text anchor with the item label anchor.<P><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).<DD><CODE>rotationAnchor</CODE> - the rotation anchor (<code>null</code> not permitted).<DD><CODE>angle</CODE> - the rotation angle (<code>null</code> not permitted).</DL><HR><A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor, org.jfree.ui.TextAnchor, double, org.jfree.chart.axis.CategoryLabelWidthType, float)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <B>CategoryLabelPosition</B>(org.jfree.ui.RectangleAnchor&nbsp;categoryAnchor,                             org.jfree.text.TextBlockAnchor&nbsp;labelAnchor,                             org.jfree.ui.TextAnchor&nbsp;rotationAnchor,                             double&nbsp;angle,                             <A HREF="../../../../org/jfree/chart/axis/CategoryLabelWidthType.html" title="class in org.jfree.chart.axis">CategoryLabelWidthType</A>&nbsp;widthType,                             float&nbsp;widthRatio)</PRE><DL><DD>Creates a new position record.  The item label anchor is a point relative to the data item (dot, bar or other visual item) on a chart.  The item label is aligned by aligning the text anchor with the item label anchor.<P><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).<DD><CODE>rotationAnchor</CODE> - the rotation anchor (<code>null</code> not permitted).<DD><CODE>angle</CODE> - the rotation angle (<code>null</code> not permitted).<DD><CODE>widthType</CODE> - the width type (<code>null</code> not permitted).<DD><CODE>widthRatio</CODE> - the maximum label width as a percentage (of the category space or the                     range space).</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getCategoryAnchor()"><!-- --></A><H3>getCategoryAnchor</H3><PRE>public org.jfree.ui.RectangleAnchor <B>getCategoryAnchor</B>()</PRE><DL><DD>Returns the item label anchor.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the item label anchor (never <code>null</code>).</DL></DD></DL><HR><A NAME="getLabelAnchor()"><!-- --></A><H3>getLabelAnchor</H3><PRE>public org.jfree.text.TextBlockAnchor <B>getLabelAnchor</B>()</PRE><DL><DD>Returns the text block anchor.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the text block anchor (never <code>null</code>).</DL></DD></DL><HR><A NAME="getRotationAnchor()"><!-- --></A><H3>getRotationAnchor</H3><PRE>public org.jfree.ui.TextAnchor <B>getRotationAnchor</B>()</PRE><DL><DD>Returns the rotation anchor point.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the rotation anchor point (never <code>null</code>).</DL></DD></DL><HR><A NAME="getAngle()"><!-- --></A><H3>getAngle</H3><PRE>public double <B>getAngle</B>()</PRE><DL><DD>Returns the angle of rotation for the label.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the angle (in radians).</DL></DD></DL><HR><A NAME="getWidthType()"><!-- --></A><H3>getWidthType</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/CategoryLabelWidthType.html" title="class in org.jfree.chart.axis">CategoryLabelWidthType</A> <B>getWidthType</B>()</PRE><DL><DD>Returns the width calculation type.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The width calculation type.</DL></DD></DL><HR><A NAME="getWidthRatio()"><!-- --></A><H3>getWidthRatio</H3><PRE>public float <B>getWidthRatio</B>()</PRE><DL><DD>Returns the ratio used to calculate the maximum category label width.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The ratio.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;object)</PRE><DL><DD>Tests an object for equality with this instance.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object.<DT><B>Returns:</B><DD>a boolean.</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=3 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>&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/CategoryAxis3D.html" title="class in org.jfree.chart.axis"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/axis/CategoryLabelPositions.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" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CategoryLabelPosition.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -