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

📄 chartfactory.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 <p>for instance is percentDiffForMaxScale is 10 (10%), a difference of 5% will have a half shade of red/green, a difference of 10% or more will have a maximum shade/brightness of red/green. <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> Written by <a href="mailto:opensource@objectlab.co.uk">Benoit Xhenseval</a>.<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>previousDataset</CODE> - the dataset for the last run, this will be used to compare each                         Key in the dataset<DD><CODE>percentDiffForMaxScale</CODE> - scale goes from bright red/green to black,                               percentDiffForMaxScale indicate the change required to reach                               top scale.<DD><CODE>greenForIncrease</CODE> - an increase since previousDataset will be displayed in green                         (decrease red) if true<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?<DD><CODE>subTitle</CODE> - displays a subtitle with colour scheme if true<DD><CODE>showDifference</CODE> - create a new dataset that will show the % difference between                         the two datasets.<DT><B>Returns:</B><DD>A pie chart.<DT><B>Since:</B></DT>  <DD>0.9.18</DD></DL></DD></DL><HR><A NAME="createMultiplePieChart(java.lang.String, org.jfree.data.CategoryDataset, org.jfree.util.TableOrder, boolean, boolean, boolean)"><!-- --></A><H3>createMultiplePieChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createMultiplePieChart</B>(java.lang.String&nbsp;title,                                                <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;dataset,                                                org.jfree.util.TableOrder&nbsp;order,                                                boolean&nbsp;legend,                                                boolean&nbsp;tooltips,                                                boolean&nbsp;urls)</PRE><DL><DD>Creates a chart that displays multiple pie plots. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/MultiplePiePlot.html" title="class in org.jfree.chart.plot"><CODE>MultiplePiePlot</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 (<code>null</code> permitted).<DD><CODE>order</CODE> - the order that the data is extracted (by row or by column) (<code>null</code>               not permitted).<DD><CODE>legend</CODE> - include a legend?<DD><CODE>tooltips</CODE> - generate tooltips?<DD><CODE>urls</CODE> - generate URLs?<DT><B>Returns:</B><DD>A chart.</DL></DD></DL><HR><A NAME="createPieChart3D(java.lang.String, org.jfree.data.PieDataset, boolean, boolean, boolean)"><!-- --></A><H3>createPieChart3D</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createPieChart3D</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 3D pie chart using the specified dataset. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/PiePlot3D.html" title="class in org.jfree.chart.plot"><CODE>PiePlot3D</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="createMultiplePieChart3D(java.lang.String, org.jfree.data.CategoryDataset, org.jfree.util.TableOrder, boolean, boolean, boolean)"><!-- --></A><H3>createMultiplePieChart3D</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createMultiplePieChart3D</B>(java.lang.String&nbsp;title,                                                  <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;dataset,                                                  org.jfree.util.TableOrder&nbsp;order,                                                  boolean&nbsp;legend,                                                  boolean&nbsp;tooltips,                                                  boolean&nbsp;urls)</PRE><DL><DD>Creates a chart that displays multiple pie plots. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/MultiplePiePlot.html" title="class in org.jfree.chart.plot"><CODE>MultiplePiePlot</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 (<code>null</code> permitted).<DD><CODE>order</CODE> - the order that the data is extracted (by row or by column) (<code>null</code>               not permitted).<DD><CODE>legend</CODE> - include a legend?<DD><CODE>tooltips</CODE> - generate tooltips?<DD><CODE>urls</CODE> - generate URLs?<DT><B>Returns:</B><DD>a chart.</DL></DD></DL><HR><A NAME="createBarChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createBarChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createBarChart</B>(java.lang.String&nbsp;title,                                        java.lang.String&nbsp;categoryAxisLabel,                                        java.lang.String&nbsp;valueAxisLabel,                                        <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</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)</PRE><DL><DD>Creates a bar chart. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><CODE>CategoryPlot</CODE></A> instance as the plot, with a <A HREF="../../../org/jfree/chart/axis/CategoryAxis.html" title="class in org.jfree.chart.axis"><CODE>CategoryAxis</CODE></A> for the domain axis, a <A HREF="../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis"><CODE>NumberAxis</CODE></A> as the range axis, and a <A HREF="../../../org/jfree/chart/renderer/BarRenderer.html" title="class in org.jfree.chart.renderer"><CODE>BarRenderer</CODE></A> as the renderer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title (<code>null</code> permitted).<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis (<code>null</code> permitted).<DD><CODE>valueAxisLabel</CODE> - the label for the value axis (<code>null</code> permitted).<DD><CODE>dataset</CODE> - the dataset for the chart (<code>null</code> permitted).<DD><CODE>orientation</CODE> - the plot orientation (horizontal or vertical) (<code>null</code> not                     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 bar chart.</DL></DD></DL><HR><A NAME="createStackedBarChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createStackedBarChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createStackedBarChart</B>(java.lang.String&nbsp;title,                                               java.lang.String&nbsp;domainAxisLabel,                                               java.lang.String&nbsp;rangeAxisLabel,                                               <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</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)</PRE><DL><DD>Creates a stacked bar chart with default settings. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><CODE>CategoryPlot</CODE></A> instance as the plot, with a <A HREF="../../../org/jfree/chart/axis/CategoryAxis.html" title="class in org.jfree.chart.axis"><CODE>CategoryAxis</CODE></A> for the domain axis, a <A HREF="../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis"><CODE>NumberAxis</CODE></A> as the range axis, and a <A HREF="../../../org/jfree/chart/renderer/StackedBarRenderer.html" title="class in org.jfree.chart.renderer"><CODE>StackedBarRenderer</CODE></A> as the renderer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title (<code>null</code> permitted).<DD><CODE>domainAxisLabel</CODE> - the label for the category axis (<code>null</code> permitted).<DD><CODE>rangeAxisLabel</CODE> - the label for the value axis (<code>null</code> permitted).<DD><CODE>dataset</CODE> - the dataset for the chart (<code>null</code> permitted).<DD><CODE>orientation</CODE> - the orientation of the chart (horizontal or vertical) (<code>null</code>                     not 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 stacked bar chart.</DL></DD></DL><HR><A NAME="createBarChart3D(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createBarChart3D</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createBarChart3D</B>(java.lang.String&nbsp;title,                                          java.lang.String&nbsp;categoryAxisLabel,                                          java.lang.String&nbsp;valueAxisLabel,                                          <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</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)</PRE><DL><DD>Creates a bar chart with a 3D effect. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><CODE>CategoryPlot</CODE></A> instance as the plot, with a <A HREF="../../../org/jfree/chart/axis/CategoryAxis3D.html" title="class in org.jfree.chart.axis"><CODE>CategoryAxis3D</CODE></A> for the domain axis, a <A HREF="../../../org/jfree/chart/axis/NumberAxis3D.html" title="class in org.jfree.chart.axis"><CODE>NumberAxis3D</CODE></A> as the range axis, and a <A HREF="../../../org/jfree/chart/renderer/BarRenderer3D.html" title="class in org.jfree.chart.renderer"><CODE>BarRenderer3D</CODE></A> as the renderer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title (<code>null</code> permitted).<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis (<code>null</code> permitted).<DD><CODE>valueAxisLabel</CODE> - the label for the value axis (<code>null</code> permitted).<DD><CODE>dataset</CODE> - the dataset for the chart (<code>null</code> permitted).<DD><CODE>orientation</CODE> - the plot orientation (horizontal or vertical) (<code>null</code>                     not 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 bar chart with a 3D effect.</DL></DD></DL><HR><A NAME="createStackedBarChart3D(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createStackedBarChart3D</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>createStackedBarChart3D</B>(java.lang.String&nbsp;title,                                                 java.lang.String&nbsp;categoryAxisLabel,                                                 java.lang.String&nbsp;valueAxisLabel,                                                 <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</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)</PRE><DL><DD>Creates a stacked bar chart with a 3D effect and default settings. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><CODE>CategoryPlot</CODE></A> instance as the plot, with a <A HREF="../../../org/jfree/chart/axis/CategoryAxis3D.html" title="class in org.jfree.chart.axis"><CODE>CategoryAxis3D</CODE></A> for the domain axis, a <A HREF="../../../org/jfree/chart/axis/NumberAxis3D.html" title="class in org.jfree.chart.axis"><CODE>NumberAxis3D</CODE></A> as the range axis, and a <A HREF="../../../org/jfree/chart/renderer/StackedBarRenderer3D.html" title="class in org.jfree.chart.renderer"><CO

⌨️ 快捷键说明

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