📄 chart.html
字号:
<BR>
Checks if the sample labels are turned on.</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="../../../com/objectplanet/chart/Chart.html#isSampleScrollerOn()">isSampleScrollerOn</A></B>()</CODE>
<BR>
Checks if the sample scroller is turned on.</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="../../../com/objectplanet/chart/Chart.html#isSelected(int, int)">isSelected</A></B>(int serie, int sample)</CODE>
<BR>
Checks if a sample is selected.</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="../../../com/objectplanet/chart/Chart.html#isSeriesLabelsOn()">isSeriesLabelsOn</A></B>()</CODE>
<BR>
Checks if the floating series labels is turned on.</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="../../../com/objectplanet/chart/Chart.html#isServletModeOn()">isServletModeOn</A></B>()</CODE>
<BR>
Checks if the servlet mode is turned on.</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="../../../com/objectplanet/chart/Chart.html#isTitleOn()">isTitleOn</A></B>()</CODE>
<BR>
Checks if the title is turned on.</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="../../../com/objectplanet/chart/Chart.html#isValueLabelsOn()">isValueLabelsOn</A></B>()</CODE>
<BR>
Checks if the value labels are turned on for any series.</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="../../../com/objectplanet/chart/Chart.html#isValueLabelsOn(int)">isValueLabelsOn</A></B>(int serie)</CODE>
<BR>
Checks if the value labels are turned on for a specified series.</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="../../../com/objectplanet/chart/Chart.html#isValueLinesOn()">isValueLinesOn</A></B>()</CODE>
<BR>
Checks if the value lines are turned on.</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="../../../com/objectplanet/chart/Chart.html#loadImage(java.lang.String)">loadImage</A></B>(java.lang.String name)</CODE>
<BR>
Loads an image from the disk.</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="../../../com/objectplanet/chart/Chart.html#main(java.lang.String[])">main</A></B>(java.lang.String[] argv)</CODE>
<BR>
Prints out the current version number.</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="../../../com/objectplanet/chart/Chart.html#paint(java.awt.Graphics)">paint</A></B>(java.awt.Graphics g)</CODE>
<BR>
This method is overridden to paint the chart using double buffering.</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="../../../com/objectplanet/chart/Chart.html#print(java.awt.Graphics)">print</A></B>(java.awt.Graphics g)</CODE>
<BR>
Call this methods if you want to print the chart from a java program.</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="../../../com/objectplanet/chart/Chart.html#processEvent(java.awt.AWTEvent)">processEvent</A></B>(java.awt.AWTEvent event)</CODE>
<BR>
Handles the chart events.</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="../../../com/objectplanet/chart/Chart.html#removeExternalGraphics()">removeExternalGraphics</A></B>()</CODE>
<BR>
Removes external graphics context if there is one.</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="../../../com/objectplanet/chart/Chart.html#removeItemListener(java.awt.event.ItemListener)">removeItemListener</A></B>(java.awt.event.ItemListener l)</CODE>
<BR>
Removes the specified item listener from 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="../../../com/objectplanet/chart/Chart.html#removeOverlayChart(int)">removeOverlayChart</A></B>(int index)</CODE>
<BR>
Removes the specified overlay chart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/Chart.html#render(java.awt.Graphics)">render</A></B>(java.awt.Graphics g)</CODE>
<BR>
This method is called by paint(), and has to be implemented by the subclass to render the chart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/Chart.html#renderData(java.awt.Graphics, java.awt.Rectangle, java.awt.Rectangle)">renderData</A></B>(java.awt.Graphics g, java.awt.Rectangle grid, java.awt.Rectangle dataBounds)</CODE>
<BR>
This method renders the data (bars, lines, pies).</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="../../../com/objectplanet/chart/Chart.html#reset()">reset</A></B>()</CODE>
<BR>
Resets the chart data and features.</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="../../../com/objectplanet/chart/Chart.html#run()">run</A></B>()</CODE>
<BR>
Internal do not call.</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="../../../com/objectplanet/chart/Chart.html#set3DDepth(int)">set3DDepth</A></B>(int depth)</CODE>
<BR>
Sets the depth of the 3D effect in number of pixels.</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="../../../com/objectplanet/chart/Chart.html#set3DModeOn(boolean)">set3DModeOn</A></B>(boolean on)</CODE>
<BR>
Turns on or off 3D look of 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="../../../com/objectplanet/chart/Chart.html#setAutomaticRepaintOn(boolean)">setAutomaticRepaintOn</A></B>(boolean state)</CODE>
<BR>
Turns on or off the automatic repaint.</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="../../../com/objectplanet/chart/Chart.html#setBackground(java.awt.Color)">setBackground</A></B>(java.awt.Color color)</CODE>
<BR>
Sets the chart component background color, outside the chart grid.</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="../../../com/objectplanet/chart/Chart.html#setChartBackground(java.awt.Color)">setChartBackground</A></B>(java.awt.Color color)</CODE>
<BR>
Sets the background color of the chart itself.</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="../../../com/objectplanet/chart/Chart.html#setChartData(com.objectplanet.chart.ChartData)">setChartData</A></B>(<A HREF="../../../com/objectplanet/chart/ChartData.html">ChartData</A> chartData)</CODE>
<BR>
Lets the chart use the specified chart data.</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="../../../com/objectplanet/chart/Chart.html#setChartForeground(java.awt.Color)">setChartForeground</A></B>(java.awt.Color color)</CODE>
<BR>
Sets the foreground color of the chart itself.</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="../../../com/objectplanet/chart/Chart.html#setCurrentLowerRange(int, double)">setCurrentLowerRange</A></B>(int adjuster, double lower)</CODE>
<BR>
Sets the current lower range of the specified range adjuster.</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="../../../com/objectplanet/chart/Chart.html#setCurrentRange(int, double)">setCurrentRange</A></B>(int adjuster, double upper)</CODE>
<BR>
Sets the current upper range of the specified range adjuster.</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="../../../com/objectplanet/chart/Chart.html#setDefaultGridLinesColor(java.awt.Color)">setDefaultGridLinesColor</A></B>(java.awt.Color color)</CODE>
<BR>
Sets the color of the default vertical grid lines.</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="../../../com/objectplanet/chart/Chart.html#setDefaultGridLinesOn(boolean)">setDefaultGridLinesOn</A></B>(boolean on)</CODE>
<BR>
Turns on or off the default vertical grid lines.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<T
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -