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

📄 chartfactory.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<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.</DL></DD></DL><HR><A NAME="createRingChart(java.lang.String, org.jfree.data.general.PieDataset, boolean, boolean, boolean)"><!-- --></A><H3>createRingChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.389"><B>createRingChart</B></A>(java.lang.String&nbsp;title,                                         <A HREF="../../../org/jfree/data/general/PieDataset.html" title="interface in org.jfree.data.general">PieDataset</A>&nbsp;dataset,                                         boolean&nbsp;legend,                                         boolean&nbsp;tooltips,                                         boolean&nbsp;urls)</PRE><DL><DD>Creates a ring chart with default settings. <P> The chart object returned by this method uses a <A HREF="../../../org/jfree/chart/plot/RingPlot.html" title="class in org.jfree.chart.plot"><CODE>RingPlot</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="createMultiplePieChart(java.lang.String, org.jfree.data.category.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> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.425"><B>createMultiplePieChart</B></A>(java.lang.String&nbsp;title,                                                <A HREF="../../../org/jfree/data/category/CategoryDataset.html" title="interface in org.jfree.data.category">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.  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.general.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> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.473"><B>createPieChart3D</B></A>(java.lang.String&nbsp;title,                                          <A HREF="../../../org/jfree/data/general/PieDataset.html" title="interface in org.jfree.data.general">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.  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.category.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> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.507"><B>createMultiplePieChart3D</B></A>(java.lang.String&nbsp;title,                                                  <A HREF="../../../org/jfree/data/category/CategoryDataset.html" title="interface in org.jfree.data.category">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.  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.category.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> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.571"><B>createBarChart</B></A>(java.lang.String&nbsp;title,                                        java.lang.String&nbsp;categoryAxisLabel,                                        java.lang.String&nbsp;valueAxisLabel,                                        <A HREF="../../../org/jfree/data/category/CategoryDataset.html" title="interface in org.jfree.data.category">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.  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/category/BarRenderer.html" title="class in org.jfree.chart.renderer.category"><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.category.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> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.643"><B>createStackedBarChart</B></A>(java.lang.String&nbsp;title,                                               java.lang.String&nbsp;domainAxisLabel,                                               java.lang.String&nbsp;rangeAxisLabel,                                               <A HREF="../../../org/jfree/data/category/CategoryDataset.html" title="interface in org.jfree.data.category">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.  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/category/StackedBarRenderer.html" title="class in org.jfree.chart.renderer.category"><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.category.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> <A HREF="../../../src-html/org/jfree/chart/ChartFactory.html#line.699"><B>createBarChart3D</B></A>(java.lang.String&nbsp;title,                                          java.lang.String&nbsp;categoryAxisLabel,                                          java.lang.String&nbsp;valueAxisLabel,                                          <A HREF="../../../org/jfree/data/category/CategoryDataset.html" title="interface in org.jfree.data.category">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. 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/category/BarRenderer3D.html" title="class in org.jfree.chart.renderer.category"><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</co

⌨️ 快捷键说明

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