📄 xyarearenderer.html
字号:
<DT><B>Returns:</B><DD>the flag.</DL></DD></DL><HR><A NAME="setOutline(boolean)"><!-- --></A><H3>setOutline</H3><PRE>public void <B>setOutline</B>(boolean show)</PRE><DL><DD>Sets a flag that controls whether or not outlines of the areas are drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>show</CODE> - the flag.</DL></DD></DL><HR><A NAME="getPlotShapes()"><!-- --></A><H3>getPlotShapes</H3><PRE>public boolean <B>getPlotShapes</B>()</PRE><DL><DD>Returns true if shapes are being plotted by the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if shapes are being plotted by the renderer.</DL></DD></DL><HR><A NAME="getPlotLines()"><!-- --></A><H3>getPlotLines</H3><PRE>public boolean <B>getPlotLines</B>()</PRE><DL><DD>Returns true if lines are being plotted by the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if lines are being plotted by the renderer.</DL></DD></DL><HR><A NAME="getPlotArea()"><!-- --></A><H3>getPlotArea</H3><PRE>public boolean <B>getPlotArea</B>()</PRE><DL><DD>Returns true if Area is being plotted by the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if Area is being plotted by the renderer.</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 all subsequent calls to the drawItem(...) method.<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 for use by the renderer.</DL></DD></DL><HR><A NAME="drawItem(java.awt.Graphics2D, org.jfree.chart.renderer.XYItemRendererState, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotRenderingInfo, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.XYDataset, int, int, org.jfree.chart.plot.CrosshairState, int)"><!-- --></A><H3>drawItem</H3><PRE>public void <B>drawItem</B>(java.awt.Graphics2D g2, <A HREF="../../../../org/jfree/chart/renderer/XYItemRendererState.html" title="class in org.jfree.chart.renderer">XYItemRendererState</A> state, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</A> info, <A HREF="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</A> plot, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> domainAxis, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> rangeAxis, <A HREF="../../../../org/jfree/data/XYDataset.html" title="interface in org.jfree.data">XYDataset</A> dataset, int series, int item, <A HREF="../../../../org/jfree/chart/plot/CrosshairState.html" title="class in org.jfree.chart.plot">CrosshairState</A> crosshairState, int pass)</PRE><DL><DD>Draws the visual representation of a single data item.<P><DD><DL><DT><B>Specified by:</B><DD><COD
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -