plot(sin)
HTMLon()
showgraph()
plot(cos)
HTMLon()
showgraph()
plot(exp)
HTMLon()
showgraph()
This page shows some of dojo's widget capabilities. The tabs below contain various plots generated by R. The plots have tooltips with them.
plot(sin)
HTMLon()
showgraph()
plot(cos)
HTMLon()
showgraph()
plot(exp)
HTMLon()
showgraph()
Now, create a list dynamically:
data(state)
HTMLon()
H("ul",
H("li",
state.name[1:6]))
Create some tabs dynamically:
HTMLon()
H("div",id="mainTabSet", dojoType="TabPane", style="width: 50%; height: 10em;",
H("div", dojoType="ContentPane", label="Tab 1",
HTMLselect("mystate", state.name, default=3),
BR,
HTMLinput("myvar", value = 3),
BR,
HTMLcheckbox("isAL", text = "Alabama"),
HTMLcheckbox("isWY", text = "Wyoming"),
HTMLcheckbox("isMT", text = "Montana")),
H("div", dojoType="ContentPane", label="Tab 2",
"here's another tab",
HTMLradio("AL", commonName = "myState", text = "Alabama"),
HTMLradio("WY", commonName = "myState", text = "Wyoming"),
HTMLradio("MT", commonName = "myState", text = "Montana")))
Data frames
data(iris) HTMLon() Html(head(iris))
Sortable data frames
data(iris) HTMLon() asDojoSortableTable(head(iris))