📄 jfreechart.html
字号:
<BR> Returns the plot cast as a <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html"><CODE>CategoryPlot</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/jfree/chart/Legend.html">Legend</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getLegend()">getLegend</A></B>()</CODE><BR> Returns the chart legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/jfree/chart/plot/Plot.html">Plot</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getPlot()">getPlot</A></B>()</CODE><BR> Returns the plot for the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.RenderingHints</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getRenderingHints()">getRenderingHints</A></B>()</CODE><BR> Returns the collection of rendering hints for the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/jfree/chart/AbstractTitle.html">AbstractTitle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getSubtitle(int)">getSubtitle</A></B>(int index)</CODE><BR> Returns a chart subtitle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getSubtitleCount()">getSubtitleCount</A></B>()</CODE><BR> Returns the number of titles for the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getSubtitles()">getSubtitles</A></B>()</CODE><BR> Returns the list of subtitles.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getSuppressChartChangeEvents()">getSuppressChartChangeEvents</A></B>()</CODE><BR> <B>Deprecated.</B> <I>Use isNotify() instead.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/jfree/chart/TextTitle.html">TextTitle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getTitle()">getTitle</A></B>()</CODE><BR> Returns the chart title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getXYPlot()">getXYPlot</A></B>()</CODE><BR> Returns the plot cast as an <A HREF="../../../org/jfree/chart/plot/XYPlot.html"><CODE>XYPlot</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#handleClick(int, int, org.jfree.chart.ChartRenderingInfo)">handleClick</A></B>(int x, int y, <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A> info)</CODE><BR> Handles a 'click' on the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#isBorderVisible()">isBorderVisible</A></B>()</CODE><BR> Returns a flag that controls whether or not a border is drawn around the outside of the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#isNotify()">isNotify</A></B>()</CODE><BR> Returns a flag that controls whether or not change events are sent to registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#legendChanged(org.jfree.chart.event.LegendChangeEvent)">legendChanged</A></B>(<A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html">LegendChangeEvent</A> event)</CODE><BR> Receives notification that the chart legend has changed, and passes this on to registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> Prints information about JFreeChart to standard output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#notifyListeners(org.jfree.chart.event.ChartChangeEvent)">notifyListeners</A></B>(<A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html">ChartChangeEvent</A> event)</CODE><BR> Sends a <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html"><CODE>ChartChangeEvent</CODE></A> to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#notifyListeners(org.jfree.chart.event.ChartProgressEvent)">notifyListeners</A></B>(<A HREF="../../../org/jfree/chart/event/ChartProgressEvent.html">ChartProgressEvent</A> event)</CODE><BR> Sends a <A HREF="../../../org/jfree/chart/event/ChartProgressEvent.html"><CODE>ChartProgressEvent</CODE></A> to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#plotChanged(org.jfree.chart.event.PlotChangeEvent)">plotChanged</A></B>(<A HREF="../../../org/jfree/chart/event/PlotChangeEvent.html">PlotChangeEvent</A> event)</CODE><BR> Receives notification that the plot has changed, and passes this on to registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#removeChangeListener(org.jfree.chart.event.ChartChangeListener)">removeChangeListener</A></B>(<A HREF="../../../org/jfree/chart/event/ChartChangeListener.html">ChartChangeListener</A> listener)</CODE><BR> Deregisters an object for notification of changes to the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#removeProgressListener(org.jfree.chart.event.ChartProgressListener)">removeProgressListener</A></B>(<A HREF="../../../org/jfree/chart/event/ChartProgressListener.html">ChartProgressListener</A> listener)</CODE><BR> Deregisters an object for notification of changes to the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setAntiAlias(boolean)">setAntiAlias</A></B>(boolean flag)</CODE><BR> <B>Deprecated.</B> <I>Add hints using the getRenderingHints()/setRenderingHints() methods.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBackgroundImage(java.awt.Image)">setBackgroundImage</A></B>(java.awt.Image image)</CODE><BR> Sets the chart's background image (null permitted).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBackgroundImageAlignment(int)">setBackgroundImageAlignment</A></B>(int alignment)</CODE><BR> Sets the background alignment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBackgroundImageAlpha(float)">setBackgroundImageAlpha</A></B>(float alpha)</CODE><BR> Sets the alpha-transparency for the chart's background image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBackgroundPaint(java.awt.Paint)">setBackgroundPaint</A></B>(java.awt.Paint paint)</CODE><BR> Sets the color/shade used to fill the chart background.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBorderPaint(java.awt.Paint)">setBorderPaint</A></B>(java.awt.Paint paint)</CODE><BR> Sets the paint used to draw the chart border (if visible).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBorderStroke(java.awt.Stroke)">setBorderStroke</A></B>(java.awt.Stroke stroke)</CODE><BR> Sets the stroke used to draw the chart border (if visible).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setBorderVisible(boolean)">setBorderVisible</A></B>(boolean visible)</CODE><BR> Sets a flag that controls whether or not a border is drawn around the outside of the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setLegend(org.jfree.chart.Legend)">setLegend</A></B>(<A HREF="../../../org/jfree/chart/Legend.html">Legend</A> legend)</CODE><BR> Sets the chart legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setNotify(boolean)">setNotify</A></B>(boolean notify)</CODE><BR> Sets a flag that controls whether or not listeners receive <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html"><CODE>ChartChangeEvent</CODE></A> notifications.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setRenderingHints(java.awt.RenderingHints)">setRenderingHints</A></B>(java.awt.RenderingHints renderingHints)</CODE><BR> Sets the rendering hints for the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setSubtitles(java.util.List)">setSubtitles</A></B>(java.util.List subtitles)</CODE><BR> Sets the title list for the chart (completely replaces any existing titles).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setSuppressChartChangeEvents(boolean)">setSuppressChartChangeEvents</A></B>(boolean flag)</CODE><BR> <B>Deprecated.</B> <I>Use setNotify(boolean) instead.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String title)</CODE><BR> Sets the chart title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#setTitle(org.jfree.chart.TextTitle)">setTitle</A></B>(<A HREF="../../../org/jfree/chart/TextTitle.html">TextTitle</A> title)</CODE><BR> Sets the title for the chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#titleChanged(org.jfree.chart.event.TitleChangeEvent)">titleChanged</A></B>(<A HREF="../../../org/jfree/chart/event/TitleChangeEvent.html">TitleChangeEvent</A> event)</CODE><BR> Receives notification that a chart title has changed, and passes this on to registered listeners.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="INFO"><!-- --></A><H3>INFO</H3><PRE>public static final org.jfree.ui.about.ProjectInfo <B>INFO</B></PRE><DL><DD>Information about the project.<P><DL></DL></DL><HR><A NAME="renderingHints"><!-- --></A><H3>renderingHints</H3><PRE>public transient java.awt.RenderingHints <B>renderingHints</B></PRE><DL><DD>Rendering hints that will be used for chart drawing.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -