chartfactory.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,001 行 · 第 1/5 页
HTML
1,001 行
</DL><HR><A NAME="createPie3DChart(java.lang.String, org.jfree.data.PieDataset, boolean, boolean, boolean)"><!-- --></A><H3>createPie3DChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createPie3DChart</B>(java.lang.String title, <A HREF="../../../org/jfree/data/PieDataset.html">PieDataset</A> data, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a pie chart with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>data</CODE> - the dataset for the chart.<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="createAreaChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createAreaChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createAreaChart</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates an area chart with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>valueAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the plot orientation.<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>an area chart.</DL></DD></DL><HR><A NAME="createStackedAreaChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createStackedAreaChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createStackedAreaChart</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates an area chart with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>valueAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the plot orientation (horizontal or vertical).<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>an area 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">JFreeChart</A> <B>createBarChart</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a bar chart.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>valueAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the plot orientation (horizontal or vertical).<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">JFreeChart</A> <B>createStackedBarChart</B>(java.lang.String title, java.lang.String domainAxisLabel, java.lang.String rangeAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a stacked bar chart with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>domainAxisLabel</CODE> - the label for the category axis.<DD><CODE>rangeAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the orientation of the chart (horizontal or vertical).<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">JFreeChart</A> <B>createBarChart3D</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a bar chart with a 3D effect.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>valueAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the plot orientation (horizontal or vertical).<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 3D-effect bar chart.</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">JFreeChart</A> <B>createStackedBarChart3D</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a stacked bar chart with a 3D effect and default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>valueAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the orientation (horizontal or vertical).<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 vertical bar chart.</DL></DD></DL><HR><A NAME="createLineChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.CategoryDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createLineChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createLineChart</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a line chart with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>valueAxisLabel</CODE> - the label for the value axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>orientation</CODE> - the chart orientation (horizontal or vertical).<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 line chart.</DL></DD></DL><HR><A NAME="createGanttChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.IntervalCategoryDataset, boolean, boolean, boolean)"><!-- --></A><H3>createGanttChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createGanttChart</B>(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String dateAxisLabel, <A HREF="../../../org/jfree/data/IntervalCategoryDataset.html">IntervalCategoryDataset</A> data, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a Gantt chart using the supplied attributes plus default values where required.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>categoryAxisLabel</CODE> - the label for the category axis.<DD><CODE>dateAxisLabel</CODE> - the label for the date axis.<DD><CODE>data</CODE> - the dataset for the chart.<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 Gantt chart.</DL></DD></DL><HR><A NAME="createLineXYChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createLineXYChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createLineXYChart</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html">XYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD><B>Deprecated.</B> <I>Use createXYLineChart(...).</I>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?