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

📄 dynamictimeseriescollection.html

📁 jfreechart1。0。2的api。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</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 <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.344"><B>findDomainLimits</B></A>()</PRE><DL><DD>Finds the domain limits.  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 <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.365"><B>getPosition</B></A>()</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 <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.374"><B>setPosition</B></A>(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.Comparable)"><!-- --></A><H3>addSeries</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.389"><B>addSeries</B></A>(float[]&nbsp;values,                      int&nbsp;seriesNumber,                      java.lang.Comparable&nbsp;seriesKey)</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>seriesKey</CODE> - the series key. Use this as-is during setup only, or add the synchronized keyword around  the copy loop.</DL></DD></DL><HR><A NAME="setSeriesKey(int, java.lang.Comparable)"><!-- --></A><H3>setSeriesKey</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.441"><B>setSeriesKey</B></A>(int&nbsp;seriesNumber,                         java.lang.Comparable&nbsp;key)</PRE><DL><DD>Sets the name of a series.  If planning to add values individually.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>seriesNumber</CODE> - the series.<DD><CODE>key</CODE> - the new key.</DL></DD></DL><HR><A NAME="addValue(int, int, float)"><!-- --></A><H3>addValue</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.452"><B>addValue</B></A>(int&nbsp;seriesNumber,                     int&nbsp;index,                     float&nbsp;value)</PRE><DL><DD>Adds a value to a series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>seriesNumber</CODE> - the series index.<DD><CODE>index</CODE> - ??.<DD><CODE>value</CODE> - the value.</DL></DD></DL><HR><A NAME="getSeriesCount()"><!-- --></A><H3>getSeriesCount</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.479"><B>getSeriesCount</B></A>()</PRE><DL><DD>Returns the number of series in the collection.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/general/SeriesDataset.html#getSeriesCount()">getSeriesCount</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/general/SeriesDataset.html" title="interface in org.jfree.data.general">SeriesDataset</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/general/AbstractSeriesDataset.html#getSeriesCount()">getSeriesCount</A></CODE> in class <CODE><A HREF="../../../../org/jfree/data/general/AbstractSeriesDataset.html" title="class in org.jfree.data.general">AbstractSeriesDataset</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The series count.</DL></DD></DL><HR><A NAME="getItemCount(int)"><!-- --></A><H3>getItemCount</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.492"><B>getItemCount</B></A>(int&nbsp;series)</PRE><DL><DD>Returns the number of items in a series. <p> For this implementation, all series have the same number of items.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/xy/XYDataset.html#getItemCount(int)">getItemCount</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series index (zero-based).<DT><B>Returns:</B><DD>The item count.</DL></DD></DL><HR><A NAME="translateGet(int)"><!-- --></A><H3>translateGet</H3><PRE>protected int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.506"><B>translateGet</B></A>(int&nbsp;toFetch)</PRE><DL><DD>Re-map an index, for use in retrieving data.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>toFetch</CODE> - the index.<DT><B>Returns:</B><DD>The translated index.</DL></DD></DL><HR><A NAME="offsetFromNewest(int)"><!-- --></A><H3>offsetFromNewest</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.525"><B>offsetFromNewest</B></A>(int&nbsp;delta)</PRE><DL><DD>Returns the actual index to a time offset by "delta" from newestAt.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>delta</CODE> - the delta.<DT><B>Returns:</B><DD>The offset.</DL></DD></DL><HR><A NAME="offsetFromOldest(int)"><!-- --></A><H3>offsetFromOldest</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.536"><B>offsetFromOldest</B></A>(int&nbsp;delta)</PRE><DL><DD>??<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>delta</CODE> - ??<DT><B>Returns:</B><DD>The offset.</DL></DD></DL><HR><A NAME="wrapOffset(int)"><!-- --></A><H3>wrapOffset</H3><PRE>protected int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.547"><B>wrapOffset</B></A>(int&nbsp;protoIndex)</PRE><DL><DD>??<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>protoIndex</CODE> - the index.<DT><B>Returns:</B><DD>The offset.</DL></DD></DL><HR><A NAME="advanceTime()"><!-- --></A><H3>advanceTime</H3><PRE>public <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.565"><B>advanceTime</B></A>()</PRE><DL><DD>Adjust the array offset as needed when a new time-period is added: Increments the indices "oldestAt" and "newestAt", mod(array length), zeroes the series values at newestAt, returns the new TimePeriod.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The new time period.</DL></DD></DL><HR><A NAME="invalidateRangeInfo()"><!-- --></A><H3>invalidateRangeInfo</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.617"><B>invalidateRangeInfo</B></A>()</PRE><DL><DD>Invalidates the range info.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="findMaxValue()"><!-- --></A><H3>findMaxValue</H3><PRE>protected double <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.627"><B>findMaxValue</B></A>()</PRE><DL><DD>Returns the maximum value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The maximum value.</DL></DD></DL><HR><A NAME="getOldestIndex()"><!-- --></A><H3>getOldestIndex</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.647"><B>getOldestIndex</B></A>()</PRE><DL><DD>Returns the index of the oldest data item.<P><DD><DL></DL></DD>

⌨️ 快捷键说明

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