📄 jfreechart.html
字号:
<TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Point2D, org.jfree.chart.ChartRenderingInfo)">draw</A></B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D chartArea, java.awt.geom.Point2D anchor, <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html" title="class in org.jfree.chart">ChartRenderingInfo</A> info)</CODE><BR> Draws the chart on a Java 2D graphics device (such as the screen or a printer).</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#drawTitle(org.jfree.chart.title.Title, java.awt.Graphics2D, java.awt.geom.Rectangle2D)">drawTitle</A></B>(<A HREF="../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A> title, java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)</CODE><BR> Draws a title.</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#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE><BR> Tests this chart for equality with another object.</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#fireChartChanged()">fireChartChanged</A></B>()</CODE><BR> Sends a default <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getAntiAlias()">getAntiAlias</A></B>()</CODE><BR> Returns a flag that indicates whether or not anti-aliasing is used when the chart is drawn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Image</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getBackgroundImage()">getBackgroundImage</A></B>()</CODE><BR> Returns the background image for the chart, or <code>null</code> if there is no image.</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#getBackgroundImageAlignment()">getBackgroundImageAlignment</A></B>()</CODE><BR> Returns the background image alignment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getBackgroundImageAlpha()">getBackgroundImageAlpha</A></B>()</CODE><BR> Returns 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> java.awt.Paint</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getBackgroundPaint()">getBackgroundPaint</A></B>()</CODE><BR> Returns the paint used for the chart background.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Paint</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getBorderPaint()">getBorderPaint</A></B>()</CODE><BR> Returns 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> java.awt.Stroke</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getBorderStroke()">getBorderStroke</A></B>()</CODE><BR> Returns 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> <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/JFreeChart.html#getCategoryPlot()">getCategoryPlot</A></B>()</CODE><BR> Returns the plot cast as a <A HREF="../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot"><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" title="class in org.jfree.chart">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" title="class in org.jfree.chart.plot">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/title/Title.html" title="class in org.jfree.chart.title">Title</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/title/TextTitle.html" title="class in org.jfree.chart.title">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" title="class in org.jfree.chart.plot">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" title="class in org.jfree.chart.plot"><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" title="class in org.jfree.chart">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" title="class in org.jfree.chart.event">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" title="class in org.jfree.chart.event">ChartChangeEvent</A> event)</CODE><BR> Sends a <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><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" title="class in org.jfree.chart.event">ChartProgressEvent</A> event)</CODE><BR> Sends a <A HREF="../../../org/jfree/chart/event/ChartProgressEvent.html" title="class in org.jfree.chart.event"><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" title="class in org.jfree.chart.event">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" title="interface in org.jfree.chart.event">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" title="interface in org.jfree.chart.event">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> Sets a flag that indicates whether or not anti-aliasing is used when the chart is drawn.</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 background image for the chart and sends a <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><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> 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 paint used to fill the chart background and sends a <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html" title="class in org.jfree.chart.event"><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> 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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -