IDEC MicroSmart Pentra User Manual
Page 123

W
EB
S
ERVER
CPU M
ODULE
U
SER
’
S
M
ANUAL
FC9Y-B1278
12-15
12: W
EB
S
ERVER
Example: The following format string shows the horizontal bar graph for D2040 and D2042 with data type Double.
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
}
]