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

📄 timeseries.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DD></DL><HR><A NAME="ageHistoryCountItems()"><!-- --></A><H3>ageHistoryCountItems</H3><PRE>public void <B>ageHistoryCountItems</B>()</PRE><DL><DD>Age items in the series.  Ensure that the timespan from the youngest to the oldest record in the series does not exceed history count.  oldest items will be removed if required.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="ageHistoryCountItems(long)"><!-- --></A><H3>ageHistoryCountItems</H3><PRE>public void <B>ageHistoryCountItems</B>(long&nbsp;latest)</PRE><DL><DD>Age items in the series.  Ensure that the timespan from the supplied time to the oldest record in the series does not exceed history count.  oldest items will be removed if required.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>latest</CODE> - the time to be compared against when aging data.</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 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></DL></DD></DL><HR><A NAME="delete(org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;period)</PRE><DL><DD>Deletes the data item for the given time period 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>period</CODE> - the period of the item to delete (<code>null</code> not permitted).</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 data from start until end index (end inclusive).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - the index of the first period to delete.<DD><CODE>end</CODE> - the index of the last period to delete.</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 time series. <P> Notes: <ul>   <li>no need to clone the domain and range descriptions, since String object is      immutable;</li>   <li>we pass over to the more general method clone(start, end).</li> </ul><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> - not thrown by this class, but subclasses may differ.</DL></DD></DL><HR><A NAME="createCopy(int, int)"><!-- --></A><H3>createCopy</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> <B>createCopy</B>(int&nbsp;start,                             int&nbsp;end)                      throws java.lang.CloneNotSupportedException</PRE><DL><DD>Creates a new timeseries 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 time period to copy.<DD><CODE>end</CODE> - the index of the last time period to copy.<DT><B>Returns:</B><DD>A series containing a copy of this times 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="createCopy(org.jfree.data.time.RegularTimePeriod, org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>createCopy</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> <B>createCopy</B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;start,                             <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;end)                      throws java.lang.CloneNotSupportedException</PRE><DL><DD>Creates a new timeseries 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 first time period to copy.<DD><CODE>end</CODE> - the last time period to copy.<DT><B>Returns:</B><DD>a time series containing a copy of this time 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 the 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 (<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 value for the object.<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>The hashcode</DL></DD></DL><HR><A NAME="getDataPair(int)"><!-- --></A><H3>getDataPair</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimeSeriesDataItem.html" title="class in org.jfree.data.time">TimeSeriesDataItem</A> <B>getDataPair</B>(int&nbsp;index)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use getDataItem(int).</I><P><DD>Returns one data pair for the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the item index (zero-based).<DT><B>Returns:</B><DD>one data pair for the series.</DL></DD></DL><HR><A NAME="getDataPair(org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>getDataPair</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimeSeriesDataItem.html" title="class in org.jfree.data.time">TimeSeriesDataItem</A> <B>getDataPair</B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;period)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use getDataItem(RegularTimePeriod).</I><P><DD>Returns the data pair for a specific period.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>period</CODE> - the period of interest.<DT><B>Returns:</B><DD>the data pair matching the specified period (or null if there is no match).</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/time/TimePeriodValuesCollection.html" title="class in org.jfree.data.time"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/data/time/TimeSeriesCollection.html" title="class in org.jfree.data.time"><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="TimeSeries.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 + -