barrenderer.html

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

HTML
803 行
字号
<A NAME="BAR_OUTLINE_WIDTH_THRESHOLD"><!-- --></A><H3>BAR_OUTLINE_WIDTH_THRESHOLD</H3><PRE>public static final double <B>BAR_OUTLINE_WIDTH_THRESHOLD</B></PRE><DL><DD>Constant that controls the minimum width before a bar has an outline drawn.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.renderer.BarRenderer.BAR_OUTLINE_WIDTH_THRESHOLD">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BarRenderer()"><!-- --></A><H3>BarRenderer</H3><PRE>public <B>BarRenderer</B>()</PRE><DL><DD>Default constructor.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getItemMargin()"><!-- --></A><H3>getItemMargin</H3><PRE>public double <B>getItemMargin</B>()</PRE><DL><DD>Returns the item margin.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the margin.</DL></DD></DL><HR><A NAME="setItemMargin(double)"><!-- --></A><H3>setItemMargin</H3><PRE>public void <B>setItemMargin</B>(double&nbsp;percent)</PRE><DL><DD>Sets the item margin.  The value is expressed as a percentage of the available width for plotting all the bars, with the resulting amount to be distributed between all the bars evenly.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the new margin.</DL></DD></DL><HR><A NAME="isDrawBarOutline()"><!-- --></A><H3>isDrawBarOutline</H3><PRE>public boolean <B>isDrawBarOutline</B>()</PRE><DL><DD>Returns a flag that controls whether or not bar outlines are drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setDrawBarOutline(boolean)"><!-- --></A><H3>setDrawBarOutline</H3><PRE>public void <B>setDrawBarOutline</B>(boolean&nbsp;draw)</PRE><DL><DD>Sets the flag that controls whether or not bar outlines are drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>draw</CODE> - the new flag value.</DL></DD></DL><HR><A NAME="getItemLabelAnchorOffset()"><!-- --></A><H3>getItemLabelAnchorOffset</H3><PRE>public double <B>getItemLabelAnchorOffset</B>()</PRE><DL><DD>Returns the item label anchor offset.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The offset.</DL></DD></DL><HR><A NAME="setItemLabelAnchorOffset(double)"><!-- --></A><H3>setItemLabelAnchorOffset</H3><PRE>public void <B>setItemLabelAnchorOffset</B>(double&nbsp;offset)</PRE><DL><DD>Sets the item label anchor offset.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the offset.</DL></DD></DL><HR><A NAME="getBarWidth()"><!-- --></A><H3>getBarWidth</H3><PRE>public double <B>getBarWidth</B>()</PRE><DL><DD>Returns the bar width.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the bar width.</DL></DD></DL><HR><A NAME="setBarWidth(double)"><!-- --></A><H3>setBarWidth</H3><PRE>protected void <B>setBarWidth</B>(double&nbsp;width)</PRE><DL><DD>Updates the calculated bar width.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the new width.</DL></DD></DL><HR><A NAME="getLowerClip()"><!-- --></A><H3>getLowerClip</H3><PRE>public double <B>getLowerClip</B>()</PRE><DL><DD>Returns the lower clip value. <P> This value is recalculated in the initialise() method.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value.</DL></DD></DL><HR><A NAME="getUpperClip()"><!-- --></A><H3>getUpperClip</H3><PRE>public double <B>getUpperClip</B>()</PRE><DL><DD>Returns the upper clip value. <P> This value is recalculated in the initialise() method.

⌨️ 快捷键说明

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