📄 waterfallbarrenderer.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="WaterfallBarRenderer()"><!-- --></A><H3>WaterfallBarRenderer</H3><PRE>public <B>WaterfallBarRenderer</B>()</PRE><DL><DD>Constructs a new renderer with default values for the bar colors.<P></DL><HR><A NAME="WaterfallBarRenderer(java.awt.Paint, java.awt.Paint, java.awt.Paint, java.awt.Paint)"><!-- --></A><H3>WaterfallBarRenderer</H3><PRE>public <B>WaterfallBarRenderer</B>(java.awt.Paint firstBarPaint, java.awt.Paint positiveBarPaint, java.awt.Paint negativeBarPaint, java.awt.Paint lastBarPaint)</PRE><DL><DD>Constructs a new waterfall renderer.<P><DT><B>Parameters:</B><DD><CODE>firstBarPaint</CODE> - the color of the first bar.<DD><CODE>positiveBarPaint</CODE> - the color for bars with positive values.<DD><CODE>negativeBarPaint</CODE> - the color for bars with negative values.<DD><CODE>lastBarPaint</CODE> - the color of the last bar.</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="getRangeExtent(org.jfree.data.CategoryDataset)"><!-- --></A><H3>getRangeExtent</H3><PRE>public <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <B>getRangeExtent</B>(<A HREF="../../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A> dataset)</PRE><DL><DD>Returns the range of values the renderer requires to display all the items from the specified dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html#getRangeExtent(org.jfree.data.CategoryDataset)">getRangeExtent</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html" title="interface in org.jfree.chart.renderer">CategoryItemRenderer</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html#getRangeExtent(org.jfree.data.CategoryDataset)">getRangeExtent</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html" title="class in org.jfree.chart.renderer">AbstractCategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset (<code>null</code> permitted).<DT><B>Returns:</B><DD>The range (or <code>null</code> if the dataset is <code>null</code> or empty).</DL></DD></DL><HR><A NAME="getFirstBarPaint()"><!-- --></A><H3>getFirstBarPaint</H3><PRE>public java.awt.Paint <B>getFirstBarPaint</B>()</PRE><DL><DD>Returns the paint used to draw the first bar.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setFirstBarPaint(java.awt.Paint)"><!-- --></A><H3>setFirstBarPaint</H3><PRE>public void <B>setFirstBarPaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint that will be used to draw the first bar.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="getLastBarPaint()"><!-- --></A><H3>getLastBarPaint</H3><PRE>public java.awt.Paint <B>getLastBarPaint</B>()</PRE><DL><DD>Returns the paint used to draw the last bar.<P><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -