📄 combinedrangexyplot.html
字号:
<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><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" title="class in org.jfree.chart.plot">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>the 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" title="class in org.jfree.chart.axis">AxisSpace</A> <B>calculateAxisSpace</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D 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/XYPlot.html#calculateAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">calculateAxisSpace</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">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 required for the axes.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, <A HREF="../../../../org/jfree/chart/plot/PlotState.html" title="class in org.jfree.chart.plot">PlotState</A> parentState, <A HREF="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</A> 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/XYPlot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the area within which the plot (including axis labels) should be drawn.<DD><CODE>parentState</CODE> - the state from the parent plot (if there is one).<DD><CODE>info</CODE> - collects information about the drawing (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Point2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.awt.geom.Point2D anchor, <A HREF="../../../../org/jfree/chart/plot/PlotState.html" title="class in org.jfree.chart.plot">PlotState</A> parentState, <A HREF="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</A> info)</PRE><DL><DD>Draws the plot within the specified area on a graphics device.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Point2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the plot area (in Java2D space).<DD><CODE>anchor</CODE> - an anchor point in Java2D space (<code>null</code> permitted).<DD><CODE>parentState</CODE> - the state from the parent plot, if there is one (<code>null</code> permitted).<DD><CODE>info</CODE> - collects chart drawing information (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="getLegendItems()"><!-- --></A><H3>getLegendItems</H3><PRE>public <A HREF="../../../../org/jfree/chart/LegendItemCollection.html" title="class in org.jfree.chart">LegendItemCollection</A> <B>getLegendItems</B>()</PRE><DL><DD>Returns a collection of legend items for the plot.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getLegendItems()">getLegendItems</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the legend items.</DL></DD></DL><HR><A NAME="zoom(double)"><!-- --></A><H3>zoom</H3><PRE>public void <B>zoom</B>(double percent)</PRE><DL><DD>A zoom method that (currently) does nothing.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#zoom(double)">zoom</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the zoom percentage.</DL></DD></DL><HR><A NAME="setRenderer(org.jfree.chart.renderer.XYItemRenderer)"><!-- --></A><H3>setRenderer</H3><PRE>public void <B>setRenderer</B>(<A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html" title="interface in org.jfree.chart.renderer">XYItemRenderer</A> renderer)</PRE><DL><DD>Sets the item renderer FOR ALL SUBPLOTS. Registered listeners are notified that the plot has been modified. <P> Note: usually you will want to set the renderer independently for each subplot, which is NOT what this method does.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#setRenderer(org.jfree.chart.renderer.XYItemRenderer)">setRenderer</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>renderer</CODE> - the new renderer.</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" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation)</PRE><DL><DD>Sets the orientation for the plot (and all its subplots).<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" title="class in org.jfree.chart.plot">XYPlot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>orientation</CODE> - the orientation.</DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -