movingaverage.html
来自「JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东」· HTML 代码 · 共 454 行 · 第 1/2 页
HTML
454 行
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MovingAverage()"><!-- --></A><H3>MovingAverage</H3><PRE>public <B>MovingAverage</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="createMovingAverage(org.jfree.data.time.TimeSeriesCollection, java.lang.String, int, int)"><!-- --></A><H3>createMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/time/TimeSeriesCollection.html" title="class in org.jfree.data.time">TimeSeriesCollection</A> <B>createMovingAverage</B>(<A HREF="../../../org/jfree/data/time/TimeSeriesCollection.html" title="class in org.jfree.data.time">TimeSeriesCollection</A> source, java.lang.String suffix, int periodCount, int skip)</PRE><DL><DD>Creates a new <A HREF="../../../org/jfree/data/time/TimeSeriesCollection.html" title="class in org.jfree.data.time"><CODE>TimeSeriesCollection</CODE></A> containing a moving average series for each series in the source collection.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source collection.<DD><CODE>suffix</CODE> - the suffix added to each source series name to create the corresponding moving average series name.<DD><CODE>periodCount</CODE> - the number of periods in the moving average calculation.<DD><CODE>skip</CODE> - the number of initial periods to skip.<DT><B>Returns:</B><DD>A collection of moving average time series.</DL></DD></DL><HR><A NAME="createMovingAverage(org.jfree.data.time.TimeSeries, java.lang.String, int, int)"><!-- --></A><H3>createMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> <B>createMovingAverage</B>(<A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> source, java.lang.String name, int periodCount, int skip)</PRE><DL><DD>Creates a new <A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time"><CODE>TimeSeries</CODE></A> containing moving average values for the given series. <p> If the series is empty (contains zero items), the result is an empty series.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source series.<DD><CODE>name</CODE> - the name of the new series.<DD><CODE>periodCount</CODE> - the number of periods used in the average calculation.<DD><CODE>skip</CODE> - the number of initial periods to skip.<DT><B>Returns:</B><DD>The moving average series.</DL></DD></DL><HR><A NAME="createPointMovingAverage(org.jfree.data.time.TimeSeries, java.lang.String, int)"><!-- --></A><H3>createPointMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> <B>createPointMovingAverage</B>(<A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> source, java.lang.String name, int pointCount)</PRE><DL><DD>Creates a new <A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time"><CODE>TimeSeries</CODE></A> containing moving average values for the given series, calculated by number of points (irrespective of the 'age' of those points). <p> If the series is empty (contains zero items), the result is an empty series. <p> Developed by Benoit Xhenseval (www.ObjectLab.co.uk).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source series.<DD><CODE>name</CODE> - the name of the new series.<DD><CODE>pointCount</CODE> - the number of POINTS used in the average calculation (not periods!)<DT><B>Returns:</B><DD>The moving average series.</DL></DD></DL><HR><A NAME="createMovingAverage(org.jfree.data.XYDataset, java.lang.String, long, long)"><!-- --></A><H3>createMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> <B>createMovingAverage</B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> source, java.lang.String suffix, long period, long skip)</PRE><DL><DD>Creates a new <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data"><CODE>XYDataset</CODE></A> containing the moving averages of each series in the <code>source</code> dataset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source dataset.<DD><CODE>suffix</CODE> - the string to append to source series names to create target series names.<DD><CODE>period</CODE> - the averaging period.<DD><CODE>skip</CODE> - the length of the initial skip period.<DT><B>Returns:</B><DD>The dataset.</DL></DD></DL><HR><A NAME="createMovingAverage(org.jfree.data.XYDataset, java.lang.String, double, double)"><!-- --></A><H3>createMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> <B>createMovingAverage</B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> source, java.lang.String suffix, double period, double skip)</PRE><DL><DD>Creates a new <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data"><CODE>XYDataset</CODE></A> containing the moving averages of each series in the <code>source</code> dataset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source dataset.<DD><CODE>suffix</CODE> - the string to append to source series names to create target series names.<DD><CODE>period</CODE> - the averaging period.<DD><CODE>skip</CODE> - the length of the initial skip period.<DT><B>Returns:</B><DD>The dataset.</DL></DD></DL><HR><A NAME="createMovingAverage(org.jfree.data.XYDataset, int, java.lang.String, long, long)"><!-- --></A><H3>createMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/XYSeries.html" title="class in org.jfree.data">XYSeries</A> <B>createMovingAverage</B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> source, int series, java.lang.String name, long period, long skip)</PRE><DL><DD><B>Deprecated.</B> <I>Use similar method with 'double' parameters.</I><P><DD>Creates a new <A HREF="../../../org/jfree/data/XYSeries.html" title="class in org.jfree.data"><CODE>XYSeries</CODE></A> containing the moving averages of one series in the <code>source</code> dataset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source dataset.<DD><CODE>series</CODE> - the series index (zero based).<DD><CODE>name</CODE> - the name for the new series.<DD><CODE>period</CODE> - the averaging period.<DD><CODE>skip</CODE> - the length of the initial skip period.<DT><B>Returns:</B><DD>The dataset.</DL></DD></DL><HR><A NAME="createMovingAverage(org.jfree.data.XYDataset, int, java.lang.String, double, double)"><!-- --></A><H3>createMovingAverage</H3><PRE>public static <A HREF="../../../org/jfree/data/XYSeries.html" title="class in org.jfree.data">XYSeries</A> <B>createMovingAverage</B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> source, int series, java.lang.String name, double period, double skip)</PRE><DL><DD>Creates a new <A HREF="../../../org/jfree/data/XYSeries.html" title="class in org.jfree.data"><CODE>XYSeries</CODE></A> containing the moving averages of one series in the <code>source</code> dataset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source dataset.<DD><CODE>series</CODE> - the series index (zero based).<DD><CODE>name</CODE> - the name for the new series.<DD><CODE>period</CODE> - the averaging period.<DD><CODE>skip</CODE> - the length of the initial skip period.<DT><B>Returns:</B><DD>The dataset.</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> </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/data/MeanAndStandardDeviation.html" title="class in org.jfree.data"><B>PREV CLASS</B></A> <A HREF="../../../org/jfree/data/NonGridContourDataset.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> <A HREF="MovingAverage.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + =
减小字号Ctrl + -
显示快捷键?