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

📄 chartfactory.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
               java.lang.String&nbsp;xAxisLabel,               java.lang.String&nbsp;yAxisLabel,               <A HREF="../../../org/jfree/data/WindDataset.html" title="interface in org.jfree.data">WindDataset</A>&nbsp;dataset,               boolean&nbsp;legend,               boolean&nbsp;tooltips,               boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a wind plot with default settings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartFactory.html#createXYAreaChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)">createXYAreaChart</A></B>(java.lang.String&nbsp;title,                  java.lang.String&nbsp;xAxisLabel,                  java.lang.String&nbsp;yAxisLabel,                  <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;dataset,                  <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                  boolean&nbsp;legend,                  boolean&nbsp;tooltips,                  boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an area chart using an <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data"><CODE>XYDataset</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartFactory.html#createXYBarChart(java.lang.String, java.lang.String, boolean, java.lang.String, org.jfree.data.IntervalXYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)">createXYBarChart</A></B>(java.lang.String&nbsp;title,                 java.lang.String&nbsp;xAxisLabel,                 boolean&nbsp;dateAxis,                 java.lang.String&nbsp;yAxisLabel,                 <A HREF="../../../org/jfree/data/IntervalXYDataset.html" title="interface in org.jfree.data">IntervalXYDataset</A>&nbsp;dataset,                 <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                 boolean&nbsp;legend,                 boolean&nbsp;tooltips,                 boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a default instance of an XY bar chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartFactory.html#createXYBarChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.IntervalXYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)">createXYBarChart</A></B>(java.lang.String&nbsp;title,                 java.lang.String&nbsp;xAxisLabel,                 java.lang.String&nbsp;yAxisLabel,                 <A HREF="../../../org/jfree/data/IntervalXYDataset.html" title="interface in org.jfree.data">IntervalXYDataset</A>&nbsp;dataset,                 <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                 boolean&nbsp;legend,                 boolean&nbsp;tooltips,                 boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use createXYBarChart() method with additional parameter.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartFactory.html#createXYLineChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)">createXYLineChart</A></B>(java.lang.String&nbsp;title,                  java.lang.String&nbsp;xAxisLabel,                  java.lang.String&nbsp;yAxisLabel,                  <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;dataset,                  <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                  boolean&nbsp;legend,                  boolean&nbsp;tooltips,                  boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a line chart (based on an <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data"><CODE>XYDataset</CODE></A>) with default settings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartFactory.html#createXYStepAreaChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)">createXYStepAreaChart</A></B>(java.lang.String&nbsp;title,                      java.lang.String&nbsp;xAxisLabel,                      java.lang.String&nbsp;yAxisLabel,                      <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;dataset,                      <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                      boolean&nbsp;legend,                      boolean&nbsp;tooltips,                      boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a filled stepped XY plot with default settings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartFactory.html#createXYStepChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)">createXYStepChart</A></B>(java.lang.String&nbsp;title,                  java.lang.String&nbsp;xAxisLabel,                  java.lang.String&nbsp;yAxisLabel,                  <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A>&nbsp;dataset,                  <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                  boolean&nbsp;legend,                  boolean&nbsp;tooltips,                  boolean&nbsp;urls)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a stepped XY plot with default settings.</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 ======== --><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="ChartFactory()"><!-- --></A><H3>ChartFactory</H3><PRE>public <B>ChartFactory</B>()</PRE><DL></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="createPieChart(java.lang.String, org.jfree.data.PieDataset, boolean, boolean, boolean)"><!-- --></A><H3>createPieChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createPieChart</B>(java.lang.String&nbsp;title,                                        <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                                        boolean&nbsp;legend,                                        boolean&nbsp;tooltips,                                        boolean&nbsp;urls)</PRE><DL><DD>Creates a pie chart with default settings. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/PiePlot.html" title="class in org.jfree.chart.plot"><CODE>PiePlot</CODE></A> instance as the plot.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title (<code>null</code> permitted).<DD><CODE>dataset</CODE> - the dataset for the chart (<code>null</code> permitted).<DD><CODE>legend</CODE> - a flag specifying whether or not a legend is required.<DD><CODE>tooltips</CODE> - configure chart to generate tool tips?<DD><CODE>urls</CODE> - configure chart to generate URLs?<DT><B>Returns:</B><DD>A pie chart.</DL></DD></DL><HR><A NAME="createPieChart(java.lang.String, org.jfree.data.PieDataset, org.jfree.data.PieDataset, int, boolean, boolean, boolean, boolean, boolean, boolean)"><!-- --></A><H3>createPieChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createPieChart</B>(java.lang.String&nbsp;title,                                        <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;dataset,                                        <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A>&nbsp;previousDataset,                                        int&nbsp;percentDiffForMaxScale,                                        boolean&nbsp;greenForIncrease,                                        boolean&nbsp;legend,                                        boolean&nbsp;tooltips,                                        boolean&nbsp;urls,                                        boolean&nbsp;subTitle,                                        boolean&nbsp;showDifference)</PRE><DL><DD>Creates a pie chart with default settings that compares 2 datasets.  The colour of each section will be determined by the move from the value for the same key in previousDataset. ie if value1 > value2 then the section will be in green (unless greenForIncrease is false, in which case it would be red).  Each section can have a shade of red or green as the difference can be taylored between 0% (black) and percentDiffForMaxScale% (bright red/green).

⌨️ 快捷键说明

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