xyboxandwhiskerrenderer.html

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

HTML
644 行
字号
<!-- ========= 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="XYBoxAndWhiskerRenderer()"><!-- --></A><H3>XYBoxAndWhiskerRenderer</H3><PRE>public <B>XYBoxAndWhiskerRenderer</B>()</PRE><DL><DD>Creates a new renderer for box and whisker charts.<P></DL><HR><A NAME="XYBoxAndWhiskerRenderer(double)"><!-- --></A><H3>XYBoxAndWhiskerRenderer</H3><PRE>public <B>XYBoxAndWhiskerRenderer</B>(double&nbsp;boxWidth)</PRE><DL><DD>Creates a new renderer for box and whisker charts. <P> Use -1 for the box width if you prefer the width to be calculated automatically.<P><DT><B>Parameters:</B><DD><CODE>boxWidth</CODE> - The box width.</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="getBoxWidth()"><!-- --></A><H3>getBoxWidth</H3><PRE>public double <B>getBoxWidth</B>()</PRE><DL><DD>Returns the width of each box.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The box width.</DL></DD></DL><HR><A NAME="setBoxWidth(double)"><!-- --></A><H3>setBoxWidth</H3><PRE>public void <B>setBoxWidth</B>(double&nbsp;width)</PRE><DL><DD>Sets the box width. <P> If you set the width to a negative value, the renderer will calculate the box width automatically based on the space available on the chart.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - The width.</DL></DD></DL><HR><A NAME="getPaint()"><!-- --></A><H3>getPaint</H3><PRE>public java.awt.Paint <B>getPaint</B>()</PRE><DL><DD>Returns the paint used to fill boxes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setPaint(java.awt.Paint)"><!-- --></A><H3>setPaint</H3><PRE>public void <B>setPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the paint used to fill boxes. <P> Registered property change listeners are notified that the "BoxAndWhiskerRenderer.paint" property has changed.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html#setPaint(java.awt.Paint)">setPaint</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html">AbstractRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getArtifactPaint()"><!-- --></A><H3>getArtifactPaint</H3><PRE>public java.awt.Paint <B>getArtifactPaint</B>()</PRE><DL><DD>Returns the paint used to paint the various artifacts such as outliers, farout symbol, median line and the averages ellipse.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setArtifactPaint(java.awt.Paint)"><!-- --></A><H3>setArtifactPaint</H3><PRE>public void <B>setArtifactPaint</B>(java.awt.Paint&nbsp;artifactPaint)</PRE><DL><DD>Sets the paint used to paint the various artifacts such as outliers, farout symbol, median line and the averages ellipse.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>artifactPaint</CODE> - the paint.</DL></DD></DL><HR><A NAME="drawItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.XYDataset, int, int, org.jfree.chart.CrosshairInfo, int)"><!-- --></A><H3>drawItem</H3><PRE>public void <B>drawItem</B>(java.awt.Graphics2D&nbsp;g2,                     java.awt.geom.Rectangle2D&nbsp;dataArea,                     <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info,                     <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                     <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;domainAxis,                     <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;rangeAxis,                     <A HREF="../../../../org/jfree/data/XYDataset.html">XYDataset</A>&nbsp;dataset,                     int&nbsp;series,                     int&nbsp;item,                     <A HREF="../../../../org/jfree/chart/CrosshairInfo.html">CrosshairInfo</A>&nbsp;crosshairInfo,

⌨️ 快捷键说明

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