📄 combinedrangecategoryplot.html
字号:
public <B>CombinedRangeCategoryPlot</B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> rangeAxis)</PRE><DL><DD>Creates a new plot.<P><DT><B>Parameters:</B><DD><CODE>rangeAxis</CODE> - the shared range axis.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><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 (in Java2D units).</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 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>gap</CODE> - the gap between subplots (in Java2D units).</DL></DD></DL><HR><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" title="class in org.jfree.chart.plot">CategoryPlot</A> subplot, int weight)</PRE><DL><DD>Adds a subplot.<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" 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.</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/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, 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 plotArea, <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, 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>plotArea</CODE> - the area within which the plot (including axis labels) should be drawn.<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 <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 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> <B>getDataRange</B>(<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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -