xyplot.html

来自「JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东」· HTML 代码 · 共 1,113 行 · 第 1/5 页

HTML
1,113
字号
&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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#drawBackground(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawBackground</A></B>(java.awt.Graphics2D&nbsp;g2,               java.awt.geom.Rectangle2D&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the background 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/XYPlot.html#drawDomainGridlines(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.util.List)">drawDomainGridlines</A></B>(java.awt.Graphics2D&nbsp;g2,                    java.awt.geom.Rectangle2D&nbsp;dataArea,                    java.util.List&nbsp;ticks)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the gridlines for the plot, if they are visible.</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/XYPlot.html#drawDomainMarkers(java.awt.Graphics2D, java.awt.geom.Rectangle2D, int, org.jfree.ui.Layer)">drawDomainMarkers</A></B>(java.awt.Graphics2D&nbsp;g2,                  java.awt.geom.Rectangle2D&nbsp;dataArea,                  int&nbsp;index,                  org.jfree.ui.Layer&nbsp;layer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the domain markers (if any) for an axis and layer.</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/XYPlot.html#drawDomainMarkers(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.Layer)">drawDomainMarkers</A></B>(java.awt.Graphics2D&nbsp;g2,                  java.awt.geom.Rectangle2D&nbsp;dataArea,                  org.jfree.ui.Layer&nbsp;layer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the domain markers (if any) for the specified layer.</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/XYPlot.html#drawDomainTickBands(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.util.List)">drawDomainTickBands</A></B>(java.awt.Graphics2D&nbsp;g2,                    java.awt.geom.Rectangle2D&nbsp;dataArea,                    java.util.List&nbsp;ticks)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the domain tick bands, 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/XYPlot.html#drawHorizontalLine(java.awt.Graphics2D, java.awt.geom.Rectangle2D, double, java.awt.Stroke, java.awt.Paint)">drawHorizontalLine</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 horizontal line across the data area of 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/XYPlot.html#drawQuadrants(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawQuadrants</A></B>(java.awt.Graphics2D&nbsp;g2,              java.awt.geom.Rectangle2D&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the quadrants.</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/XYPlot.html#drawRangeGridlines(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.util.List)">drawRangeGridlines</A></B>(java.awt.Graphics2D&nbsp;g2,                   java.awt.geom.Rectangle2D&nbsp;dataArea,                   java.util.List&nbsp;ticks)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the gridlines for the plot, if they are visible.</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/XYPlot.html#drawRangeMarkers(java.awt.Graphics2D, java.awt.geom.Rectangle2D, int, org.jfree.ui.Layer)">drawRangeMarkers</A></B>(java.awt.Graphics2D&nbsp;g2,                 java.awt.geom.Rectangle2D&nbsp;dataArea,                 int&nbsp;index,                 org.jfree.ui.Layer&nbsp;layer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the range markers (if any) for a renderer and layer.</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/XYPlot.html#drawRangeMarkers(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.Layer)">drawRangeMarkers</A></B>(java.awt.Graphics2D&nbsp;g2,                 java.awt.geom.Rectangle2D&nbsp;dataArea,                 org.jfree.ui.Layer&nbsp;layer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the range markers (if any) for the specified layer.</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/XYPlot.html#drawRangeTickBands(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.util.List)">drawRangeTickBands</A></B>(java.awt.Graphics2D&nbsp;g2,                   java.awt.geom.Rectangle2D&nbsp;dataArea,                   java.util.List&nbsp;ticks)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the range tick bands, 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/XYPlot.html#drawVerticalLine(java.awt.Graphics2D, java.awt.geom.Rectangle2D, double, java.awt.Stroke, java.awt.Paint)">drawVerticalLine</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 vertical line on the data area of the plot.</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/XYPlot.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests this plot for equality with another object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.jfree.ui.Spacer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.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;<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDataRange(org.jfree.chart.axis.ValueAxis)">getDataRange</A></B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A>&nbsp;axis)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the range for the specified axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDataset()">getDataset</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the primary dataset 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/XYDataset.html" title="interface in org.jfree.data">XYDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDataset(int)">getDataset</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDatasetCount()">getDatasetCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of datasets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/chart/plot/DatasetRenderingOrder.html" title="class in org.jfree.chart.plot">DatasetRenderingOrder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDatasetRenderingOrder()">getDatasetRenderingOrder</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the dataset rendering order.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDomainAxis()">getDomainAxis</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the domain axis 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/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDomainAxis(int)">getDomainAxis</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a domain axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDomainAxisCount()">getDomainAxisCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of domain axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.jfree.ui.RectangleEdge</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDomainAxisEdge()">getDomainAxisEdge</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the edge for the primary domain axis (taking into account the plot's orientation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.jfree.ui.RectangleEdge</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/XYPlot.html#getDomainAxisEdge(int)">getDomainAxisEdge</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the edge for a domain axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

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