14 var widgetLibrary = widgetLibrary || {};
15 widgetLibrary.typeToSrc = {
"0" :
"widget_text.html",
16 "1" :
"widget_basicDisplay.html",
17 "2" :
"widget_text_with_title.html",
18 "3" :
"guage_widget.html",
19 "4" :
"simple_bar_chart.html",
20 "5" :
"thermometer.html"
32 widgetLibrary.typeToImgSrc = {
33 "0" :
"label-icon.png",
34 "1" :
"digital-clock-icon.png",
35 "2" :
"label-icon.png",
36 "3" :
"guage-icon.png",
37 "4" :
"basic-chart-icon.png",
38 "5" :
"thermometer-icon.png"
43 widgetLibrary.typeToName = {
45 "2" :
"Basic Display with name & value displays",
46 "3" :
"Basic Guage Style Display",
47 "4" :
"Basic Line Chart",
48 "5" :
"Basic Thermometer"
54 widgetLibrary.typeToPurpose = {
66 widgetLibrary.dimensions = {
85 widgetLibrary.init =
function()