📄 chartfactory.html
字号:
java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/WindDataset.html" title="interface in org.jfree.data">WindDataset</A> dataset, boolean legend, boolean tooltips, boolean urls)</CODE><BR> 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 <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 title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</CODE><BR> 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 <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 title, java.lang.String xAxisLabel, boolean dateAxis, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/IntervalXYDataset.html" title="interface in org.jfree.data">IntervalXYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</CODE><BR> 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 <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 title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/IntervalXYDataset.html" title="interface in org.jfree.data">IntervalXYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</CODE><BR> <B>Deprecated.</B> <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 <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 title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</CODE><BR> 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 <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 title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</CODE><BR> 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 <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 title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, <A HREF="../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> dataset, <A HREF="../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A> orientation, boolean legend, boolean tooltips, boolean urls)</CODE><BR> Creates a stepped XY plot with default settings.</TD></TR></TABLE> <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> <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 title, <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> dataset, boolean legend, boolean tooltips, boolean 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 title, <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> dataset, <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> previousDataset, int percentDiffForMaxScale, boolean greenForIncrease, boolean legend, boolean tooltips, boolean urls, boolean subTitle, boolean 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 + -