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

📄 plotterchart.html

📁 java图形报表制作Applet
💻 HTML
📖 第 1 页 / 共 3 页
字号:
setXLowerRange(0, -200);<br>
setXLowerRange(1, -800);<br>
setXLowerRange(2, -5000);<hr size=1 color="#c0c0c0">
XLowerRange=-200<br>
XLowerRange=-800<br>
XLowerRange_2=-5000
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="YLowerRange"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>YLowerRange</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the lower value of the y range axis. If this is not set, 
the lower range will be automatically set to the smallest sample (or
0 if no samples are negative). 
In java applications the lower range is set to 0 by default.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="YLowerRange" value=-200&gt;<br>
&lt;param name="YLowerRange_2" value=-800&gt;<br>
&lt;param name="YLowerRange_3" value=-5000&gt;<hr size=1 color="#c0c0c0">
setYLowerRange(0, -200);<br>
setYLowerRange(1, -800);<br>
setYLowerRange(2, -5000);<hr size=1 color="#c0c0c0">
YLowerRange=-200<br>
YLowerRange=-800<br>
YLowerRange_2=-5000
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeOn"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeOn</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Turns on the specified ranges. the parameter value consists of 0 to 4 parameters:
<i>top</i>, <i>left</i>, <i>bottom</i> or <i>right</i>. The parameters can be specified in
any order.<br>
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeOn" value="left,bottom"&gt;<hr size=1 color="#c0c0c0">
setRangeOn(PlotterChart.RIGHT, true);<br>
setRangeOn(PlotterChart.LEFT, false);<br>
setRangeOn(PlotterChart.TOP, false);<br>
setRangeOn(PlotterChart.BOTTOM, true);<hr size=1 color="#c0c0c0">
rangeOn=right,left,top,bottom
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeColor"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeColor</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the color of the bottom range value labels and tick marks.  
The parameter value consists of 4 parameters whith the following sequence:
top, left, bottom, right. An empty value (x) uses the default color.<br>
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeColor value="x,red,blue"&gt;<hr size=1 color="#c0c0c0">
setRangeColor(PlotterChart.LEFT, Color.green);<br>
setRangeColor(PlotterChart.BOTTOM, Color.blue);<hr size=1 color="#c0c0c0">
rangeColor=x,red,blue
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeAdjusterOn_"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeAdjusterOn_</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Turns on the specified range adjuster. The range adjuster allows the user to adjust
the upper and lower ranges at runtime. The position of the adjuster must be specified after 
the <i>rangeAdjusterOn_</i> and can be <i>right</i> or <i>bottom</i>. 
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeAdjusterOn_right" value=true&gt;<br>
&lt;param name="rangeAdjusterOn_bottom" value=true&gt;<hr size=1 color="#c0c0c0">
setRangeAdjusterOn(PlotterChart.RIGHT, true);
setRangeAdjusterOn(PlotterChart.BOTTOM, true);
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeAxisLabel_"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeAxisLabel_</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Adds a label to a specified range axis. The position of the label must be specified after 
the <i>rangeAxisLabel_</i> and can be <i>right</i>, <i>left</i>, <i>top</i> or <i>bottom</i>. 
The label is horizontal by default, but the angle can be controlled using the 
rangeAxisLabelAngle parameter.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeAxisLabel_right" value="right range"&gt;<br>
&lt;param name="rangeAxisLabel_left" value="left range"&gt;<br>
&lt;param name="rangeAxisLabel_top" value="top range"&gt;<br>
&lt;param name="rangeAxisLabel_bottom" value="bottom range"&gt;<hr size=1 color="#c0c0c0">
setLabel("rangeAxisLabel_right", "right range");<br>
setLabel("rangeAxisLabel_left", "left range");<br>
setLabel("rangeAxisLabel_top", "top range");<br>
setLabel("rangeAxisLabel_bottom", "bottom range");<hr size=1 color="#c0c0c0">
rangeAxisLabel_right=right range<br>
rangeAxisLabel_left=left range<br>
rangeAxisLabel_top=top range<br>
rangeAxisLabel_bottom=bottom range
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeAxisLabelAngle_"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeAxisLabelAngle_</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the clockwise angle of the range axis labels. The position of the label must be specified after 
the <i>rangeAxisLabelAngle_</i> and can be <i>right</i>, <i>left</i>, <i>top</i> or <i>bottom</i>. 
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeAxisLabelAngle_right" value="270"&gt;<br>
&lt;param name="rangeAxisLabelAngle_left" value="90"&gt;<br>
&lt;param name="rangeAxisLabelAngle_top" value="0"&gt;<br>
&lt;param name="rangeAxisLabelAngle_bottom" value="180"&gt;<hr size=1 color="#c0c0c0">
setLabelAngle("rangeAxisLabelAngle_right", 270);<br>
setLabelAngle("rangeAxisLabelAngle_left", 90);<br>
setLabelAngle("rangeAxisLabelAngle_top", 0);<br>
setLabelAngle("rangeAxisLabelAngle_bottom", 180);<hr size=1 color="#c0c0c0">
rangeAxisLabelAngle_right=270<br>
rangeAxisLabelAngle_left=90<br>
rangeAxisLabelAngle_top=0<br>
rangeAxisLabelAngle_bottom=180
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeAxisLabelFont"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeAxisLabelFont</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the font used for the rangeAxisLabels.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeAxisLabelFont" value="Dialog, plain, 12"<hr size=1 color="#c0c0c0">
setFont("rangeAxisLabelFont", new Font("Dialog", Font.PLAIN, 12));<hr size=1 color="#c0c0c0">
rangeAxisLabelFont=Dialog, plain, 12
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="XRangeDecimalCount"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>XRangeDecimalCount</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the number of fixed decimals to use for the x range labels.<br>
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="XRangeDecimalCount" value=3&gt;<hr size=1 color="#c0c0c0">
setXRangeDecimalCount(3);<hr size=1 color="#c0c0c0">
XRangeDecimalCount=3
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="YRangeDecimalCount"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>YRangeDecimalCount</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the number of fixed decimals to use for the y range labels.<br>
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="YRangeDecimalCount" value=3&gt;<hr size=1 color="#c0c0c0">
setYRangeDecimalCount(3);<hr size=1 color="#c0c0c0">
YRangeDecimalCount=3
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="rangeLabelFont"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>rangeLabelFont</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the font for the range labels.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="rangeLabelFont" value="Dialog, plain, 12"&gt;<hr size=1 color="#c0c0c0">
setFont("rangeLabelFont", new Font("Dialog", Font.PLAIN, 12));<hr size=1 color="#c0c0c0">
rangeLabelFont=Dialog, plain, 12
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="XAxisOn"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>XAxisOn</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Turns on or off the X axis.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="XAxisOn" value="true"&gt;<hr size=1 color="#c0c0c0">
setXAxisOn(true);<hr size=1 color="#c0c0c0">
XAxisOn=Dialog, plain, 12
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="YAxisOn"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>YAxisOn</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Turns on or off the Y axis.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="YAxisOn" value="true"&gt;<hr size=1 color="#c0c0c0">
setYAxisOn(true);<hr size=1 color="#c0c0c0">
YAxisOn=true
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="XAxisColor"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>XAxisColor</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets color of the X axis.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="XAxisColor" value="blue"&gt;<hr size=1 color="#c0c0c0">
setXAxisColor(Color.blue);<hr size=1 color="#c0c0c0">
XAxisColor=blue
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="YAxisColor"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>YAxisColor</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets color of the Y axis.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="YAxisColor" value="red"&gt;<hr size=1 color="#c0c0c0">
setYAxisColor(Color.red);<hr size=1 color="#c0c0c0">
YAxisColor=red
</font>
</td>
</tr>

<tr>
<td colspan=3>
<br>
<font face="verdana, arial" size=-1><b>PARAMETERS TO SET LABELS</b></font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="chartTitle"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>chartTitle</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the title of the chart. The title will be displayed at the
top of the chart. To set the title font use the titleFont parameter.
Use \n for line breaks.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="chartTitle" value="This is my title"&gt;<br>
&lt;param name="chartTitle" value="Linebreak\nin title"&gt;<hr size=1 color="#c0c0c0">
setTitle("This is my title");<br>
setTitle("Linebreak\\nin title");<hr size=1 color="#c0c0c0">
chartTitle=This is my title
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="titleFont"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>titleFont</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the font used for the chart title.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>
&lt;param name="titleFont" value="Dialog, bold, 20"<hr size=1 color="#c0c0c0">
setFont("titleFont", new Font("Dialog", Font.BOLD, 20));<hr size=1 color="#c0c0c0">
titleFont=Dialog, bold, 20
</font>
</td>
</tr>

<tr bgcolor="#e0e0e0">
<a name="seriesLabels"></a>
<td colspan=2><font face="verdana,arial,helvetica" size=-1><b>seriesLabels</b></font></td></tr>
<tr><td valign=top width=40%><font face="verdana, arial" size=-1>
Sets the series labels for this chart. The series labels are displayed
in the legend, one for each data series.
</td>
<td valign=top width=60%><font face="verdana, arial" size=-2>

⌨️ 快捷键说明

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