IDEC FC6A-C16K1CE Communications Manual page 240

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

11: W
S
EB
ERVER
The parameters that can be set as an element of bars[] are as follows. If the default value of the parameter is acceptable, it does
not need to be set.
min_val
: The minimum value of the graph. This parameter is required.
max_val
: The maximum value of the graph. This parameter is required.
label
: The label name. The default is a string that combines the device and device number.
back_col
: The background color of the graph. The default value is "#FFFFFF".
front_col
: The foreground color of the graph. The default value is a color that differs for each element.
scale_on
: This parameter sets whether or not the graph has a scale. The default setting is false (no scale).
scale_lbl_on
: This parameter sets whether or not there is a label for the scale on the graph.
The default setting is false (no label).
When the div tag is coded as follows, two horizontal bar graphs are displayed using the data in double words D2040 and D2042 (decimal).
<div id="div21" data-graph="hbar">
device:"D", address:2040, driver:0, net_no:0, format:"DEC-D",
width:300, height:300, line_col:"#000000",
barhgutter:30, barwidth:20,
gutter:20, type:"square", scalewidth:5,
bars:[
{
min_val:0, max_val:100, label:"dev A",
back_col:"#FFFFFF", front_col:"#0000FF",
scale_on:true, scale_lbl_on:true
},
{
min_val:0, max_val:100, label:"dev B",
back_col:"#FFFFFF", front_col:"#FF0000",
scale_on:false, scale_lbl_on:false
}
]
</div>
0
dev A
dev B
11-22
100
0
49
FC6A S
M
S
A
ERIES
ICRO
MART
LL
-
-O
T
C
IN
NE
YPE
OMMUNICATION
M
FC9Y-B1730
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents