xydifferencerenderer.html
来自「JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东」· HTML 代码 · 共 546 行 · 第 1/5 页
HTML
546 行
<DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getNegativePaint()"><!-- --></A><H3>getNegativePaint</H3><PRE>public java.awt.Paint <B>getNegativePaint</B>()</PRE><DL><DD>Returns the paint used to highlight negative differences.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the paint (never <code>null</code>).</DL></DD></DL><HR><A NAME="setNegativePaint(java.awt.Paint)"><!-- --></A><H3>setNegativePaint</H3><PRE>public void <B>setNegativePaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to highlight negative differences.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getPlotShapes()"><!-- --></A><H3>getPlotShapes</H3><PRE>public boolean <B>getPlotShapes</B>()</PRE><DL><DD>Returns a flag that controls whether or not shapes are drawn for each data value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean.</DL></DD></DL><HR><A NAME="setPlotShapes(boolean)"><!-- --></A><H3>setPlotShapes</H3><PRE>public void <B>setPlotShapes</B>(boolean flag)</PRE><DL><DD>Sets a flag that controls whether or not shapes are drawn for each data value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.XYPlot, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotRenderingInfo)"><!-- --></A><H3>initialise</H3><PRE>public <A HREF="../../../../org/jfree/chart/renderer/XYItemRendererState.html" title="class in org.jfree.chart.renderer">XYItemRendererState</A> <B>initialise</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A> plot, <A HREF="../../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> data, <A HREF="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</A> info)</PRE><DL><DD>Initialises the renderer and returns a state object that should be passed to subsequent calls to the drawItem() method. This method will be called before the first item is rendered, giving the renderer an opportunity to initialise any state information it wants to maintain. The renderer can do nothing if it chooses.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.XYPlot, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotRenderingInfo)">initialise</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html" title="interface in org.jfree.chart.renderer">XYItemRenderer</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractXYItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.XYPlot, org.jfree.data.XYDataset, org.jfree.chart.plot.PlotRenderingInfo)">initialise</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractXYItemRenderer.html" title="class in org.jfree.chart.renderer">AbstractXYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area inside the axes.<DD><CODE>plot</CODE> - the plot.<DD><CODE>data</CODE> - the data.<DD><CODE>info</CODE> - an optional info collection object to return data back to the caller.<DT><B>Returns:</B><DD>a state object.</DL></DD></DL><HR><A NAME="getPassCount()"><!-- --></A><H3>getPassCount</H3><PRE>public int <B>getPassCount</B>()</PRE><DL><DD>Returns <code>2</code>, the number of passes required by the renderer. The <A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><CODE>XYPlot</CODE></A> will run through the dataset this number of times.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?