IDEC MicroSmart Pentra User Manual
Page 125

W
EB
S
ERVER
CPU M
ODULE
U
SER
’
S
M
ANUAL
FC9Y-B1278
12-17
12: W
EB
S
ERVER
Example: The following format string shows the trend graph for D2040 and D2042 with the plot number 10 and data type
Double.
<div id="div31" data-graph="trend">
device:"D", address:2040, driver:0, net_no:0, format:"DEC-D",
width:400, height:300, line_col:"#000000",
min_val:0, max_val:100, plot_num:10,
line_width:3, marker_on:true, marker_width:5,
lines:[
{
label:"dev A",
front_col:"#0000FF"
},
{
label:"dev B",
front_col:"#FF0000"
}
]
</div>
Notes about the graphs:
• The parameters for graphs are described between <div> and </div> and are given to the system library. Spaces or line
breaks can be inserted; however, comments cannot be inserted.
• Non-value parameters should be quoted with double quotes.
• Insert comma between all parameters. Do not insert a comma after the last parameter. If the format of parameters is
invalid, graph is not drawn.
• The look of the graphs may differ with each web browser.
• The update time may be extended according to the monitoring interval or the number of plots of the trend graph.
marker_col
Specify the color of the markers. The default color is the same with the front_col.
line_width
Specify the width of the line for each series in pixel. This setting has a priority than the initial line width
specified with line_width.
marker_width
Specify the size of markers in pixel. This setting has a priority than the initial marker color specified with
marker_width.