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

📄 chartpanel.html

📁 JFreeChart的帮助文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DL></DD><DD><DL><DT><B>Returns:</B><DD>The chart.</DL></DD></DL><HR><A NAME="setChart(org.jfree.chart.JFreeChart)"><!-- --></A><H3>setChart</H3><PRE>public void <B>setChart</B>(<A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A>&nbsp;chart)</PRE><DL><DD>Sets the chart that is displayed in the panel.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>chart</CODE> - The chart.</DL></DD></DL><HR><A NAME="getMinimumDrawWidth()"><!-- --></A><H3>getMinimumDrawWidth</H3><PRE>public int <B>getMinimumDrawWidth</B>()</PRE><DL><DD>Returns the minimum drawing width for charts. <P> If the width available on the panel is less than this, then the chart is drawn at the minimum width then scaled down to fit.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The minimum drawing width.</DL></DD></DL><HR><A NAME="setMinimumDrawWidth(int)"><!-- --></A><H3>setMinimumDrawWidth</H3><PRE>public void <B>setMinimumDrawWidth</B>(int&nbsp;width)</PRE><DL><DD>Sets the minimum drawing width for the chart on this panel. <P> At the time the chart is drawn on the panel, if the available width is less than this amount, the chart will be drawn using the minimum width then scaled down to fit the available space.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - The width.</DL></DD></DL><HR><A NAME="getMaximumDrawWidth()"><!-- --></A><H3>getMaximumDrawWidth</H3><PRE>public int <B>getMaximumDrawWidth</B>()</PRE><DL><DD>Returns the maximum drawing width for charts. <P> If the width available on the panel is greater than this, then the chart is drawn at the maximum width then scaled up to fit.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The maximum drawing width.</DL></DD></DL><HR><A NAME="setMaximumDrawWidth(int)"><!-- --></A><H3>setMaximumDrawWidth</H3><PRE>public void <B>setMaximumDrawWidth</B>(int&nbsp;width)</PRE><DL><DD>Sets the maximum drawing width for the chart on this panel. <P> At the time the chart is drawn on the panel, if the available width is greater than this amount, the chart will be drawn using the maximum width then scaled up to fit the available space.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - The width.</DL></DD></DL><HR><A NAME="setMinimumDrawHeight(int)"><!-- --></A><H3>setMinimumDrawHeight</H3><PRE>public void <B>setMinimumDrawHeight</B>(int&nbsp;height)</PRE><DL><DD>Sets the minimum drawing height for the chart on this panel. <P> At the time the chart is drawn on the panel, if the available height is less than this amount, the chart will be drawn using the minimum height then scaled down to fit the available space.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - The height.</DL></DD></DL><HR><A NAME="getMinimumDrawHeight()"><!-- --></A><H3>getMinimumDrawHeight</H3><PRE>public int <B>getMinimumDrawHeight</B>()</PRE><DL><DD>Returns the minimum drawing height for charts. <P> If the height available on the panel is less than this, then the chart is drawn at the minimum height then scaled down to fit.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The minimum drawing height.</DL></DD></DL><HR><A NAME="getMaximumDrawHeight()"><!-- --></A><H3>getMaximumDrawHeight</H3><PRE>public int <B>getMaximumDrawHeight</B>()</PRE><DL><DD>Returns the maximum drawing height for charts. <P> If the height available on the panel is greater than this, then the chart is drawn at the maximum height then scaled up to fit.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The maximum drawing height.</DL></DD></DL><HR><A NAME="setMaximumDrawHeight(int)"><!-- --></A><H3>setMaximumDrawHeight</H3><PRE>public void <B>setMaximumDrawHeight</B>(int&nbsp;height)</PRE><DL><DD>Sets the maximum drawing height for the chart on this panel. <P> At the time the chart is drawn on the panel, if the available height is greater than this amount, the chart will be drawn using the maximum height then scaled up to fit the available space.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - The height.</DL></DD></DL><HR><A NAME="getPopupMenu()"><!-- --></A><H3>getPopupMenu</H3><PRE>public javax.swing.JPopupMenu <B>getPopupMenu</B>()</PRE><DL><DD>Returns the popup menu.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the popup menu.</DL></DD></DL><HR><A NAME="setPopupMenu(javax.swing.JPopupMenu)"><!-- --></A><H3>setPopupMenu</H3><PRE>public void <B>setPopupMenu</B>(javax.swing.JPopupMenu&nbsp;popup)</PRE><DL><DD>Sets the popup menu for the panel.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>popup</CODE> - the new popup menu.</DL></DD></DL><HR><A NAME="getChartRenderingInfo()"><!-- --></A><H3>getChartRenderingInfo</H3><PRE>public <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A> <B>getChartRenderingInfo</B>()</PRE><DL><DD>Returns the chart rendering info from the most recent chart redraw.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the chart rendering info.</DL></DD></DL><HR><A NAME="setMouseZoomable(boolean)"><!-- --></A><H3>setMouseZoomable</H3><PRE>public void <B>setMouseZoomable</B>(boolean&nbsp;flag)</PRE><DL><DD>A flag that controls mouse-based zooming.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - <code>true</code> enables zooming and rectangle fill on zoom.</DL></DD></DL><HR><A NAME="setMouseZoomable(boolean, boolean)"><!-- --></A><H3>setMouseZoomable</H3><PRE>public void <B>setMouseZoomable</B>(boolean&nbsp;flag,                             boolean&nbsp;fillRectangle)</PRE><DL><DD>Controls mouse zooming and how the zoom rectangle is displayed<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - <code>true</code> if zooming enabled<DD><CODE>fillRectangle</CODE> - <code>true</code> if zoom rectangle is filled,                       false if rectangle is shown as outline only.</DL></DD></DL><HR><A NAME="setHorizontalZoom(boolean)"><!-- --></A><H3>setHorizontalZoom</H3><PRE>public void <B>setHorizontalZoom</B>(boolean&nbsp;flag)</PRE><DL><DD>A flag that controls mouse-based zooming on the horizontal axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - <code>true</code> enables zooming on HorizontalValuePlots.</DL></DD></DL><HR><A NAME="setFillZoomRectangle(boolean)"><!-- --></A><H3>setFillZoomRectangle</H3><PRE>public void <B>setFillZoomRectangle</B>(boolean&nbsp;flag)</PRE><DL><DD>A flag that controls how the zoom rectangle is drawn.<P><DD><DL>

⌨️ 快捷键说明

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