boxandwhiskerrenderer.html

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

HTML
514 行
字号
<DD>Returns the box width.<P><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><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the width.</DL></DD></DL><HR><A NAME="getItemMargin()"><!-- --></A><H3>getItemMargin</H3><PRE>public double <B>getItemMargin</B>()</PRE><DL><DD>Returns the item margin.  This is a percentage of the available space that is allocated to the space between items in the chart.<P><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;margin)</PRE><DL><DD>Sets the item margin.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>margin</CODE> - the margin.</DL></DD></DL><HR><A NAME="initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, java.lang.Integer, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>initialise</H3><PRE>public void <B>initialise</B>(java.awt.Graphics2D&nbsp;g2,                       java.awt.geom.Rectangle2D&nbsp;dataArea,                       <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A>&nbsp;plot,                       java.lang.Integer&nbsp;index,                       <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Initialises the renderer. <p> This method gets called once at the start of the process of drawing a chart.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, java.lang.Integer, org.jfree.chart.ChartRenderingInfo)">initialise</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html">CategoryItemRenderer</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, java.lang.Integer, org.jfree.chart.ChartRenderingInfo)">initialise</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html">AbstractCategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area in which the data is to be plotted.<DD><CODE>plot</CODE> - the plot.<DD><CODE>index</CODE> - the renderer index (<code>null</code> for primary index).<DD><CODE>info</CODE> - collects chart rendering information for return to caller.</DL></DD></DL><HR><A NAME="drawItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, 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/plot/CategoryPlot.html">CategoryPlot</A>&nbsp;plot,                     <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html">CategoryAxis</A>&nbsp;domainAxis,                     <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;rangeAxis,                     <A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A>&nbsp;dataset,                     int&nbsp;row,                     int&nbsp;column)</PRE><DL><DD>Draw a single data item.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area in which the data is drawn.<DD><CODE>plot</CODE> - the plot.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>dataset</CODE> - the data.<DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).</DL></DD></DL><HR><A NAME="drawVerticalItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)"><!-- --></A><H3>drawVerticalItem</H3><PRE>public void <B>drawVerticalItem</B>(java.awt.Graphics2D&nbsp;g2,                             java.awt.geom.Rectangle2D&nbsp;dataArea,                             <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A>&nbsp;plot,                             <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html">CategoryAxis</A>&nbsp;domainAxis,                             <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;rangeAxis,                             <A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A>&nbsp;dataset,                             int&nbsp;row,                             int&nbsp;column)</PRE><DL><DD>Draws the visual representation of a single data item.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area within which the plot is being drawn.<DD><CODE>plot</CODE> - the plot (can be used to obtain standard color information etc).<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>dataset</CODE> - the dataset.<DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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/renderer/BarRenderer3D.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/renderer/CandlestickRenderer.html"><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="BoxAndWhiskerRenderer.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.jfree.chart.renderer.AbstractRenderer">FIELD</A>&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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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