standardxyitemrenderer.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,041 行 · 第 1/4 页
HTML
1,041 行
</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="getGapThreshold()"><!-- --></A><H3>getGapThreshold</H3><PRE>public double <B>getGapThreshold</B>()</PRE><DL><DD>Returns the gap threshold for discontinuous lines.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the gap threshold.</DL></DD></DL><HR><A NAME="setGapThreshold(double)"><!-- --></A><H3>setGapThreshold</H3><PRE>public void <B>setGapThreshold</B>(double t)</PRE><DL><DD>Sets the gap threshold for discontinuous lines.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the threshold.</DL></DD></DL><HR><A NAME="getPlotImages()"><!-- --></A><H3>getPlotImages</H3><PRE>public boolean <B>getPlotImages</B>()</PRE><DL><DD>Returns true if images are being plotted by the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if images are being plotted by the renderer.</DL></DD></DL><HR><A NAME="setPlotImages(boolean)"><!-- --></A><H3>setPlotImages</H3><PRE>public void <B>setPlotImages</B>(boolean flag)</PRE><DL><DD>Sets the flag that controls whether or not an image is drawn at each data point.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="getPlotDiscontinuous()"><!-- --></A><H3>getPlotDiscontinuous</H3><PRE>public boolean <B>getPlotDiscontinuous</B>()</PRE><DL><DD>Returns true if lines should be discontinuous.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if images are being plotted by the renderer.</DL></DD></DL><HR><A NAME="drawItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.XYDataset, int, int, org.jfree.chart.CrosshairInfo, int)"><!-- --></A><H3>drawItem</H3><PRE>public void <B>drawItem</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A> info, <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A> plot, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> domainAxis, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> rangeAxis, <A HREF="../../../../org/jfree/data/XYDataset.html">XYDataset</A> dataset, int series, int item, <A HREF="../../../../org/jfree/chart/CrosshairInfo.html">CrosshairInfo</A> crosshairInfo, int pass)</PRE><DL><DD>Draws the visual representation of a single data item.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#drawItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.XYDataset, int, int, org.jfree.chart.CrosshairInfo, int)">drawItem</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html">XYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area within which the data is being drawn.<DD><CODE>info</CODE> - collects information about the drawing.<DD><CODE>plot</CODE> - the plot (can be used to obtain standard color information etc).<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>dataset</CODE> - the dataset.<DD><CODE>series</CODE> - the series index (zero-based).<DD><CODE>item</CODE> - the item index (zero-based).<DD><CODE>crosshairInfo</CODE> - information about crosshairs on a plot.<DD><CODE>pass</CODE> - the pass index.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Tests this renderer for equality with another object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractXYItemRenderer.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractXYItemRenderer.html">AbstractXYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object.<DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="getImage(org.jfree.chart.plot.Plot, int, int, double, double)"><!-- --></A><H3>getImage</H3><PRE>protected java.awt.Image <B>getImage</B>(<A HREF="../../../../org/jfree/chart/plot/Plot.html">Plot</A> plot, int series, int item, double x, double y)</PRE><DL><DD>Returns the image used to draw a single data item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>plot</CODE> - the plot (can be used to obtain standard color information etc).<DD><CODE>series</CODE> - the series index.<DD><CODE>item</CODE> - the item index.<DD><CODE>x</CODE> - the x value of the item.<DD><CODE>y</CODE> - the y value of the item.<DT><B>Returns:</B><DD>the image.</DL></DD></DL><HR><A NAME="getImageHotspot(org.jfree.chart.plot.Plot, int, int, double, double, java.awt.Image)"><!-- --></A><H3>getImageHotspot</H3><PRE>protected java.awt.Point <B>getImageHotspot</B>(<A HREF="../../../../org/jfree/chart/plot/Plot.html">Plot</A> plot, int series, int item, double x, double y, java.awt.Image image)</PRE><DL><DD>Returns the hotspot of the image used to draw a single data item. The hotspot is the point relative to the top left of the image that should indicate the data item. The default is the center of the image.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>plot</CODE> - the plot (can be used to obtain standard color information etc).<DD><CODE>image</CODE> - the image (can be used to get size information about the image)<DD><CODE>series</CODE> - the series index<DD><CODE>item</CODE> - the item index<DD><CODE>x</CODE> - the x value of the item<DD><CODE>y</CODE> - the y value of the item<DT><B>Returns:</B><DD>the hotspot used to draw the data item.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the renderer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>org.jfree.util.PublicCloneable</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractXYItemRenderer.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractXYItemRenderer.html">AbstractXYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if the renderer cannot be cloned.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/renderer/StackedBarRenderer3D.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/renderer/StatisticalBarRenderer.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="StandardXYItemRenderer.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?