histogramdataset.html
来自「JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东」· HTML 代码 · 共 725 行 · 第 1/3 页
HTML
725 行
Returns the start y-value for a bin (which is the same as the y-value, this method exists only to support the general form of the <A HREF="../../../../org/jfree/data/IntervalXYDataset.html" title="interface in org.jfree.data"><CODE>IntervalXYDataset</CODE></A> interface).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/statistics/HistogramType.html" title="class in org.jfree.data.statistics">HistogramType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/statistics/HistogramDataset.html#getType()">getType</A></B>()</CODE><BR> Returns the histogram type.</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/statistics/HistogramDataset.html#getXValue(int, int)">getXValue</A></B>(int series, int item)</CODE><BR> Returns the X value for a bin.</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/statistics/HistogramDataset.html#getYValue(int, int)">getYValue</A></B>(int series, int item)</CODE><BR> Returns the y-value for a bin (calculated to take into account the histogram type).</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/statistics/HistogramDataset.html#setType(org.jfree.data.statistics.HistogramType)">setType</A></B>(<A HREF="../../../../org/jfree/data/statistics/HistogramType.html" title="class in org.jfree.data.statistics">HistogramType</A> type)</CODE><BR> Sets the histogram type and sends a <A HREF="../../../../org/jfree/data/DatasetChangeEvent.html" title="class in org.jfree.data"><CODE>DatasetChangeEvent</CODE></A> to all registered listeners.</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#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>finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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> <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> <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="HistogramDataset()"><!-- --></A><H3>HistogramDataset</H3><PRE>public <B>HistogramDataset</B>()</PRE><DL><DD>Creates a new (empty) dataset with a default type of <A HREF="../../../../org/jfree/data/statistics/HistogramType.html" title="class in org.jfree.data.statistics"><CODE>HistogramType</CODE></A>.FREQUENCY.<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="getType()"><!-- --></A><H3>getType</H3><PRE>public <A HREF="../../../../org/jfree/data/statistics/HistogramType.html" title="class in org.jfree.data.statistics">HistogramType</A> <B>getType</B>()</PRE><DL><DD>Returns the histogram type.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the type (never <code>null</code>).</DL></DD></DL><HR><A NAME="setType(org.jfree.data.statistics.HistogramType)"><!-- --></A><H3>setType</H3><PRE>public void <B>setType</B>(<A HREF="../../../../org/jfree/data/statistics/HistogramType.html" title="class in org.jfree.data.statistics">HistogramType</A> type)</PRE><DL><DD>Sets the histogram type and sends a <A HREF="../../../../org/jfree/data/DatasetChangeEvent.html" title="class in org.jfree.data"><CODE>DatasetChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the type (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="addSeries(java.lang.String, double[], int)"><!-- --></A><H3>addSeries</H3><PRE>public void <B>addSeries</B>(java.lang.String name, double[] values, int bins)</PRE><DL><DD>Adds a series to the dataset, using the specified number of bins.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the series name (<code>null</code> not permitted).<DD><CODE>values</CODE> - the values (<code>null</code> not permitted).<DD><CODE>bins</CODE> - the number of bins (must be at least 1).</DL></DD></DL><HR><A NAME="addSeries(java.lang.String, double[], int, double, double)"><!-- --></A><H3>addSeries</H3><PRE>public void <B>addSeries</B>(java.lang.String name, double[] values, int bins, double minimum, double maximum)</PRE><DL><DD>Adds a series to the dataset. Any data value falling on a bin boundary will be assigned to the lower value bin, with the exception of the lower bound of the bin range which is always assigned to the first bin.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the series name (<code>null</code> not permitted).<DD><CODE>values</CODE> - the raw observations.<DD><CODE>bins</CODE> - the number of bins.<DD><CODE>minimum</CODE> - the lower bound of the bin range.<DD><CODE>maximum</CODE> - the upper bound of the bin range.</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 dataset.<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 series count.</DL></DD></DL><HR><A NAME="getSeriesName(int)"><!-- --></A><H3>getSeriesName</H3><PRE>public java.lang.String <B>getSeriesName</B>(int series)</PRE><DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?