⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xyseries.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 <P> The unusual pairing of parameter types is to make it easier to add null y-values.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x value.<DD><CODE>y</CODE> - the y value (<code>null</code> permitted).<DD><CODE>notify</CODE> - a flag that controls whether or not a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> is sent to                 all registered listeners.</DL></DD></DL><HR><A NAME="add(java.lang.Number, java.lang.Number)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(java.lang.Number&nbsp;x,                java.lang.Number&nbsp;y)</PRE><DL><DD>Adds new data to the series and sends a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> to all registered  listeners. <P> Throws an exception if the x-value is a duplicate AND the allowDuplicateXValues flag is false.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-value (<code>null</code> not permitted).<DD><CODE>y</CODE> - the y-value (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="add(java.lang.Number, java.lang.Number, boolean)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(java.lang.Number&nbsp;x,                java.lang.Number&nbsp;y,                boolean&nbsp;notify)</PRE><DL><DD>Adds new data to the series and, if requested, sends a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> to all registered listeners. <P> Throws an exception if the x-value is a duplicate AND the allowDuplicateXValues flag is false.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-value (<code>null</code> not permitted).<DD><CODE>y</CODE> - the y-value (<code>null</code> permitted).<DD><CODE>notify</CODE> - a flag the controls whether or not a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> is sent to                 all registered listeners.</DL></DD></DL><HR><A NAME="delete(int, int)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(int&nbsp;start,                   int&nbsp;end)</PRE><DL><DD>Deletes a range of items from the series and sends a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> to all  registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - the start index (zero-based).<DD><CODE>end</CODE> - the end index (zero-based).</DL></DD></DL><HR><A NAME="remove(int)"><!-- --></A><H3>remove</H3><PRE>public <A HREF="../../../org/jfree/data/XYDataItem.html" title="class in org.jfree.data">XYDataItem</A> <B>remove</B>(int&nbsp;index)</PRE><DL><DD>Removes the item at the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Returns:</B><DD>the item removed.</DL></DD></DL><HR><A NAME="remove(java.lang.Number)"><!-- --></A><H3>remove</H3><PRE>public <A HREF="../../../org/jfree/data/XYDataItem.html" title="class in org.jfree.data">XYDataItem</A> <B>remove</B>(java.lang.Number&nbsp;x)</PRE><DL><DD>Removes the item(s) with the specified x-value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-value.<DT><B>Returns:</B><DD>the item removed.</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>Removes all data items from the series.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDataItem(int)"><!-- --></A><H3>getDataItem</H3><PRE>public <A HREF="../../../org/jfree/data/XYDataItem.html" title="class in org.jfree.data">XYDataItem</A> <B>getDataItem</B>(int&nbsp;index)</PRE><DL><DD>Return the data item with the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Returns:</B><DD>the data item with the specified index.</DL></DD></DL><HR><A NAME="getXValue(int)"><!-- --></A><H3>getXValue</H3><PRE>public java.lang.Number <B>getXValue</B>(int&nbsp;index)</PRE><DL><DD>Returns the x-value at the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index (zero-based).<DT><B>Returns:</B><DD>the x-value (never <code>null</code>).</DL></DD></DL><HR><A NAME="getYValue(int)"><!-- --></A><H3>getYValue</H3><PRE>public java.lang.Number <B>getYValue</B>(int&nbsp;index)</PRE><DL><DD>Returns the y-value at the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index (zero-based).<DT><B>Returns:</B><DD>the y-value (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="update(int, java.lang.Number)"><!-- --></A><H3>update</H3><PRE>public void <B>update</B>(int&nbsp;index,                   java.lang.Number&nbsp;y)</PRE><DL><DD>Updates the value of an item in the series and sends a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the item (zero based index).<DD><CODE>y</CODE> - the new value (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="indexOf(java.lang.Number)"><!-- --></A><H3>indexOf</H3><PRE>public int <B>indexOf</B>(java.lang.Number&nbsp;x)</PRE><DL><DD>Returns the index of the item with the specified x-value. Note: if the series is not sorted in order of ascending x-values, the result is undefined.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-value (<code>null</code> not permitted).<DT><B>Returns:</B><DD>the index.</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 series.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jfree/data/Series.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a clone of the time series.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if there is a cloning problem.</DL></DD></DL><HR><A NAME="createCopy(int, int)"><!-- --></A><H3>createCopy</H3><PRE>public <A HREF="../../../org/jfree/data/XYSeries.html" title="class in org.jfree.data">XYSeries</A> <B>createCopy</B>(int&nbsp;start,                           int&nbsp;end)                    throws java.lang.CloneNotSupportedException</PRE><DL><DD>Creates a new series by copying a subset of the data in this time series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - the index of the first item to copy.<DD><CODE>end</CODE> - the index of the last item to copy.<DT><B>Returns:</B><DD>a series containing a copy of this series from start until end.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if there is a cloning problem.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;object)</PRE><DL><DD>Tests this series for equality with an arbitrary object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jfree/data/Series.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to test against for equality (<code>null</code> permitted).<DT><B>Returns:</B><DD>a boolean.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jfree/data/Series.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a hash code.</DL></DD></DL><HR><A NAME="getDataPair(int)"><!-- --></A><H3>getDataPair</H3><PRE>public <A HREF="../../../org/jfree/data/XYDataPair.html" title="class in org.jfree.data">XYDataPair</A> <B>getDataPair</B>(int&nbsp;index)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use getDataItem(index).</I><P><DD>Return the data pair with the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Returns:</B><DD>the data pair with the specified index.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/jfree/data/XYDatasetTableModel.html" title="class in org.jfree.data"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/data/XYSeriesCollection.html" title="class in org.jfree.data"><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>  &nbsp;&nbsp;<A HREF="XYSeries.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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