chartfactory.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,001 行 · 第 1/5 页
HTML
1,001 行
<P><DD>Creates a line chart (based on an <A HREF="../../../org/jfree/data/XYDataset.html"><CODE>XYDataset</CODE></A>) with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-axis.<DD><CODE>dataset</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>The chart.</DL></DD></DL><HR><A NAME="createXYLineChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createXYLineChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createXYLineChart</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>Creates a line chart (based on an <A HREF="../../../org/jfree/data/XYDataset.html"><CODE>XYDataset</CODE></A>) with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-axis.<DD><CODE>dataset</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>The chart.</DL></DD></DL><HR><A NAME="createAreaXYChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createAreaXYChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createAreaXYChart</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html">XYDataset</A> data, <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 createXYAreaChart(...).</I><P><DD>Creates an area chart using an <A HREF="../../../org/jfree/data/XYDataset.html"><CODE>XYDataset</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-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 XY area chart.</DL></DD></DL><HR><A NAME="createXYAreaChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createXYAreaChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createXYAreaChart</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html">XYDataset</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 using an <A HREF="../../../org/jfree/data/XYDataset.html"><CODE>XYDataset</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-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 XY area chart.</DL></DD></DL><HR><A NAME="createScatterPlot(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createScatterPlot</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createScatterPlot</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html">XYDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a scatter plot with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-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 scatter plot.</DL></DD></DL><HR><A NAME="createBubbleChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYZDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createBubbleChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createBubbleChart</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYZDataset.html">XYZDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a bubble chart with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-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 scatter plot.</DL></DD></DL><HR><A NAME="createWindPlot(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.WindDataset, boolean, boolean, boolean)"><!-- --></A><H3>createWindPlot</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createWindPlot</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/WindDataset.html">WindDataset</A> data, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates a wind plot with default settings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the x-axis.<DD><CODE>yAxisLabel</CODE> - a label for the y-axis.<DD><CODE>data</CODE> - the dataset for the chart.<DD><CODE>legend</CODE> - a flag that controls whether or not a legend is created.<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 wind plot.</DL></DD></DL><HR><A NAME="createTimeSeriesChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.XYDataset, boolean, boolean, boolean)"><!-- --></A><H3>createTimeSeriesChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createTimeSeriesChart</B>(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html">XYDataset</A> data, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates and returns a time series chart. <P> A time series chart is an XYPlot with a date axis (horizontal) and a number axis (vertical), and each data item is connected with a line. <P> Note that you can supply a TimeSeriesCollection to this method, as it implements the XYDataset interface.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>timeAxisLabel</CODE> - a label for the time axis.<DD><CODE>valueAxisLabel</CODE> - a label for the value 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 time series chart.</DL></DD></DL><HR><A NAME="createXYBarChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.IntervalXYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean)"><!-- --></A><H3>createXYBarChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createXYBarChart</B>(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/IntervalXYDataset.html">IntervalXYDataset</A> data, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</PRE><DL><DD>Creates and returns a default instance of an XY bar chart.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>xAxisLabel</CODE> - a label for the X-axis.<DD><CODE>yAxisLabel</CODE> - a label for the Y-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>an XY bar chart.</DL></DD></DL><HR><A NAME="createHighLowChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.HighLowDataset, boolean)"><!-- --></A><H3>createHighLowChart</H3><PRE>public static <A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A> <B>createHighLowChart</B>(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, <A HREF="../../../org/jfree/data/HighLowDataset.html">HighLowDataset</A> data, boolean legend)</PRE><DL><DD>Creates and returns a default instance of a high-low-open-close chart.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the chart title.<DD><CODE>timeAxisLabel</CODE> - a label for the time axis.<DD
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?