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

📄 dynamictimeseriescollection.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.data.IntervalXYDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.jfree.data.<A HREF="../../../../org/jfree/data/IntervalXYDataset.html" title="interface in org.jfree.data">IntervalXYDataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/IntervalXYDataset.html#getEndX(int, int)">getEndX</A>, <A HREF="../../../../org/jfree/data/IntervalXYDataset.html#getEndY(int, int)">getEndY</A>, <A HREF="../../../../org/jfree/data/IntervalXYDataset.html#getStartX(int, int)">getStartX</A>, <A HREF="../../../../org/jfree/data/IntervalXYDataset.html#getStartY(int, int)">getStartY</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.data.XYDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.jfree.data.<A HREF="../../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/XYDataset.html#getX(int, int)">getX</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.data.Dataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.jfree.data.<A HREF="../../../../org/jfree/data/Dataset.html" title="interface in org.jfree.data">Dataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/Dataset.html#addChangeListener(org.jfree.data.DatasetChangeListener)">addChangeListener</A>, <A HREF="../../../../org/jfree/data/Dataset.html#getGroup()">getGroup</A>, <A HREF="../../../../org/jfree/data/Dataset.html#removeChangeListener(org.jfree.data.DatasetChangeListener)">removeChangeListener</A>, <A HREF="../../../../org/jfree/data/Dataset.html#setGroup(org.jfree.data.DatasetGroup)">setGroup</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="START"><!-- --></A><H3>START</H3><PRE>public static final int <B>START</B></PRE><DL><DD>Useful constant for controlling the x-value returned for a time period.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.DynamicTimeSeriesCollection.START">Constant Field Values</A></DL></DL><HR><A NAME="MIDDLE"><!-- --></A><H3>MIDDLE</H3><PRE>public static final int <B>MIDDLE</B></PRE><DL><DD>Useful constant for controlling the x-value returned for a time period.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.DynamicTimeSeriesCollection.MIDDLE">Constant Field Values</A></DL></DL><HR><A NAME="END"><!-- --></A><H3>END</H3><PRE>public static final int <B>END</B></PRE><DL><DD>Useful constant for controlling the x-value returned for a time period.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.DynamicTimeSeriesCollection.END">Constant Field Values</A></DL></DL><HR><A NAME="historyCount"><!-- --></A><H3>historyCount</H3><PRE>protected int <B>historyCount</B></PRE><DL><DD>The history count.<P><DL></DL></DL><HR><A NAME="pointsInTime"><!-- --></A><H3>pointsInTime</H3><PRE>protected <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>[] <B>pointsInTime</B></PRE><DL><DD>Storage for the x-values.<P><DL></DL></DL><HR><A NAME="valueHistory"><!-- --></A><H3>valueHistory</H3><PRE>protected <A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.ValueSequence.html" title="class in org.jfree.data.time">DynamicTimeSeriesCollection.ValueSequence</A>[] <B>valueHistory</B></PRE><DL><DD>An array for storing the objects that represent each series.<P><DL></DL></DL><HR><A NAME="workingCalendar"><!-- --></A><H3>workingCalendar</H3><PRE>protected java.util.Calendar <B>workingCalendar</B></PRE><DL><DD>A working calendar (to recycle)<P><DL></DL></DL><!-- ========= 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="DynamicTimeSeriesCollection(int, int)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <B>DynamicTimeSeriesCollection</B>(int&nbsp;nSeries,                                   int&nbsp;nMoments)</PRE><DL><DD>Constructs a dataset with capacity for N series, tied to default timezone.<P><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series to be accommodated.<DD><CODE>nMoments</CODE> - the number of TimePeriods to be spanned.</DL><HR><A NAME="DynamicTimeSeriesCollection(int, int, java.util.TimeZone)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <B>DynamicTimeSeriesCollection</B>(int&nbsp;nSeries,                                   int&nbsp;nMoments,                                   java.util.TimeZone&nbsp;zone)</PRE><DL><DD>Constructs an empty dataset, tied to a specific timezone.<P><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series to be accommodated<DD><CODE>nMoments</CODE> - the number of TimePeriods to be spanned<DD><CODE>zone</CODE> - the timezone.</DL><HR><A NAME="DynamicTimeSeriesCollection(int, int, org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <B>DynamicTimeSeriesCollection</B>(int&nbsp;nSeries,                                   int&nbsp;nMoments,                                   <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;timeSample)</PRE><DL><DD>Creates a new dataset.<P><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series.<DD><CODE>nMoments</CODE> - the number of items per series.<DD><CODE>timeSample</CODE> - a time period sample.</DL><HR><A NAME="DynamicTimeSeriesCollection(int, int, org.jfree.data.time.RegularTimePeriod, java.util.TimeZone)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <B>DynamicTimeSeriesCollection</B>(int&nbsp;nSeries,                                   int&nbsp;nMoments,                                   <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;timeSample,                                   java.util.TimeZone&nbsp;zone)</PRE><DL><DD>Creates a new dataset.<P><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series.<DD><CODE>nMoments</CODE> - the number of items per series.<DD><CODE>timeSample</CODE> - a time period sample.<DD><CODE>zone</CODE> - the time zone.</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="setTimeBase(org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>setTimeBase</H3><PRE>public long <B>setTimeBase</B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>&nbsp;start)</PRE><DL><DD>Fill the pointsInTime with times using TimePeriod.next(): Will silently return if the time array was already populated. Also computes the data cached for later use by methods implementing the DomainInfo interface:<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - the start.<DT><B>Returns:</B><DD>??.</DL></DD></DL><HR><A NAME="findDomainLimits()"><!-- --></A><H3>findDomainLimits</H3><PRE>protected void <B>findDomainLimits</B>()</PRE><DL><DD>Finds the domain limits. <p> Note: this doesn't need to be synchronized because it's called from within another method that already is.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPosition()"><!-- --></A><H3>getPosition</H3><PRE>public int <B>getPosition</B>()</PRE><DL><DD>Returns the x position type (START, MIDDLE or END).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The x position type.</DL></DD></DL><HR><A NAME="setPosition(int)"><!-- --></A><H3>setPosition</H3><PRE>public void <B>setPosition</B>(int&nbsp;position)</PRE><DL><DD>Sets the x position type (START, MIDDLE or END).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - The x position type.</DL></DD></DL><HR><A NAME="addSeries(float[], int, java.lang.String)"><!-- --></A><H3>addSeries</H3><PRE>public void <B>addSeries</B>(float[]&nbsp;values,                      int&nbsp;seriesNumber,                      java.lang.String&nbsp;seriesName)</PRE><DL><DD>Adds a series to the dataset.  Only the y-values are supplied, the x-values are specified elsewhere.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>values</CODE> - the y-values.<DD><CODE>seriesNumber</CODE> - the series index (zero-based).<DD><CODE>seriesName</CODE> - the seriesName. Use this as-is during setup only, or add the synchronized keyword around the copy loop.</DL></DD></DL><HR><A NAME="setSeriesName(int, java.lang.String)"><!-- --></A><H3>setSeriesName</H3><PRE>public void <B>setSeriesName</B>(int&nbsp;seriesNumber,                          java.lang.String&nbsp;newName)</PRE><DL><DD>Sets the name of a series. <p> If planning to add values individually.<P><DD><DL></DL></DD><DD><DL>

⌨️ 快捷键说明

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