📄 linechart.html
字号:
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#SAMPLE_HIGHLIGHT_DIAMOND_FILLED">SAMPLE_HIGHLIGHT_DIAMOND_FILLED</A></B></CODE>
<BR>
Use a filled diamond as a sample highlighter on a line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#SAMPLE_HIGHLIGHT_DIAMOND_OPAQUE">SAMPLE_HIGHLIGHT_DIAMOND_OPAQUE</A></B></CODE>
<BR>
Use an opaque diamond as a sample highlighter on a line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#SAMPLE_HIGHLIGHT_SQUARE">SAMPLE_HIGHLIGHT_SQUARE</A></B></CODE>
<BR>
Use a square as a sample highlighter on a line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#SAMPLE_HIGHLIGHT_SQUARE_FILLED">SAMPLE_HIGHLIGHT_SQUARE_FILLED</A></B></CODE>
<BR>
Use a filled square as a sample highlighter on a line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#SAMPLE_HIGHLIGHT_SQUARE_OPAQUE">SAMPLE_HIGHLIGHT_SQUARE_OPAQUE</A></B></CODE>
<BR>
Use an opaque square as a sample highlighter on a line.</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/LineChart.html#samplePoints">samplePoints</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_com.objectplanet.chart.Chart"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class com.objectplanet.chart.<A HREF="../../../com/objectplanet/chart/Chart.html">Chart</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../com/objectplanet/chart/Chart.html#BELOW">BELOW</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#BELOW_AND_FLOATING">BELOW_AND_FLOATING</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#BOTTOM">BOTTOM</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#chartData">chartData</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#depth3dPoint">depth3dPoint</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#FLOATING">FLOATING</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#HORIZONTAL">HORIZONTAL</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#INSIDE">INSIDE</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#lastCalculationTime">lastCalculationTime</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#LEFT">LEFT</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#OUTSIDE">OUTSIDE</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#overlayCharts">overlayCharts</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#POINTING">POINTING</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#RIGHT">RIGHT</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#TARGET_LINE_ID_AND_VALUE_LABEL">TARGET_LINE_ID_AND_VALUE_LABEL</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#TARGET_LINE_ID_LABEL">TARGET_LINE_ID_LABEL</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#TARGET_LINE_NO_LABEL">TARGET_LINE_NO_LABEL</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#TARGET_LINE_VALUE_LABEL">TARGET_LINE_VALUE_LABEL</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#TOP">TOP</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#VERTICAL">VERTICAL</A>, <A HREF="../../../com/objectplanet/chart/Chart.html#visibleSamples">visibleSamples</A></CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface java.awt.image.ImageObserver</B></TD>
</TR>
<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/LineChart.html#LineChart()">LineChart</A></B>()</CODE>
<BR>
Creates a line chart with one series, 5 samples, and a range of 0-100.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#LineChart(int, int, double)">LineChart</A></B>(int seriesCount, int sampleCount, double range)</CODE>
<BR>
Creates a line chart with the specified number of series, the number of samples per serie, and the chart range.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#LineChart(int, int, double, double)">LineChart</A></B>(int seriesCount, int sampleCount, double range, double lowerRange)</CODE>
<BR>
Creates a line chart with the specified number of series, the number of samples per serie, and the chart range.</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>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#calculateChartData(java.awt.Rectangle, java.awt.Rectangle)">calculateChartData</A></B>(java.awt.Rectangle grid, java.awt.Rectangle dataBounds)</CODE>
<BR>
Calculates chart data. </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/LineChart.html#checkDataIntegrity()">checkDataIntegrity</A></B>()</CODE>
<BR>
Makes sure the linechart specific data has the same number of series and samples as the chart data has.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../com/objectplanet/chart/ChartSample.html">ChartSample</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.html#checkSelection(java.awt.Point)">checkSelection</A></B>(java.awt.Point point)</CODE>
<BR>
If we select a box in the legend, it returns a ChartSample with the correct series, but the sample is set to -1. </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/LineChart.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.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/LineChart.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/LineChart.html#getLineWidth(int)">getLineWidth</A></B>(int series)</CODE>
<BR>
Gets the current width of the given series line.</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/LineChart.html#getMaxValue(int)">getMaxValue</A></B>(int serie)</CODE>
<BR>
Gets the maximum value in the chart. </TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -