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

📄 datasetutilities.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</DD></DL><HR><A NAME="createCategoryDataset(java.lang.String, java.lang.String, double[][])"><!-- --></A><H3>createCategoryDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A> <B>createCategoryDataset</B>(java.lang.String&nbsp;rowKeyPrefix,                                                    java.lang.String&nbsp;columnKeyPrefix,                                                    double[][]&nbsp;data)</PRE><DL><DD>Creates a <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data"><CODE>CategoryDataset</CODE></A> that contains a copy of the data in an array (instances of <code>Double</code> are created to represent the data items). <p> Row and column keys are created by appending 0, 1, 2, ... to the supplied prefixes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKeyPrefix</CODE> - the row key prefix.<DD><CODE>columnKeyPrefix</CODE> - the column key prefix.<DD><CODE>data</CODE> - the data.<DT><B>Returns:</B><DD>the dataset.</DL></DD></DL><HR><A NAME="createCategoryDataset(java.lang.String, java.lang.String, java.lang.Number[][])"><!-- --></A><H3>createCategoryDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A> <B>createCategoryDataset</B>(java.lang.String&nbsp;rowKeyPrefix,                                                    java.lang.String&nbsp;columnKeyPrefix,                                                    java.lang.Number[][]&nbsp;data)</PRE><DL><DD>Creates a <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data"><CODE>CategoryDataset</CODE></A> that contains a copy of the data in an array. <p> Row and column keys are created by appending 0, 1, 2, ... to the supplied prefixes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKeyPrefix</CODE> - the row key prefix.<DD><CODE>columnKeyPrefix</CODE> - the column key prefix.<DD><CODE>data</CODE> - the data.<DT><B>Returns:</B><DD>the dataset.</DL></DD></DL><HR><A NAME="createCategoryDataset(java.lang.String[], java.lang.String[], double[][])"><!-- --></A><H3>createCategoryDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A> <B>createCategoryDataset</B>(java.lang.String[]&nbsp;rowKeys,                                                    java.lang.String[]&nbsp;columnKeys,                                                    double[][]&nbsp;data)</PRE><DL><DD>Creates a <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data"><CODE>CategoryDataset</CODE></A> that contains a copy of the data in an array (instances of <code>Double</code> are created to represent the data items). <p> Row and column keys are taken from the supplied arrays.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKeys</CODE> - the row keys.<DD><CODE>columnKeys</CODE> - the column keys.<DD><CODE>data</CODE> - the data.<DT><B>Returns:</B><DD>The dataset.</DL></DD></DL><HR><A NAME="createCategoryDataset(java.lang.String, org.jfree.data.KeyedValues)"><!-- --></A><H3>createCategoryDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A> <B>createCategoryDataset</B>(java.lang.String&nbsp;rowKey,                                                    <A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A>&nbsp;rowData)</PRE><DL><DD>Creates a <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data"><CODE>CategoryDataset</CODE></A> by copying the data from the supplied <A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data"><CODE>KeyedValues</CODE></A> instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKey</CODE> - the row key.<DD><CODE>rowData</CODE> - the row data.<DT><B>Returns:</B><DD>A dataset.</DL></DD></DL><HR><A NAME="isEmptyOrNull(org.jfree.data.XYDataset)"><!-- --></A><H3>isEmptyOrNull</H3><PRE>public static boolean <B>isEmptyOrNull</B>(<A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;data)</PRE><DL><DD>Returns <code>true</code> if the dataset is empty (or <code>null</code>), and <code>false</code> otherwise.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the dataset (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="isEmptyOrNull(org.jfree.data.PieDataset)"><!-- --></A><H3>isEmptyOrNull</H3><PRE>public static boolean <B>isEmptyOrNull</B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset)</PRE><DL><DD>Returns <code>true</code> if the dataset is empty (or <code>null</code>), and <code>false</code> otherwise.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset (<code>null</code> permitted).<DT><B>Returns:</B><DD>a boolean.</DL></DD></DL><HR><A NAME="isEmptyOrNull(org.jfree.data.CategoryDataset)"><!-- --></A><H3>isEmptyOrNull</H3><PRE>public static boolean <B>isEmptyOrNull</B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;data)</PRE><DL><DD>Returns <code>true</code> if the dataset is empty (or <code>null</code>), and <code>false</code> otherwise.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the dataset (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="limitPieDataset(org.jfree.data.PieDataset, double)"><!-- --></A><H3>limitPieDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> <B>limitPieDataset</B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                                         double&nbsp;percentThreshold)</PRE><DL><DD>Creates an "Other" slice for percentages below the percent threshold.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the PieDataset.<DD><CODE>percentThreshold</CODE> - the percent threshold.<DT><B>Returns:</B><DD>A PieDataset.</DL></DD></DL><HR><A NAME="limitPieDataset(org.jfree.data.PieDataset, double, int)"><!-- --></A><H3>limitPieDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> <B>limitPieDataset</B>(<A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                                         double&nbsp;percentThreshold,                                         int&nbsp;minItems)</PRE><DL><DD>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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the source dataset.<DD><CODE>percentThreshold</CODE> - the percent threshold (ten percent is 0.10).<DD><CODE>minItems</CODE> - only aggregate low values if there are at least this many.<DT><B>Returns:</B><DD>A PieDataset.</DL></DD></DL><HR><A NAME="limitPieDataset(org.jfree.data.PieDataset, double, int, java.lang.Comparable)"><!-- --></A><H3>limitPieDataset</H3><PRE>public static <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> <B>limitPieDataset</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)</PRE><DL><DD>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.  The aggregated items are assigned the specified key.  Aggregation only occurs if there are at least minItems items to aggregate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the source dataset.<DD><CODE>percentThreshold</CODE> - the percent threshold (ten percent is 0.10).<DD><CODE>minItems</CODE> - only aggregate low values if there are at least this many.<DD><CODE>key</CODE> - the key to represent the aggregated items.<DT><B>Returns:</B><DD>The pie dataset with (possibly) aggregated items.</DL></DD></DL><HR><A NAME="getStackedRangeExtent(org.jfree.data.TableXYDataset)"><!-- --></A><H3>getStackedRangeExtent</H3><PRE>public static <A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <B>getStackedRangeExtent</B>(<A HREF="../../../org/jfree/data/TableXYDataset.html" title="interface in org.jfree.data">TableXYDataset</A>&nbsp;data)</PRE><DL><DD>Returns the minimum and maximum values for the dataset's range, assuming that the series are stacked.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the dataset.<DT><B>Returns:</B><DD>the value range.</DL></DD></DL><HR><A NAME="getCumulativeRangeExtent(org.jfree.data.CategoryDataset)"><!-- --></A><H3>getCumulativeRangeExtent</H3><PRE>public static <A HREF="../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <B>getCumulativeRangeExtent</B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;dataset)</PRE><DL><DD>Calculates the range of values for a dataset where each item is the running total of  the items for the current series.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset.<DT><B>Returns:</B><DD>The range.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/jfree/data/DatasetGroup.html" title="class in org.jfree.data"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/data/DataUtilities.html" title="class in org.jfree.data"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DatasetUtilities.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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