combineddomainxyplot.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 750 行 · 第 1/4 页
HTML
750 行
<DL><DD>Creates a new combined plot that shares a domain axis among multiple subplots.<P><DT><B>Parameters:</B><DD><CODE>domainAxis</CODE> - the shared 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="getPlotType()"><!-- --></A><H3>getPlotType</H3><PRE>public java.lang.String <B>getPlotType</B>()</PRE><DL><DD>Returns a string describing the type of plot.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getPlotType()">getPlotType</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The type of plot.</DL></DD></DL><HR><A NAME="setOrientation(org.jfree.chart.plot.PlotOrientation)"><!-- --></A><H3>setOrientation</H3><PRE>public void <B>setOrientation</B>(<A HREF="../../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation)</PRE><DL><DD>Sets the orientation for the plot (also changes the orientation for all the subplots to match).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#setOrientation(org.jfree.chart.plot.PlotOrientation)">setOrientation</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>orientation</CODE> - the orientation.</DL></DD></DL><HR><A NAME="getDataRange(org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>getDataRange</H3><PRE>public <A HREF="../../../../org/jfree/data/Range.html">Range</A> <B>getDataRange</B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> axis)</PRE><DL><DD>Returns the range for the axis. This is the combined range of all the subplots.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/ValueAxisPlot.html#getDataRange(org.jfree.chart.axis.ValueAxis)">getDataRange</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/plot/ValueAxisPlot.html">ValueAxisPlot</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDataRange(org.jfree.chart.axis.ValueAxis)">getDataRange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - the axis.<DT><B>Returns:</B><DD>The range.</DL></DD></DL><HR><A NAME="getGap()"><!-- --></A><H3>getGap</H3><PRE>public double <B>getGap</B>()</PRE><DL><DD>Returns the space between subplots.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the gap</DL></DD></DL><HR><A NAME="setGap(double)"><!-- --></A><H3>setGap</H3><PRE>public void <B>setGap</B>(double gap)</PRE><DL><DD>Sets the amount of space between subplots.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gap</CODE> - the gap between subplots</DL></DD></DL><HR><A NAME="add(org.jfree.chart.plot.XYPlot)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A> subplot)</PRE><DL><DD>Adds a subplot, with a default 'weight' of 1. <P> The subplot should have a null domain axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subplot</CODE> - the subplot.</DL></DD></DL><HR><A NAME="add(org.jfree.chart.plot.XYPlot, int)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A> subplot, int weight)</PRE><DL><DD>Adds a subplot with a particular weight (greater than or equal to one). The weight determines how much space is allocated to the subplot relative to all the other subplots. <P> The domain axis for the subplot will be set to <code>null</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subplot</CODE> - the subplot.<DD><CODE>weight</CODE> - the weight (must be 1 or greater).</DL></DD></DL><HR><A NAME="remove(org.jfree.chart.plot.XYPlot)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A> subplot)</PRE><DL><DD>Removes a subplot from the combined chart.<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 g2, java.awt.geom.Rectangle2D plotArea)</PRE><DL><DD>Calculates the axis space required.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#calculateAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">calculateAxisSpace</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</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.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?