categoryplot.html

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

HTML
1,131
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#addRangeMarker(org.jfree.chart.Marker)">addRangeMarker</A></B>(<A HREF="../../../../org/jfree/chart/Marker.html">Marker</A>&nbsp;marker)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a marker for display against the range axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#addSecondaryRangeMarker(org.jfree.chart.Marker)">addSecondaryRangeMarker</A></B>(<A HREF="../../../../org/jfree/chart/Marker.html">Marker</A>&nbsp;marker)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a marker for display against the secondary range axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#calculateAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">calculateAxisSpace</A></B>(java.awt.Graphics2D&nbsp;g2,                   java.awt.geom.Rectangle2D&nbsp;plotArea)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the space required for the axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#calculateDomainAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.axis.AxisSpace)">calculateDomainAxisSpace</A></B>(java.awt.Graphics2D&nbsp;g2,                         java.awt.geom.Rectangle2D&nbsp;plotArea,                         <A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A>&nbsp;space)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the space required for the domain axis/axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#calculateRangeAxisSpace(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.axis.AxisSpace)">calculateRangeAxisSpace</A></B>(java.awt.Graphics2D&nbsp;g2,                        java.awt.geom.Rectangle2D&nbsp;plotArea,                        <A HREF="../../../../org/jfree/chart/axis/AxisSpace.html">AxisSpace</A>&nbsp;space)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the space required for the range axis/axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#clearRangeMarkers()">clearRangeMarkers</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears all the range markers for the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#clearSecondaryDomainAxes()">clearSecondaryDomainAxes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the secondary domain axes from the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#clearSecondaryRangeAxes()">clearSecondaryRangeAxes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the secondary range axes from the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#clearSecondaryRangeMarkers()">clearSecondaryRangeMarkers</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears all the secondary range markers for the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#clone()">clone</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a clone of the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#configureSecondaryDomainAxes()">configureSecondaryDomainAxes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configures the secondary domain axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#configureSecondaryRangeAxes()">configureSecondaryRangeAxes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configures the secondary range axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#datasetChanged(org.jfree.data.DatasetChangeEvent)">datasetChanged</A></B>(<A HREF="../../../../org/jfree/data/DatasetChangeEvent.html">DatasetChangeEvent</A>&nbsp;event)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receives notification of a change to the plot's dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)">draw</A></B>(java.awt.Graphics2D&nbsp;g2,     java.awt.geom.Rectangle2D&nbsp;plotArea,     <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the plot on a Java 2D graphics device (such as the screen or a printer).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#drawAnnotations(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawAnnotations</A></B>(java.awt.Graphics2D&nbsp;g2,                java.awt.geom.Rectangle2D&nbsp;dataArea)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the annotations...</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#drawAxes(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)">drawAxes</A></B>(java.awt.Graphics2D&nbsp;g2,         java.awt.geom.Rectangle2D&nbsp;plotArea,         java.awt.geom.Rectangle2D&nbsp;dataArea)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A utility method for drawing the axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#drawGridlines(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawGridlines</A></B>(java.awt.Graphics2D&nbsp;g2,              java.awt.geom.Rectangle2D&nbsp;dataArea)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the gridlines for the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#drawRangeLine(java.awt.Graphics2D, java.awt.geom.Rectangle2D, double, java.awt.Stroke, java.awt.Paint)">drawRangeLine</A></B>(java.awt.Graphics2D&nbsp;g2,              java.awt.geom.Rectangle2D&nbsp;dataArea,              double&nbsp;value,              java.awt.Stroke&nbsp;stroke,              java.awt.Paint&nbsp;paint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility method for drawing a line perpendicular to the range axis (used for crosshairs).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#drawRangeMarkers(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawRangeMarkers</A></B>(java.awt.Graphics2D&nbsp;g2,                 java.awt.geom.Rectangle2D&nbsp;dataArea)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the range markers (if any).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#drawSecondaryRangeMarkers(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawSecondaryRangeMarkers</A></B>(java.awt.Graphics2D&nbsp;g2,                          java.awt.geom.Rectangle2D&nbsp;dataArea)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the secondary range markers (if any).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests the plot for equality with an arbitrary object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getAnchorValue()">getAnchorValue</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the anchor value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getAnnotations()">getAnnotations</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of annotations.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/chart/Spacer.html">Spacer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getAxisOffset()">getAxisOffset</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the axis offset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getCategories()">getCategories</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the categories for the plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/data/Range.html">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html#getDataRange(org.jfree.chart.axis.ValueAxis)">getDataRange</A></B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the range of data values that will be plotted against the range axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

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