📄 plotterchart.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#PlotterChart()">PlotterChart</A></B>()</CODE>
<BR>
Creates a plotter chart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#PlotterChart(int)">PlotterChart</A></B>(int seriesCount)</CODE>
<BR>
Creates a plotter chart with give number of series.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></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/ext/PlotterChart.html#addImage(java.lang.String, java.awt.Image)">addImage</A></B>(java.lang.String name, java.awt.Image image)</CODE>
<BR>
Adds an image to 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/ext/PlotterChart.html#addItemListener(java.awt.event.ItemListener)">addItemListener</A></B>(java.awt.event.ItemListener l)</CODE>
<BR>
Adds an item listener to 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/ext/PlotterChart.html#autoRepaint()">autoRepaint</A></B>()</CODE>
<BR>
Calls repaint() if the automaticRepaintOn is turned on.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#checkSelection(java.awt.Point)">checkSelection</A></B>(java.awt.Point point)</CODE>
<BR>
This method is called when the user releases the mouse and checks if the given point is inside a series. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#constructLabel(int, int, int)">constructLabel</A></B>(int series, int sample, int style)</CODE>
<BR>
Constructs the combination of labels.</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/ext/PlotterChart.html#displayFloatingLabel(int, int)">displayFloatingLabel</A></B>(int series, int sample)</CODE>
<BR>
Displays the floating labels for the specified series and/or sample.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#formatNumber(double, int)">formatNumber</A></B>(double value, int decimals)</CODE>
<BR>
Formats a floating number to the number of decimals given. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Color</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getChartBackground()">getChartBackground</A></B>()</CODE>
<BR>
Gets the color of the chart background itself.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Color</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getChartForeground()">getChartForeground</A></B>()</CODE>
<BR>
Gets the color of the chart foreground itself.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Font</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getFont(java.lang.String)">getFont</A></B>(java.lang.String label)</CODE>
<BR>
Gets the font for the specified label. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getGraphBounds()">getGraphBounds</A></B>()</CODE>
<BR>
Calculates the bounding rectangle of the graph itself, based on which features are on and how they are configured.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Insets</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getGraphInsets()">getGraphInsets</A></B>()</CODE>
<BR>
Gets the graph insets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getGridImage(int)">getGridImage</A></B>(int index)</CODE>
<BR>
Gets the image that is used as background for the grid.</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/ext/PlotterChart.html#getImage(java.lang.String)">getImage</A></B>(java.lang.String name)</CODE>
<BR>
Gets the image with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLabel(java.lang.String)">getLabel</A></B>(java.lang.String name)</CODE>
<BR>
Gets the specified label from the chart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLabelAngle(java.lang.String)">getLabelAngle</A></B>(java.lang.String name)</CODE>
<BR>
Gets the angle of the specified label.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Color</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLegendColor(int)">getLegendColor</A></B>(int index)</CODE>
<BR>
Gets legend entry's color value by it's index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Color[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLegendColors()">getLegendColors</A></B>()</CODE>
<BR>
Gets the legend colors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLegendColumns()">getLegendColumns</A></B>()</CODE>
<BR>
Gets the number of columns used to display the legend labels.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLegendImage(int)">getLegendImage</A></B>(int index)</CODE>
<BR>
Gets a legend entry's image name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLegendLabels()">getLegendLabels</A></B>()</CODE>
<BR>
Gets the legend labels. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLegendPosition()">getLegendPosition</A></B>()</CODE>
<BR>
Gets the legend position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLineWidth(int)">getLineWidth</A></B>(int series)</CODE>
<BR>
Gets the current width of the line for the gived series.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Locale</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getLocale()">getLocale</A></B>()</CODE>
<BR>
Gets the current locale used for numbers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Dimension</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getMinimumSize()">getMinimumSize</A></B>()</CODE>
<BR>
This method returns the minimum size of the chart. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getPlotImage(int)">getPlotImage</A></B>(int series)</CODE>
<BR>
Gets a sample highlight image name. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> double[][]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getPlots(int)">getPlots</A></B>(int series)</CODE>
<BR>
Gets the x|y plots array for the specified series.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/objectplanet/chart/ext/PlotterChart.html#getPlotSize(int)">getPlotSize</A></B>(int series)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -