categorytablexydataset.html
来自「JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东」· HTML 代码 · 共 931 行 · 第 1/3 页
HTML
931 行
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/CategoryTableXYDataset.html#remove(double, java.lang.String)">remove</A></B>(double x, java.lang.String seriesName)</CODE><BR> Removes a value from the dataset.</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/CategoryTableXYDataset.html#remove(java.lang.Number, java.lang.String, boolean)">remove</A></B>(java.lang.Number x, java.lang.String seriesName, boolean notify)</CODE><BR> Removes an item from the dataset.</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/CategoryTableXYDataset.html#setAutoWidth(boolean)">setAutoWidth</A></B>(boolean b)</CODE><BR> Sets the flag that indicates wether the interval width is automatically calculated or not.</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/CategoryTableXYDataset.html#setIntervalPositionFactor(double)">setIntervalPositionFactor</A></B>(double d)</CODE><BR> Sets the interval position factor.</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/CategoryTableXYDataset.html#setIntervalWidth(double)">setIntervalWidth</A></B>(double d)</CODE><BR> Sets the interval width manually.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.AbstractIntervalXYDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../org/jfree/data/AbstractIntervalXYDataset.html" title="class in org.jfree.data">AbstractIntervalXYDataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/jfree/data/AbstractIntervalXYDataset.html#getEndX(int, int)">getEndX</A>, <A HREF="../../../org/jfree/data/AbstractIntervalXYDataset.html#getEndY(int, int)">getEndY</A>, <A HREF="../../../org/jfree/data/AbstractIntervalXYDataset.html#getStartX(int, int)">getStartX</A>, <A HREF="../../../org/jfree/data/AbstractIntervalXYDataset.html#getStartY(int, int)">getStartY</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.AbstractXYDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../org/jfree/data/AbstractXYDataset.html" title="class in org.jfree.data">AbstractXYDataset</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/jfree/data/AbstractXYDataset.html#getX(int, int)">getX</A>, <A HREF="../../../org/jfree/data/AbstractXYDataset.html#getY(int, int)">getY</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.AbstractSeriesDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../org/jfree/data/AbstractSeriesDataset.html" title="class in org.jfree.data">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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../org/jfree/data/AbstractDataset.html" title="class in org.jfree.data">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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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.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>, <A HREF="../../../org/jfree/data/XYDataset.html#getY(int, int)">getY</A></CODE></TD></TR></TABLE> <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> <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> <P><!-- ============ 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="CategoryTableXYDataset()"><!-- --></A><H3>CategoryTableXYDataset</H3><PRE>public <B>CategoryTableXYDataset</B>()</PRE><DL><DD>Creates a new empty CategoryTableXYDataset.<P></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="add(double, double, java.lang.String)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(double x, double y, java.lang.String seriesName)</PRE><DL><DD>Adds a data item to this data set.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x value of the item to add.<DD><CODE>y</CODE> - the y value of the item to add.<DD><CODE>seriesName</CODE> - the name of the series to add the data item.</DL></DD></DL><HR><A NAME="add(java.lang.Number, java.lang.Number, java.lang.String, boolean)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(java.lang.Number x, java.lang.Number y, java.lang.String seriesName, boolean notify)</PRE><DL><DD>Adds a data item to this data set.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x value of the item to add.<DD><CODE>y</CODE> - the y value of the item to add.<DD><CODE>seriesName</CODE> - the name of the series to add the data item.<DD><CODE>notify</CODE> - a flag that controls whether or not a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> is sent to all registered listeners.</DL></DD></DL><HR><A NAME="remove(double, java.lang.String)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(double x, java.lang.String seriesName)</PRE><DL><DD>Removes a value from the dataset.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-value.<DD><CODE>seriesName</CODE> - the series name.</DL></DD></DL><HR><A NAME="remove(java.lang.Number, java.lang.String, boolean)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(java.lang.Number x, java.lang.String seriesName, boolean notify)</PRE><DL><DD>Removes an item from the dataset.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-value.<DD><CODE>seriesName</CODE> - the series name.<DD><CODE>notify</CODE> - notify listeners?</DL></DD></DL><HR><A NAME="getSeriesCount()"><!-- --></A><H3>getSeriesCount</H3><PRE>public int <B>getSeriesCount</B>()</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/SeriesDataset.html#getSeriesCount()">getSeriesCount</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/SeriesDataset.html" title="interface in org.jfree.data">SeriesDataset</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/AbstractSeriesDataset.html#getSeriesCount()">getSeriesCount</A></CODE> in class <CODE><A HREF="../../../org/jfree/data/AbstractSeriesDataset.html" title="class in org.jfree.data">AbstractSeriesDataset</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of series in the collection.</DL></DD></DL><HR><A NAME="getSeriesName(int)"><!-- --></A><H3>getSeriesName</H3><PRE>public java.lang.String <B>getSeriesName</B>(int series)</PRE><DL><DD>Returns the name of a series.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/SeriesDataset.html#getSeriesName(int)">getSeriesName</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/SeriesDataset.html" title="interface in org.jfree.data">SeriesDataset</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/AbstractSeriesDataset.html#getSeriesName(int)">getSeriesName</A></CODE> in class <CODE><A HREF="../../../org/jfree/data/AbstractSeriesDataset.html" title="class in org.jfree.data">AbstractSeriesDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (zero-based index).<DT><B>Returns:</B><DD>the name of a series.</DL></DD></DL><HR><A NAME="getItemCount()"><!-- --></A><H3>getItemCount</H3><PRE>public int <B>getItemCount</B>()</PRE><DL><DD>Returns the number of x values in the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/TableXYDataset.html#getItemCount()">getItemCount</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/TableXYDataset.html" title="interface in org.jfree.data">TableXYDataset</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of x values in the dataset.</DL></DD></DL><HR><A NAME="getItemCount(int)"><!-- --></A><H3>getItemCount</H3><PRE>public int <B>getItemCount</B>(int series)</PRE><DL><DD>Returns the number of items in the specified series. Returns the same as <A HREF="../../../org/jfree/data/CategoryTableXYDataset.html#getItemCount()"><CODE>getItemCount()</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/XYDataset.html#getItemCount(int)">getItemCount</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (zero-based index).<DT><B>Returns:</B><DD>the number of items in the specified series.</DL></DD></DL><HR><A NAME="getXValue(int, int)"><!-- --></A><H3>getXValue</H3><PRE>public java.lang.Number <B>getXValue</B>(int series, int item)</PRE><DL><DD>Returns the x-value for the specified series and item.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/XYDataset.html#getXValue(int, int)">getXValue</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (zero-based index).<DD><CODE>item</CODE> - the item (zero-based index).<DT><B>Returns:</B><DD>the x-value for the specified series and item.</DL></DD></DL><HR><A NAME="getStartXValue(int, int)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?