dynamictimeseriescollection.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,446 行 · 第 1/4 页
HTML
1,446 行
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getMinimumDomainValue()">getMinimumDomainValue</A></B>()</CODE><BR> Returns the minimum value in the dataset (or null if all the values in the domain are null).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getMinimumRangeValue()">getMinimumRangeValue</A></B>()</CODE><BR> Returns the minimum range value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getNewestIndex()">getNewestIndex</A></B>()</CODE><BR> Returns the index of the newest data item.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html">RegularTimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getNewestTime()">getNewestTime</A></B>()</CODE><BR> Returns the newest time.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getOldestIndex()">getOldestIndex</A></B>()</CODE><BR> Returns the index of the oldest data item.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html">RegularTimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getOldestTime()">getOldestTime</A></B>()</CODE><BR> Returns the oldest time.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getPosition()">getPosition</A></B>()</CODE><BR> Returns the x position type (START, MIDDLE or END).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getSeriesCount()">getSeriesCount</A></B>()</CODE><BR> Returns the number of series in the collection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getSeriesName(int)">getSeriesName</A></B>(int series)</CODE><BR> Returns the name of a series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getStartXValue(int, int)">getStartXValue</A></B>(int series, int item)</CODE><BR> Returns the start x-value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getStartYValue(int, int)">getStartYValue</A></B>(int series, int item)</CODE><BR> Returns the start y-value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/Range.html">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getValueRange()">getValueRange</A></B>()</CODE><BR> Returns the value range.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getXValue(int, int)">getXValue</A></B>(int series, int item)</CODE><BR> Returns the x-value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getY(int, int)">getY</A></B>(int series, int item)</CODE><BR> Returns the y-value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#getYValue(int, int)">getYValue</A></B>(int series, int item)</CODE><BR> Returns the y-value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#invalidateRangeInfo()">invalidateRangeInfo</A></B>()</CODE><BR> Invalidates the range info.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#offsetFromNewest(int)">offsetFromNewest</A></B>(int delta)</CODE><BR> Returns the actual index to a time offset by "delta" from newestAt.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#offsetFromOldest(int)">offsetFromOldest</A></B>(int delta)</CODE><BR> ??</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#setPosition(int)">setPosition</A></B>(int position)</CODE><BR> Sets the x position type (START, MIDDLE or END).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#setSeriesName(int, java.lang.String)">setSeriesName</A></B>(int seriesNumber, java.lang.String newName)</CODE><BR> Sets the name of a series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#setTimeBase(org.jfree.data.time.RegularTimePeriod)">setTimeBase</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html">RegularTimePeriod</A> start)</CODE><BR> Fill the pointsInTime with times using TimePeriod.next(): Will silently return if the time array was already populated.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#translateGet(int)">translateGet</A></B>(int toFetch)</CODE><BR> Re-map an index, for use in retrieving data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#wrapOffset(int)">wrapOffset</A></B>(int protoIndex)</CODE><BR> ??</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.AbstractSeriesDataset"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../../org/jfree/data/AbstractSeriesDataset.html">AbstractSeriesDataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/AbstractSeriesDataset.html#seriesChanged(org.jfree.data.SeriesChangeEvent)">seriesChanged</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.AbstractDataset"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../../org/jfree/data/AbstractDataset.html">AbstractDataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/AbstractDataset.html#addChangeListener(org.jfree.data.DatasetChangeListener)">addChangeListener</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#clone()">clone</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#fireDatasetChanged()">fireDatasetChanged</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#getGroup()">getGroup</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#notifyListeners(org.jfree.data.DatasetChangeEvent)">notifyListeners</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#removeChangeListener(org.jfree.data.DatasetChangeListener)">removeChangeListener</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#setGroup(org.jfree.data.DatasetGroup)">setGroup</A>, <A HREF="../../../../org/jfree/data/AbstractDataset.html#validateObject()">validateObject</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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> <A NAME="methods_inherited_from_class_org.jfree.data.Dataset"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.jfree.data.<A HREF="../../../../org/jfree/data/Dataset.html">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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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">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">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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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 nSeries, int 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 nSeries, int nMoments, java.util.TimeZone 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 nSeries,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?