combineddomaincategoryplot.html

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

HTML
595
字号
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="CombinedDomainCategoryPlot()"><!-- --></A><H3>CombinedDomainCategoryPlot</H3><PRE>public <B>CombinedDomainCategoryPlot</B>()</PRE><DL><DD>Default constructor.<P></DL><HR><A NAME="CombinedDomainCategoryPlot(org.jfree.chart.axis.CategoryAxis)"><!-- --></A><H3>CombinedDomainCategoryPlot</H3><PRE>public <B>CombinedDomainCategoryPlot</B>(<A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html">CategoryAxis</A>&nbsp;domainAxis)</PRE><DL><DD>Creates a new plot.<P><DT><B>Parameters:</B><DD><CODE>domainAxis</CODE> - the shared domain axis.</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="add(org.jfree.chart.plot.CategoryPlot, int)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A>&nbsp;subplot,                int&nbsp;weight)</PRE><DL><DD>Adds a subplot to the combined chart.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subplot</CODE> - the subplot.<DD><CODE>weight</CODE> - the weight.</DL></DD></DL><HR><A NAME="remove(org.jfree.chart.plot.CategoryPlot)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A>&nbsp;subplot)</PRE><DL><DD>Removes a subplot from the combined chart.  Potentially, this removes some unique categories from the overall union of the datasets...so the domain axis is reconfigured, then a  <A HREF="../../../../org/jfree/chart/event/PlotChangeEvent.html"><CODE>PlotChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subplot</CODE> - the subplot.</DL></DD></DL><HR><A NAME="getSubplots()"><!-- --></A><H3>getSubplots</H3><PRE>public java.util.List <B>getSubplots</B>()</PRE><DL><DD>Returns the list of subplots.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An unmodifiable list of subplots .</DL></DD></DL><HR><A NAME="calculateAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>calculateAxisSpace</H3><PRE>protected <A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A> <B>calculateAxisSpace</B>(java.awt.Graphics2D&nbsp;g2,                                       java.awt.geom.Rectangle2D&nbsp;plotArea)</PRE><DL><DD>Calculates the space required for the axes.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#calculateAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">calculateAxisSpace</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plotArea</CODE> - the plot area.<DT><B>Returns:</B><DD>The space required for the axes.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                 java.awt.geom.Rectangle2D&nbsp;plotArea,                 <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Draws the plot on a Java 2D graphics device (such as the screen or a printer). Will perform all the placement calculations for each sub-plots and then tell these to draw themselves.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plotArea</CODE> - the area within which the plot (including axis labels) should be drawn.<DD><CODE>info</CODE> - collects information about the drawing (null permitted).</DL></DD></DL><HR><A NAME="setFixedRangeAxisSpaceForSubplots(org.jfree.chart.axis.AxisSpace)"><!-- --></A><H3>setFixedRangeAxisSpaceForSubplots</H3><PRE>protected void <B>setFixedRangeAxisSpaceForSubplots</B>(<A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A>&nbsp;space)</PRE><DL><DD>Sets the size (width or height, depending on the orientation of the plot) for the range axis of each subplot.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>space</CODE> - the space.</DL></DD></DL>

⌨️ 快捷键说明

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