⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 levelrenderer.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the percent.</DL></DD></DL><HR><A NAME="initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, int, org.jfree.chart.plot.PlotRenderingInfo)"><!-- --></A><H3>initialise</H3><PRE>public <A HREF="../../../../org/jfree/chart/renderer/CategoryItemRendererState.html" title="class in org.jfree.chart.renderer">CategoryItemRendererState</A> <B>initialise</B>(java.awt.Graphics2D&nbsp;g2,                                            java.awt.geom.Rectangle2D&nbsp;dataArea,                                            <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A>&nbsp;plot,                                            int&nbsp;rendererIndex,                                            <A HREF="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Initialises the renderer and returns a state object that will be passed to subsequent calls  to the drawItem method. <p> This method gets called once at the start of the process of drawing a chart.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, int, org.jfree.chart.plot.PlotRenderingInfo)">initialise</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html" title="interface in org.jfree.chart.renderer">CategoryItemRenderer</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, int, org.jfree.chart.plot.PlotRenderingInfo)">initialise</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html" title="class in org.jfree.chart.renderer">AbstractCategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area in which the data is to be plotted.<DD><CODE>plot</CODE> - the plot.<DD><CODE>rendererIndex</CODE> - the renderer index.<DD><CODE>info</CODE> - collects chart rendering information for return to caller.<DT><B>Returns:</B><DD>The renderer state.</DL></DD></DL><HR><A NAME="calculateItemWidth(org.jfree.chart.plot.CategoryPlot, java.awt.geom.Rectangle2D, int, org.jfree.chart.renderer.CategoryItemRendererState)"><!-- --></A><H3>calculateItemWidth</H3><PRE>protected void <B>calculateItemWidth</B>(<A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A>&nbsp;plot,                                  java.awt.geom.Rectangle2D&nbsp;dataArea,                                  int&nbsp;rendererIndex,                                  <A HREF="../../../../org/jfree/chart/renderer/CategoryItemRendererState.html" title="class in org.jfree.chart.renderer">CategoryItemRendererState</A>&nbsp;state)</PRE><DL><DD>Calculates the bar width and stores it in the renderer state.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>plot</CODE> - the plot.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>rendererIndex</CODE> - the renderer index.<DD><CODE>state</CODE> - the renderer state.</DL></DD></DL><HR><A NAME="calculateBarW0(org.jfree.chart.plot.CategoryPlot, org.jfree.chart.plot.PlotOrientation, java.awt.geom.Rectangle2D, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.renderer.CategoryItemRendererState, int, int)"><!-- --></A><H3>calculateBarW0</H3><PRE>protected double <B>calculateBarW0</B>(<A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A>&nbsp;plot,                                <A HREF="../../../../org/jfree/chart/plot/PlotOrientation.html" title="class in org.jfree.chart.plot">PlotOrientation</A>&nbsp;orientation,                                java.awt.geom.Rectangle2D&nbsp;dataArea,                                <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html" title="class in org.jfree.chart.axis">CategoryAxis</A>&nbsp;domainAxis,                                <A HREF="../../../../org/jfree/chart/renderer/CategoryItemRendererState.html" title="class in org.jfree.chart.renderer">CategoryItemRendererState</A>&nbsp;state,                                int&nbsp;row,                                int&nbsp;column)</PRE><DL><DD>Calculates the coordinate of the first "side" of a bar.  This will be the minimum  x-coordinate for a vertical bar, and the minimum y-coordinate for a horizontal bar.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>plot</CODE> - the plot.<DD><CODE>orientation</CODE> - the plot orientation.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>state</CODE> - the renderer state (has the bar width precalculated).<DD><CODE>row</CODE> - the row index.<DD><CODE>column</CODE> - the column index.<DT><B>Returns:</B><DD>the coordinate.</DL></DD></DL><HR><A NAME="drawItem(java.awt.Graphics2D, org.jfree.chart.renderer.CategoryItemRendererState, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)"><!-- --></A><H3>drawItem</H3><PRE>public void <B>drawItem</B>(java.awt.Graphics2D&nbsp;g2,                     <A HREF="../../../../org/jfree/chart/renderer/CategoryItemRendererState.html" title="class in org.jfree.chart.renderer">CategoryItemRendererState</A>&nbsp;state,                     java.awt.geom.Rectangle2D&nbsp;dataArea,                     <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html" title="class in org.jfree.chart.plot">CategoryPlot</A>&nbsp;plot,                     <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html" title="class in org.jfree.chart.axis">CategoryAxis</A>&nbsp;domainAxis,                     <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A>&nbsp;rangeAxis,                     <A HREF="../../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;dataset,                     int&nbsp;row,                     int&nbsp;column)</PRE><DL><DD>Draws the bar for a single (series, category) data item.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html#drawItem(java.awt.Graphics2D, org.jfree.chart.renderer.CategoryItemRendererState, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)">drawItem</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html" title="interface in org.jfree.chart.renderer">CategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>state</CODE> - the renderer state.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>plot</CODE> - the plot.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>dataset</CODE> - the dataset.<DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).</DL></DD></DL><HR><A NAME="calculateSeriesWidth(double, org.jfree.chart.axis.CategoryAxis, int, int)"><!-- --></A><H3>calculateSeriesWidth</H3><PRE>protected double <B>calculateSeriesWidth</B>(double&nbsp;space,                                      <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html" title="class in org.jfree.chart.axis

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -