Legend
|
|
$+
html.Snippet(
"gui/snippets/input-combo",
"width='100%'",
"name=LEGEND_HORIZONTAL",
"items='left<-l;right<-r'",
"value=spy.GetParam(user.legend.horizontal)",
"readonly=true",
"onchange=spy.SetParam(user.legend.horizontal,html.GetValue(~name~))>>legend -r=html.GetValue(LEGEND_HORIZONTAL)html.GetValue(LEGEND_VERTICAL),html.GetValue(LEGEND_PADDING)",
)
$-
|
$+
html.Snippet(
"gui/snippets/input-combo", "name=LEGEND_VERTICAL",
"width='100%'",
"value=spy.GetParam(user.legend.vertical)",
"items='top<-t;bottom<-b'",
"readonly=true",
"onchange=spy.SetParam(user.legend.vertical,html.GetValue(~name~))>>legend -r=html.GetValue(LEGEND_HORIZONTAL)html.GetValue(LEGEND_VERTICAL),html.GetValue(LEGEND_PADDING)",
)
$-
|
$+
html.Snippet(
"gui/snippets/input-combo",
"name=LEGEND_PADDING",
"width='100%'",
"value=spy.GetParam(user.legend.padding)",
"items='10;20;30;60;80;100'",
"readlonly=false",
"onchange=spy.SetParam(user.legend.padding,html.GetValue (~name~))>>legend -r=html.GetValue(LEGEND_HORIZONTAL)html.GetValue(LEGEND_VERTICAL),html.GetValue(LEGEND_PADDING)",
)
$-
|
Reset Legend
|
$+
html.Snippet(GetVar(default_link),
"value=Set Legend",
"name=RESET_LEGEND",
"scope=#scope",
"onclick=legend -r=html.GetValue(LEGEND_HORIZONTAL)html.GetValue(LEGEND_VERTICAL),html.GetValue(LEGEND_PADDING)",
"bgcolor=GetVar(gui.action_colour)",
"fgcolor=#ffffff",
)
$-