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

📄 datasetutilities.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 4 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum value in the dataset range, assuming that values in each category are "stacked".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getMinimumDomainValue(org.jfree.data.Dataset)">getMinimumDomainValue</A></B>(<A HREF="../../../org/jfree/data/Dataset.html" title="interface in org.jfree.data">Dataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum domain value for the specified dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getMinimumRangeValue(org.jfree.data.Dataset)">getMinimumRangeValue</A></B>(<A HREF="../../../org/jfree/data/Dataset.html" title="interface in org.jfree.data">Dataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum range value for the specified dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getMinimumStackedRangeValue(org.jfree.data.CategoryDataset)">getMinimumStackedRangeValue</A></B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum value in the dataset range, assuming that values in each category are "stacked".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getRangeExtent(org.jfree.data.Dataset)">getRangeExtent</A></B>(<A HREF="../../../org/jfree/data/Dataset.html" title="interface in org.jfree.data">Dataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the range of values in the range for the dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getStackedRangeExtent(org.jfree.data.CategoryDataset)">getStackedRangeExtent</A></B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum and maximum values for the dataset's range (as in domain/range), assuming that the series in one category are stacked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getStackedRangeExtent(org.jfree.data.CategoryDataset, org.jfree.data.KeyToGroupMap)">getStackedRangeExtent</A></B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;dataset,                      <A HREF="../../../org/jfree/data/KeyToGroupMap.html" title="class in org.jfree.data">KeyToGroupMap</A>&nbsp;map)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum and maximum values for the dataset's range (as in domain/range), assuming that the series in one category are stacked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#getStackedRangeExtent(org.jfree.data.TableXYDataset)">getStackedRangeExtent</A></B>(<A HREF="../../../org/jfree/data/TableXYDataset.html" title="interface in org.jfree.data">TableXYDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum and maximum values for the dataset's range, assuming that the series are stacked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#isEmptyOrNull(org.jfree.data.CategoryDataset)">isEmptyOrNull</A></B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if the dataset is empty (or <code>null</code>), and <code>false</code> otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#isEmptyOrNull(org.jfree.data.PieDataset)">isEmptyOrNull</A></B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if the dataset is empty (or <code>null</code>), and <code>false</code> otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#isEmptyOrNull(org.jfree.data.XYDataset)">isEmptyOrNull</A></B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if the dataset is empty (or <code>null</code>), and <code>false</code> otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#iterateCategoryRangeExtent(org.jfree.data.CategoryDataset)">iterateCategoryRangeExtent</A></B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterates over the data item of the category dataset to find the range extent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#iterateDomainExtent(org.jfree.data.XYDataset)">iterateDomainExtent</A></B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterates over the data item of the xy dataset to find the domain extent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#iterateXYRangeExtent(org.jfree.data.XYDataset)">iterateXYRangeExtent</A></B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterates over the data item of the xy dataset to find the range extent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#limitPieDataset(org.jfree.data.PieDataset, double)">limitPieDataset</A></B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                double&nbsp;percentThreshold)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an "Other" slice for percentages below the percent threshold.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#limitPieDataset(org.jfree.data.PieDataset, double, int)">limitPieDataset</A></B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                double&nbsp;percentThreshold,                int&nbsp;minItems)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an "Other" slice for percentages below the percent threshold providing there are more slices below the percent threshold than specified in the slice threshold.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#limitPieDataset(org.jfree.data.PieDataset, double, int, java.lang.Comparable)">limitPieDataset</A></B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                double&nbsp;percentThreshold,                int&nbsp;minItems,                java.lang.Comparable&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new pie dataset based on the supplied dataset, but modified by aggregating all  the low value items (those whose value is lower than the percentThreshold) into a single  item.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/data/DatasetUtilities.html#sampleFunction2D(org.jfree.data.Function2D, double, double, int, java.lang.String)">sampleFunction2D</A></B>(<A HREF="../../../org/jfree/data/Function2D.html" title="interface in org.jfree.data">Function2D</A>&nbsp;f,                 double&nbsp;start,                 double&nbsp;end,                 int&nbsp;samples,                 java.lang.String&nbsp;seriesName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data"><CODE>XYDataset</CODE></A> by sampling the specified function over a fixed range.</TD></TR></TABLE>&nbsp;<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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="createNumberArray(double[])"><!-- --></A><H3>createNumberArray</H3><PRE>public static java.lang.Number[] <B>createNumberArray</B>(double[]&nbsp;data)</PRE><DL><DD>Constructs an array of <code>Number</code> objects from an array of <code>double</code> primitives.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data.<DT><B>Returns:</B><DD>an array of <code>Double</code>.</DL></DD></DL><HR><A NAME="createNumberArray2D(double[][])"><!-- --></A><H3>createNumberArray2D</H3><PRE>public static java.lang.Number[][] <B>createNumberArray2D</B>(double[][]&nbsp;data)</PRE><DL><DD>Constructs an array of arrays of <code>Number</code> objects from a corresponding structure containing <code>double</code> primitives.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data.<DT><B>Returns:</B><DD>an array of <code>Double</code>.</DL></DD></DL><HR><A NAME="getDomainExtent(org.jfree.data.Dataset)"><!-- --></A><H3>getDomainExtent</H3><PRE>public static <A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <B>getDomainExtent</B>(<A HREF="../../../org/jfree/data/Dataset.html" title="interface in org.jfree.data">Dataset</A>&nbsp;dataset)</PRE><DL><DD>Returns the range of values in the domain for the dataset. <P> If the supplied dataset is <code>null</code>, the range returned is <code>null</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset (<code>null</code> permitted).<DT><B>Returns:</B><DD>The range of values (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="iterateDomainExtent(org.jfree.data.XYDataset)"><!-- --></A><H3>iterateDomainExtent</H3><PRE>public static <A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <B>iterateDomainExtent</B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;data)</PRE><DL><DD>Iterates over the data item of the xy dataset to find the domain extent.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the xy dataset to iterate over.<DT><B>Returns:</B><DD>the domain extent of the data within the dataset.</DL></DD></DL><HR><A NAME="getRangeExtent(org.jfree.data.Dataset)"><!-- --></A><H3>getRangeExtent</H3><PRE>public static <A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <B>getRangeExtent</B>(<A HREF="../../../org/jfree/data/Dataset.html" title="interface in org.jfree.data">Dataset</A>&nbsp;data)</PRE><DL><DD>Returns the range of values in the range for the dataset.  This method is the partner for the getDomainExtent method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the dataset.<DT><B>Returns:</B><DD>the range of values in the range for the dataset.</DL></DD></DL>

⌨️ 快捷键说明

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