📄 combinedrangecategoryplot.html
字号:
add</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.163"><B>add</B></A>(<A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A> subplot, int weight)</PRE><DL><DD>Adds a subplot and sends a <A HREF="../../../../org/jfree/chart/event/PlotChangeEvent.html" title="class in org.jfree.chart.event"><CODE>PlotChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subplot</CODE> - the subplot (<code>null</code> not permitted).<DD><CODE>weight</CODE> - the weight (must be >= 1).</DL></DD></DL><HR><A NAME="remove(org.jfree.chart.plot.CategoryPlot)"><!-- --></A><H3>remove</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.193"><B>remove</B></A>(<A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</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 (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getSubplots()"><!-- --></A><H3>getSubplots</H3><PRE>public java.util.List <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.230"><B>getSubplots</B></A>()</PRE><DL><DD>Returns the list of subplots.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The list (unmodifiable).</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> <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.242"><B>calculateAxisSpace</B></A>(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/CategoryPlot.html#calculateAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">calculateAxisSpace</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">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, java.awt.geom.Point2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.331"><B>draw</B></A>(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 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, 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/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</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>anchor</CODE> - the anchor point (<code>null</code> permitted).<DD><CODE>parentState</CODE> - the parent state.<DD><CODE>info</CODE> - collects information about the drawing (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="setOrientation(org.jfree.chart.plot.PlotOrientation)"><!-- --></A><H3>setOrientation</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.385"><B>setOrientation</B></A>(<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 the subplots).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#setOrientation(org.jfree.chart.plot.PlotOrientation)">setOrientation</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</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" title="class in org.jfree.data">Range</A> <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.405"><B>getDataRange</B></A>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">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" title="interface in org.jfree.chart.plot">ValueAxisPlot</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getDataRange(org.jfree.chart.axis.ValueAxis)">getDataRange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</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="getLegendItems()"><!-- --></A><H3>getLegendItems</H3><PRE>public <A HREF="../../../../org/jfree/chart/LegendItemCollection.html" title="class in org.jfree.chart">LegendItemCollection</A> <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.424"><B>getLegendItems</B></A>()</PRE><DL><DD>Returns a collection of legend items for the plot.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/LegendItemSource.html#getLegendItems()">getLegendItems</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/LegendItemSource.html" title="interface in org.jfree.chart">LegendItemSource</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getLegendItems()">getLegendItems</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The legend items.</DL></DD></DL><HR><A NAME="setFixedDomainAxisSpaceForSubplots(org.jfree.chart.axis.AxisSpace)"><!-- --></A><H3>setFixedDomainAxisSpaceForSubplots</H3><PRE>protected void <A HREF="../../../../src-html/org/jfree/chart/plot/CombinedRangeCategoryPlot.html#line.446"><B>setFixedDomainAxisSpaceForSubplots</B></A>(<A HREF="../../../../org/jfree/chart/axis/AxisSpace.html" title="class in org.jfree.chart.axis">AxisSpace</A> space)</PRE><DL><DD>Sets the size (width or height, depending on the orientation of the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -