{"size":{"Width":340,"Height":120},"appearance":{"background":null,"padding":14,"font":{"family":"Courier New","size":10.0,"bold":false,"italic":false,"underline":false,"strikeout":false,"color":"rgb(0,72,168)"},"border":{"on":true,"size":0.0,"style":"solid","color":"#666"},"text":{"wrap":false,"hAlign":"left","vAlign":"top"}},"outputType":"WIDGET","widgetState":null,"outputs":{"console":"<pre class='debug-source'>>library(flipPictographs)\n</pre>\n<pre class='debug-source'>>value <- NULL\n</pre>\n<pre class='debug-source'>>if (formDataSource == "Type or paste value") {\n value <- flipTransformations::ParseUserEnteredTable(as.matrix(formInputText))[1,1] \n} else if (formDataSource == "Use an existing R output") {\n value <- formInputR[1]\n} else if (formDataSource == "Table") {\n value <- flipTables::SelectEntry(formInputTable, formTableRow, formTableColumn, return.single.value = TRUE)\n} else\n{\n tmp <- formInputVariable[QFilter]\n if (formDataSource == "Variable - Average") {\n value <- mean(tmp, na.rm = TRUE)\n } else if (formDataSource == "Variable - Sum") {\n value <- sum(tmp, na.rm = TRUE)\n } else if (formDataSource == "Variable - Percentage")\n {\n # pickany yes/no turns into 0 and 1s\n tmp.table <- rev(table(tmp))\n if (length(tmp) > 2)\n warning("Variable is not binary. Showing percentage of observations in '", names(tmp.table)[1], "'.")\n value <- tmp.table[1]/sum(!is.na(tmp))\n }\n}\n</pre>\n<pre class='debug-source'>>\n</pre>\n<pre class='debug-source'>>numberWidget.3 <- VisualizeNumber(value,\n display = formDisplay,\n total.icons = if (exists("formTotalIcons")) as.numeric(formTotalIcons) else NA, \n maximum.value = if (exists("formDenominator")) as.numeric(formDenominator) else NA, \n scale = if (exists("formScale")) as.numeric(formScale) else 1, \n layout = get0("formLayout", ifnotfound = NA), \n number.rows = get0("formIconRows", ifnotfound = NA),\n number.cols = get0("formIconCols", ifnotfound = NA), \n width.height.ratio = if (exists("formWHRatio") && !is.na(as.numeric(formWHRatio))) as.numeric(formWHRatio) else QOutputSizeWidth/QOutputSizeHeight, \n image = if (isTRUE(get0("formIcon") == "Custom icon")) formCustomUrl else formIcon,\n base.image = formCustomBaseUrl,\n is.custom.url = isTRUE(get0("formIcon") == "Custom icon"),\n hide.base.image = formHideBase,\n auto.size = formAutosize,\n icon.width = formIconWidth,\n base.icon.color = formBaseColor,\n pad.row = get0("formPadRow", ifnotfound = 0.0),\n pad.col = get0("formPadCol", ifnotfound = 0.0), \n fill.direction = get0("formFillDirection"),\n fill.color = get0("formFillColor"),\n fill.opacity = get0("formFillOpacity"),\n label.data.number.type = get0("dLabNumType"),\n label.data.decimals = get0("dLabDigits"),\n label.data.position = get0("dLabPos"),\n label.data.prefix = get0("dLabPrefix"),\n label.data.suffix = get0("dLabSuffix"),\n label.data.valign = get0("dLabVAlign"),\n label.data.halign = get0("dLabHAlign"),\n label.data.pad = get0("dLabPad", ifnotfound = 0.0),\n label.data.font.family = get0("dLabFont"),\n label.data.font.color = get0("dLabColor"),\n label.data.font.size = get0("dLabSize"),\n label.data.font.weight = get0("dLabWeight"),\n text.above = get0("formTextAbove"),\n text.above.outside = !isTRUE(get0("formTextAboveInside")),\n text.above.halign = get0("formTextAboveHAlign"),\n text.above.pad = get0("formTextAbovePad", ifnotfound = 0.0),\n text.above.font.family = get0("formTextAboveFont"),\n text.above.font.color = get0("formTextAboveColor"),\n text.above.font.size = get0("formTextAboveSize"),\n text.above.font.weight = get0("formTextAboveWeight"),\n text.below = get0("formTextBelow"),\n text.below.outside = !isTRUE(get0("formTextBelowInside")),\n text.below.halign = get0("formTextBelowHAlign"),\n text.below.pad = get0("formTextBelowPad", ifnotfound = 0.0),\n text.below.font.family = get0("formTextBelowFont"),\n text.below.font.color = get0("formTextBelowColor"),\n text.below.font.size = get0("formTextBelowSize"),\n text.below.font.weight = get0("formTextBelowWeight"),\n border.color = get0("formBorderColor"),\n border.opacity = get0("formBorderOpacity"),\n border.width = get0("formBorderWidth"),\n background.color = get0("formBgColor"),\n background.opacity = if (formTransparent) 0.0 else get0("formBgOpacity", ifnotfound = 1.0),\n margin.left = formMarginLeft,\n margin.right = formMarginRight,\n margin.top = formMarginTop,\n margin.bottom = formMarginBottom)\n</pre>\r\n<div class=\"debug-summarystatistics\"><table>\r\n<tr><th>Started:</th><td class=utc-time>2018-10-04T00:55:21.226Z</td></tr>\r\n<tr><th>Finished:</th><td class=utc-time>2018-10-04T00:55:21.226Z</td></tr>\r\n<tr><th>Total time:</th><td>0.72s</td></tr>\r\n<tr><th>Time executing code:</th><td title=\"0.03s\">0.69s</td></tr>\r\n<tr><th>Other overhead on R server:</th><td>0.52s</td></tr>\r\n<tr><th>Time spent transferring data:</th><td>0.03s</td></tr>\r\n<tr><th>Data sent to R server:</th><td>5.8KB</td></tr>\r\n<tr><th>Data received from R server:</th><td>16.2KB</td></tr>\r\n</table></div>","htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-45e9136e9496f67ba2b0\" style=\"width:100%;height:400px;\" class=\"plotly html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-45e9136e9496f67ba2b0\">{\"x\":{\"visdat\":{\"473c40d49838\":[\"function () \",\"plotlyVisDat\"]},\"cur_data\":\"473c40d49838\",\"attrs\":{\"473c40d49838\":{\"x\":[0,1],\"y\":[0,1],\"mode\":\"none\",\"visible\":false,\"cliponaxis\":false,\"hoverinfo\":\"skip\",\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"type\":\"scatter\"}},\"layout\":{\"margin\":{\"b\":37,\"l\":30,\"t\":37,\"r\":30,\"pad\":0,\"autoexpand\":false},\"xaxis\":{\"domain\":[0,1],\"automargin\":true,\"showticklabels\":false,\"showgrid\":false,\"zeroline\":false,\"range\":[-0,1],\"title\":[]},\"yaxis\":{\"domain\":[0,1],\"automargin\":true,\"showticklabels\":false,\"showgrid\":false,\"zeroline\":false,\"range\":[-0,1],\"title\":[]},\"plot_bgcolor\":\"rgba(0,0,0,0)\",\"paper_bgcolor\":\"rgba(192,192,192,1)\",\"shapes\":[{\"type\":\"rectangle\",\"x0\":0,\"x1\":1,\"y0\":0,\"y1\":1,\"yref\":\"y\",\"xref\":\"x\",\"fillcolor\":\"#404040\",\"opacity\":1,\"layer\":\"above\",\"line\":{\"color\":\"rgba(255,255,255,0.5)\",\"width\":0}}],\"annotations\":[{\"text\":\"40% of deaths\",\"font\":{\"family\":\"Arial Black\",\"color\":\"#FFFFFF\",\"size\":17},\"x\":0.5,\"y\":0.5,\"showarrow\":false,\"xshift\":0,\"yshift\":0,\"xanchor\":\"center\",\"yanchor\":\"middle\"},{\"text\":\"In the USA, \",\"font\":{\"family\":\"Arial Black\",\"color\":\"#404040\",\"size\":12},\"x\":0.5,\"y\":1,\"showarrow\":false,\"xshift\":0,\"yshift\":0,\"xanchor\":\"center\",\"yanchor\":\"bottom\"},{\"text\":\"were preventable\",\"font\":{\"family\":\"Arial Black\",\"color\":\"#750329\",\"size\":12},\"x\":0.5,\"y\":0,\"showarrow\":false,\"xshift\":0,\"yshift\":-0,\"xanchor\":\"center\",\"yanchor\":\"top\"}],\"hovermode\":false,\"showlegend\":false},\"source\":\"A\",\"config\":{\"modeBarButtonsToAdd\":[{\"name\":\"Collaborate\",\"icon\":{\"width\":1000,\"ascent\":500,\"descent\":-50,\"path\":\"M487 375c7-10 9-23 5-36l-79-259c-3-12-11-23-22-31-11-8-22-12-35-12l-263 0c-15 0-29 5-43 15-13 10-23 23-28 37-5 13-5 25-1 37 0 0 0 3 1 7 1 5 1 8 1 11 0 2 0 4-1 6 0 3-1 5-1 6 1 2 2 4 3 6 1 2 2 4 4 6 2 3 4 5 5 7 5 7 9 16 13 26 4 10 7 19 9 26 0 2 0 5 0 9-1 4-1 6 0 8 0 2 2 5 4 8 3 3 5 5 5 7 4 6 8 15 12 26 4 11 7 19 7 26 1 1 0 4 0 9-1 4-1 7 0 8 1 2 3 5 6 8 4 4 6 6 6 7 4 5 8 13 13 24 4 11 7 20 7 28 1 1 0 4 0 7-1 3-1 6-1 7 0 2 1 4 3 6 1 1 3 4 5 6 2 3 3 5 5 6 1 2 3 5 4 9 2 3 3 7 5 10 1 3 2 6 4 10 2 4 4 7 6 9 2 3 4 5 7 7 3 2 7 3 11 3 3 0 8 0 13-1l0-1c7 2 12 2 14 2l218 0c14 0 25-5 32-16 8-10 10-23 6-37l-79-259c-7-22-13-37-20-43-7-7-19-10-37-10l-248 0c-5 0-9-2-11-5-2-3-2-7 0-12 4-13 18-20 41-20l264 0c5 0 10 2 16 5 5 3 8 6 10 11l85 282c2 5 2 10 2 17 7-3 13-7 17-13z m-304 0c-1-3-1-5 0-7 1-1 3-2 6-2l174 0c2 0 4 1 7 2 2 2 4 4 5 7l6 18c0 3 0 5-1 7-1 1-3 2-6 2l-173 0c-3 0-5-1-8-2-2-2-4-4-4-7z m-24-73c-1-3-1-5 0-7 2-2 3-2 6-2l174 0c2 0 5 0 7 2 3 2 4 4 5 7l6 18c1 2 0 5-1 6-1 2-3 3-5 3l-174 0c-3 0-5-1-7-3-3-1-4-4-5-6z\"},\"click\":\"function(gd) { \\n // is this being viewed in RStudio?\\n if (location.search == '?viewer_pane=1') {\\n alert('To learn about plotly for collaboration, visit:\\\\n https://cpsievert.github.io/plotly_book/plot-ly-for-collaboration.html');\\n } else {\\n window.open('https://cpsievert.github.io/plotly_book/plot-ly-for-collaboration.html', '_blank');\\n }\\n }\"}],\"cloud\":false,\"displayModeBar\":false},\"data\":[{\"x\":[0,1],\"y\":[0,1],\"mode\":\"none\",\"visible\":false,\"cliponaxis\":false,\"hoverinfo\":[\"skip\",\"skip\"],\"type\":\"scatter\",\"marker\":{\"color\":\"rgba(31,119,180,1)\",\"line\":{\"color\":\"rgba(31,119,180,1)\"}},\"error_y\":{\"color\":\"rgba(31,119,180,1)\"},\"error_x\":{\"color\":\"rgba(31,119,180,1)\"},\"line\":{\"color\":\"rgba(31,119,180,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y\",\"frame\":null}],\"highlight\":{\"on\":\"plotly_click\",\"persistent\":false,\"dynamic\":false,\"selectize\":false,\"opacityDim\":0.2,\"selected\":{\"opacity\":1},\"debounce\":0},\"base_url\":\"https://plot.ly\"},\"evals\":[\"config.modeBarButtonsToAdd.0.click\"],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-45e9136e9496f67ba2b0\">{\"viewer\":{\"width\":\"100%\",\"height\":400,\"padding\":15,\"fill\":true},\"browser\":{\"width\":\"100%\",\"height\":400,\"padding\":0,\"fill\":true}}</script>","htmlwidget-head":"{\"stylesheets\":[\"https://rserverhtmlwidgetasset.azureedge.net/crosstalk-b25ccf47e9892cf2654d5ded8a45d9b7.css\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-htmlwidgets-ef6d87e1454c6f9f50a1a5a3e8b42646.css\"],\"javascript\":[\"https://rserverhtmlwidgetasset.azureedge.net/htmlwidgets-917a66c6e5036eb1bfd1fb672a82635a.js\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-c1d49eded87001936f93debf9b25b2d0.js\",\"https://rserverhtmlwidgetasset.azureedge.net/typedarray.min-830ee97537deb99885d830da3312e14d.js\",\"https://rserverhtmlwidgetasset.azureedge.net/jquery.min-91a24ea414e8c447d647cecab86866c2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/crosstalk.min-b1936a0f8f135773de79f3a54af76d20.js\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-latest.min-a03b8e00ce1a91ef1a582ba5349a6a60.js\"],\"attachments\":[],\"widget-cannot-re-render\":false}","message":"","warning":""},"secondsTaken":0.7187738,"updated":"2018-10-04T00:55:21.2264771Z","lastUpdatedMessage":null,"executedCode":"library(flipPictographs)\nvalue <- NULL\nif (formDataSource == \"Type or paste value\") {\n value <- flipTransformations::ParseUserEnteredTable(as.matrix(formInputText))[1,1] \n} else if (formDataSource == \"Use an existing R output\") {\n value <- formInputR[1]\n} else if (formDataSource == \"Table\") {\n value <- flipTables::SelectEntry(formInputTable, formTableRow, formTableColumn, return.single.value = TRUE)\n} else\n{\n tmp <- formInputVariable[QFilter]\n if (formDataSource == \"Variable - Average\") {\n value <- mean(tmp, na.rm = TRUE)\n } else if (formDataSource == \"Variable - Sum\") {\n value <- sum(tmp, na.rm = TRUE)\n } else if (formDataSource == \"Variable - Percentage\")\n {\n # pickany yes/no turns into 0 and 1s\n tmp.table <- rev(table(tmp))\n if (length(tmp) > 2)\n warning(\"Variable is not binary. Showing percentage of observations in '\", names(tmp.table)[1], \"'.\")\n value <- tmp.table[1]/sum(!is.na(tmp))\n }\n}\n\nnumberWidget.3 <- VisualizeNumber(value,\n display = formDisplay,\n total.icons = if (exists(\"formTotalIcons\")) as.numeric(formTotalIcons) else NA, \n maximum.value = if (exists(\"formDenominator\")) as.numeric(formDenominator) else NA, \n scale = if (exists(\"formScale\")) as.numeric(formScale) else 1, \n layout = get0(\"formLayout\", ifnotfound = NA), \n number.rows = get0(\"formIconRows\", ifnotfound = NA),\n number.cols = get0(\"formIconCols\", ifnotfound = NA), \n width.height.ratio = if (exists(\"formWHRatio\") && !is.na(as.numeric(formWHRatio))) as.numeric(formWHRatio) else QOutputSizeWidth/QOutputSizeHeight, \n image = if (isTRUE(get0(\"formIcon\") == \"Custom icon\")) formCustomUrl else formIcon,\n base.image = formCustomBaseUrl,\n is.custom.url = isTRUE(get0(\"formIcon\") == \"Custom icon\"),\n hide.base.image = formHideBase,\n auto.size = formAutosize,\n icon.width = formIconWidth,\n base.icon.color = formBaseColor,\n pad.row = get0(\"formPadRow\", ifnotfound = 0.0),\n pad.col = get0(\"formPadCol\", ifnotfound = 0.0), \n fill.direction = get0(\"formFillDirection\"),\n fill.color = get0(\"formFillColor\"),\n fill.opacity = get0(\"formFillOpacity\"),\n label.data.number.type = get0(\"dLabNumType\"),\n label.data.decimals = get0(\"dLabDigits\"),\n label.data.position = get0(\"dLabPos\"),\n label.data.prefix = get0(\"dLabPrefix\"),\n label.data.suffix = get0(\"dLabSuffix\"),\n label.data.valign = get0(\"dLabVAlign\"),\n label.data.halign = get0(\"dLabHAlign\"),\n label.data.pad = get0(\"dLabPad\", ifnotfound = 0.0),\n label.data.font.family = get0(\"dLabFont\"),\n label.data.font.color = get0(\"dLabColor\"),\n label.data.font.size = get0(\"dLabSize\"),\n label.data.font.weight = get0(\"dLabWeight\"),\n text.above = get0(\"formTextAbove\"),\n text.above.outside = !isTRUE(get0(\"formTextAboveInside\")),\n text.above.halign = get0(\"formTextAboveHAlign\"),\n text.above.pad = get0(\"formTextAbovePad\", ifnotfound = 0.0),\n text.above.font.family = get0(\"formTextAboveFont\"),\n text.above.font.color = get0(\"formTextAboveColor\"),\n text.above.font.size = get0(\"formTextAboveSize\"),\n text.above.font.weight = get0(\"formTextAboveWeight\"),\n text.below = get0(\"formTextBelow\"),\n text.below.outside = !isTRUE(get0(\"formTextBelowInside\")),\n text.below.halign = get0(\"formTextBelowHAlign\"),\n text.below.pad = get0(\"formTextBelowPad\", ifnotfound = 0.0),\n text.below.font.family = get0(\"formTextBelowFont\"),\n text.below.font.color = get0(\"formTextBelowColor\"),\n text.below.font.size = get0(\"formTextBelowSize\"),\n text.below.font.weight = get0(\"formTextBelowWeight\"),\n border.color = get0(\"formBorderColor\"),\n border.opacity = get0(\"formBorderOpacity\"),\n border.width = get0(\"formBorderWidth\"),\n background.color = get0(\"formBgColor\"),\n background.opacity = if (formTransparent) 0.0 else get0(\"formBgOpacity\", ifnotfound = 1.0),\n margin.left = formMarginLeft,\n margin.right = formMarginRight,\n margin.top = formMarginTop,\n margin.bottom = formMarginBottom)","lastSavedCode":"library(flipPictographs)\nvalue <- NULL\nif (formDataSource == \"Type or paste value\") {\n value <- flipTransformations::ParseUserEnteredTable(as.matrix(formInputText))[1,1] \n} else if (formDataSource == \"Use an existing R output\") {\n value <- formInputR[1]\n} else if (formDataSource == \"Table\") {\n value <- flipTables::SelectEntry(formInputTable, formTableRow, formTableColumn, return.single.value = TRUE)\n} else\n{\n tmp <- formInputVariable[QFilter]\n if (formDataSource == \"Variable - Average\") {\n value <- mean(tmp, na.rm = TRUE)\n } else if (formDataSource == \"Variable - Sum\") {\n value <- sum(tmp, na.rm = TRUE)\n } else if (formDataSource == \"Variable - Percentage\")\n {\n # pickany yes/no turns into 0 and 1s\n tmp.table <- rev(table(tmp))\n if (length(tmp) > 2)\n warning(\"Variable is not binary. Showing percentage of observations in '\", names(tmp.table)[1], \"'.\")\n value <- tmp.table[1]/sum(!is.na(tmp))\n }\n}\n\nnumberWidget.3 <- VisualizeNumber(value,\n display = formDisplay,\n total.icons = if (exists(\"formTotalIcons\")) as.numeric(formTotalIcons) else NA, \n maximum.value = if (exists(\"formDenominator\")) as.numeric(formDenominator) else NA, \n scale = if (exists(\"formScale\")) as.numeric(formScale) else 1, \n layout = get0(\"formLayout\", ifnotfound = NA), \n number.rows = get0(\"formIconRows\", ifnotfound = NA),\n number.cols = get0(\"formIconCols\", ifnotfound = NA), \n width.height.ratio = if (exists(\"formWHRatio\") && !is.na(as.numeric(formWHRatio))) as.numeric(formWHRatio) else QOutputSizeWidth/QOutputSizeHeight, \n image = if (isTRUE(get0(\"formIcon\") == \"Custom icon\")) formCustomUrl else formIcon,\n base.image = formCustomBaseUrl,\n is.custom.url = isTRUE(get0(\"formIcon\") == \"Custom icon\"),\n hide.base.image = formHideBase,\n auto.size = formAutosize,\n icon.width = formIconWidth,\n base.icon.color = formBaseColor,\n pad.row = get0(\"formPadRow\", ifnotfound = 0.0),\n pad.col = get0(\"formPadCol\", ifnotfound = 0.0), \n fill.direction = get0(\"formFillDirection\"),\n fill.color = get0(\"formFillColor\"),\n fill.opacity = get0(\"formFillOpacity\"),\n label.data.number.type = get0(\"dLabNumType\"),\n label.data.decimals = get0(\"dLabDigits\"),\n label.data.position = get0(\"dLabPos\"),\n label.data.prefix = get0(\"dLabPrefix\"),\n label.data.suffix = get0(\"dLabSuffix\"),\n label.data.valign = get0(\"dLabVAlign\"),\n label.data.halign = get0(\"dLabHAlign\"),\n label.data.pad = get0(\"dLabPad\", ifnotfound = 0.0),\n label.data.font.family = get0(\"dLabFont\"),\n label.data.font.color = get0(\"dLabColor\"),\n label.data.font.size = get0(\"dLabSize\"),\n label.data.font.weight = get0(\"dLabWeight\"),\n text.above = get0(\"formTextAbove\"),\n text.above.outside = !isTRUE(get0(\"formTextAboveInside\")),\n text.above.halign = get0(\"formTextAboveHAlign\"),\n text.above.pad = get0(\"formTextAbovePad\", ifnotfound = 0.0),\n text.above.font.family = get0(\"formTextAboveFont\"),\n text.above.font.color = get0(\"formTextAboveColor\"),\n text.above.font.size = get0(\"formTextAboveSize\"),\n text.above.font.weight = get0(\"formTextAboveWeight\"),\n text.below = get0(\"formTextBelow\"),\n text.below.outside = !isTRUE(get0(\"formTextBelowInside\")),\n text.below.halign = get0(\"formTextBelowHAlign\"),\n text.below.pad = get0(\"formTextBelowPad\", ifnotfound = 0.0),\n text.below.font.family = get0(\"formTextBelowFont\"),\n text.below.font.color = get0(\"formTextBelowColor\"),\n text.below.font.size = get0(\"formTextBelowSize\"),\n text.below.font.weight = get0(\"formTextBelowWeight\"),\n border.color = get0(\"formBorderColor\"),\n border.opacity = get0(\"formBorderOpacity\"),\n border.width = get0(\"formBorderWidth\"),\n background.color = get0(\"formBgColor\"),\n background.opacity = if (formTransparent) 0.0 else get0(\"formBgOpacity\", ifnotfound = 1.0),\n margin.left = formMarginLeft,\n margin.right = formMarginRight,\n margin.top = formMarginTop,\n margin.bottom = formMarginBottom)","highlightedCodeSpans":[{"start":43,"length":14,"index":4},{"start":151,"length":13,"index":4},{"start":184,"length":14,"index":4},{"start":269,"length":14,"index":4},{"start":448,"length":7,"index":6},{"start":465,"length":14,"index":4},{"start":563,"length":14,"index":4},{"start":656,"length":14,"index":4},{"start":1041,"length":11,"index":4},{"start":3832,"length":15,"index":4},{"start":3917,"length":14,"index":4},{"start":3952,"length":15,"index":4},{"start":3986,"length":13,"index":4},{"start":4021,"length":16,"index":4}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":true,"guiControls":{"Code":"default_output = \"Number in a rectangle\";\n\nfunction isEmptyString(x) { return (x == undefined || x == null || x == \"\") }\nvar allow_control_groups = Q.fileFormatVersion() > 10.9;\nvar font_list = [\"Arial\", \"Arial Black\", \"Century Gothic\", \"Georgia\", \"Impact\", \"Times New Roman\", \"Trebuchet MS\", \"Verdana\"];\nvar default_font_color = \"#2C2C2C\";\n\nif (allow_control_groups);\n form.group(\"OUTPUT\");\nvar displayOpt = form.comboBox({name: \"formDisplay\", label: \"Display\", alternatives: [\"Number\", \"Number in an oval\", \"Number in a rectangle\", \"Number on an icon\", \"Pictograph (single icon)\", \"Pictograph (repeated icons)\"], default_value: default_output}).getValue();\nvar show_icons = ([\"Number on an icon\", \"Pictograph (single icon)\", \"Pictograph (repeated icons)\"].indexOf(displayOpt) != -1);\nvar show_shapes = !show_icons && displayOpt != \"Number\";\n\nif (displayOpt == \"Pictograph (single icon)\")\n form.textBox({name: \"formDenominator\", label: \"Maximum value\", type: \"number\", required: true, default_value: 1, prompt: \"Denominator which the input value will be shown as a proportion of\"});\nif (displayOpt == \"Pictograph (repeated icons)\")\n{\n form.textBox({label: \"Total icons\", name:\"formTotalIcons\", type:\"number\", required:false, prompt:\"Leave blank to determine from Input data\"});\n form.textBox({label: \"Scale\", name:\"formScale\", type:\"number\", default_value: 1});\n}\nform.setHeading(\"Visualization - \" + displayOpt);\n\nif (allow_control_groups);\n form.group(\"DATA SOURCE\");\nvar datOpt = form.comboBox({name: \"formDataSource\", label: \"Data source\", alternatives: [\"Type or paste value\", \"Use an existing R output\", \"Table\", \"Variable - Average\", \"Variable - Sum\", \"Variable - Percentage\"], default_value: \"Type or paste value\"}).getValue();\n\nif (datOpt == \"Type or paste value\") \n form.textBox({name: \"formInputText\", label: \"Input data\", prompt: \"Enter a numeric value\", required: true}) // for shapes, this can be text\nelse if (datOpt == \"Use an existing R output\")\n form.dropBox({name: \"formInputR\", label: \"Input data\", types: [\"RItem:integer,numeric,character\"], required: true});\nelse if (datOpt == \"Table\")\n{\n var inputTable = form.dropBox({name: \"formInputTable\", label: \"Input data\", types: [\"Table\", \"RItem:matrix,array,data.frame,table\"]});\n if (inputTable.getValue() != null)\n {\n form.textBox({name: \"formTableRow\", label: \"Select Row\", prompt: \"Enter name or index of column of the entry you want to display\"});\n form.textBox({name: \"formTableColumn\", label: \"Select Column\", prompt: \"Enter name or index of row of the entry you want to display\", required: false});\n }\n}\nelse if (datOpt == \"Variable - Percentage\")\n form.dropBox({name: \"formInputVariable\", label: \"Input data\", types: [\"Variable: Numeric, Categorical\"]});\nelse\n form.dropBox({name: \"formInputVariable\", label: \"Input data\", types: [\"Variable: Numeric, Money\"]});\n\nif (allow_control_groups)\n form.page(\"Format\")\nif (show_shapes)\n{\n if (allow_control_groups)\n form.group(\"Shape\");\n form.colorPicker({name: \"formFillColor\", label: \"Fill color\", default_value: \"#FCAE32\"});\n form.numericUpDown({name: \"formFillOpacity\", label: \"Fill opacity\", minimum: 0.0, maximum: 1.0, increment: 0.1, default_value: 1.0});\n\n form.numericUpDown({name: \"formBorderWidth\", label: \"Border width\", default_value: 5});\n form.colorPicker({name: \"formBorderColor\", label: \"Border color\", default_value: \"#FFFFFF\"});\n form.numericUpDown({name: \"formBorderOpacity\", label: \"Border opacity\", minimum: 0.0, maximum: 1.0, increment: 0.1, default_value: 0.5});\n}\nif (show_icons)\n{\n if (allow_control_groups)\n form.group(\"ICONS\");\n var custom_label = \"(Custom icon)\";\n var icon = form.comboBox({name: \"formIcon\", label: \"Icon\", alternatives: [\n custom_label, \"Apple\",\"Baby\", \"Beer\", \"Bread\",\"Cake\", \"Car\", \"Chicken\", \"Circle\", \"Cross\", \"Elephant\", \"Globe\", \"Gun\", \"Heart\", \"House\", \"Money\", \"Soldier\", \"Square\", \"Star\", \"Sick person\", \"Stick man\", \"Stick woman\", \"Thumbs up\", \"Thumbs down\", \"Tick\", \"Truck\", \"User\", \"Water drop\", \"Weight\", \"Wine\"], default_value: \"Stick man\"});\n\n if (icon.getValue() == custom_label)\n {\n form.textBox({name: \"formCustomUrl\", label: \"Icon URL\", type: \"text\", required: true});\n form.textBox({name: \"formCustomBaseuUrl\", label: \"Base icon URL\", type: \"text\", required: false, prompt: \"Leave blank to hide unfilled icons\"});\n }\n if (displayOpt == \"Pictograph (repeated icons)\")\n {\n var layoutOpt = form.comboBox({label: \"Layout constrained by\", name: \"formLayout\", alternatives: [\"Number of rows\", \"Number of columns\", \"Width-to-height ratio\"], default_value: \"Width-to-height ratio\"});\n if (layoutOpt.getValue() == \"Number of rows\")\n form.numericUpDown({label: \"Number of rows\", name:\"formIconRows\", minimum: 1, default_value: 1});\n if (layoutOpt.getValue() == \"Number of columns\")\n form.numericUpDown({label: \"Number of columns\", name:\"formIconCols\", minimum: 1, default_value: 1});\n if (layoutOpt.getValue() == \"Width-to-height ratio\")\n form.textBox({label: \"Width-to-height ratio\", name:\"formWHRatio\", type:\"number\", required:false, prompt:\"Leave blank to use RObject dimensions\"});\n form.numericUpDown({label: \"Row padding\", name:\"formPadRow\", minimum: 0, maximum: 1, default_value: 0, increment:0.05});\n form.numericUpDown({label: \"Column padding\", name:\"formPadCol\", minimum: 0, maximum: 1, default_value: 0, increment:0.05});\n }\n form.comboBox({label: \"Direction of fill\", name: \"formFillDirection\", alternatives: [\"From left\", \"From right\", \"From bottom\", \"From top\", \"Radial\"], default_value: \"From left\"});\n var sizeOpt = form.checkBox({label: \"Autosize\", name: \"formAutosize\", default_value:1});\n if (!sizeOpt.getValue())\n form.numericUpDown({label: \"Icon width\", name:\"formIconWidth\", minimum: 1, default_value: 50, increment:10, maximum:10000});\n if (icon.getValue() != custom_label)\n {\n form.colorPicker({label: \"Icon fill color\", name: \"formFillColor\", default_value:\"#FCAE32\"});\n var baseOpt = form.checkBox({label: \"Hide base image\", name:\"formHideBase\", default_value: true});\n if (!baseOpt.getValue())\n form.colorPicker({label: \"Icon base color\", name: \"formBaseColor\", default_value:\"#CCCCCC\"});\n }\n}\n\nif (allow_control_groups)\n form.group(\"DATA LABELS\");\nvar datalabOpt = \"Overlayed on icon\";\nvar dataVAlign = \"Middle\";\nif (show_icons)\n datalabOpt = form.comboBox({name:\"dLabPos\", label: \"Show data label\", alternatives: [\"None\", \"Overlayed on icon\", \"Above icons\", \"Below icons\"], default_value: \"Overlayed on icon\"}).getValue();\nif (datalabOpt != \"None\")\n{\n form.textBox({name:\"dLabPrefix\", label:\"Prefix\", type:\"text\", required:false});\n form.textBox({name:\"dLabSuffix\", label:\" Suffix\", type:\"text\", required:false});\n form.comboBox({name:\"dLabNumType\", label:\" Number type\", alternatives: [\"Number\", \"Percentage\", \"Scientific\"], default_value: \"Number\"})\n form.numericUpDown({name:\"dLabDigits\", label: \"Decimals shown\", minimum: 0, maximum: 6, default_value: 0});\n form.numericUpDown({name:\"dLabSize\", label: \"Font size\", minimum: 5, maximum: 50, default_value: 12});\n form.comboBox({name: \"dLabWeight\", label: \"Font weight\", alternatives: [\"Normal\", \"Bold\"], default_value: \"Normal\"});\n form.comboBox({name:\"dLabHAlign\", label:\"Horizontal alignment\", alternatives: [\"Left\", \"Center\", \"Right\"], default_value: \"Center\"});\n if (datalabOpt == \"Overlayed on icon\")\n dataVAlign = form.comboBox({name:\"dLabVAlign\", label:\"Vertical alignment\", alternatives: [\"Top\", \"Middle\", \"Bottom\"], default_value: \"Middle\"}).getValue();\n form.comboBox({name: \"dLabFont\", label: \"Font family\", alternatives: font_list, default_value: \"Arial\"});\n form.colorPicker({name: \"dLabColor\", label: \"Color\", default_value: \"#2C2C2C\"});\n if (dataVAlign != \"Middle\")\n form.numericUpDown({name:\"dLabPad\", label: \"Vertical space\", maximum: 1000, default_value: 0.0});\n}\nif (allow_control_groups)\n form.group(\"TEXT LABELS\")\nif (datalabOpt != \"Above icons\")\n{\n var textAbove = form.textBox({name:\"formTextAbove\", label: \"Text above\", required: false}).getValue();\n if (!isEmptyString(textAbove))\n {\n if (show_shapes && dataVAlign != \"Top\")\n form.checkBox({name: \"formTextAboveInside\", label: \"Text inside shape\", default_value: false});\n form.numericUpDown({name:\"formTextAboveSize\", label: \"Font size\", minimum: 5, maximum: 50, default_value: 12});\n form.comboBox({name: \"formTextAboveWeight\", label: \"Font weight\", alternatives: [\"Normal\", \"Bold\"], default_value: \"Normal\"});\n form.comboBox({name:\"formTextAboveHAlign\", label:\"Horizontal alignment\", alternatives: [\"Left\", \"Center\", \"Right\"], default_value: \"Center\"});\n form.comboBox({name: \"formTextAboveFont\", label: \"Font family\", alternatives: font_list, default_value: \"Arial\"});\n form.colorPicker({name: \"formTextAboveColor\", label: \"Color\", default_value: \"#2C2C2C\"});\n form.numericUpDown({name:\"formTextAbovePad\", label: \"Vertical space\", maximum: 1000, default_value: 0.0});\n }\n}\nif (datalabOpt != \"Below icons\")\n{\n var textBelow = form.textBox({name:\"formTextBelow\", label: \"Text below\", required: false}).getValue();\n if (!isEmptyString(textBelow))\n {\n if (show_shapes && dataVAlign != \"Bottom\")\n form.checkBox({name: \"formTextBelowInside\", label: \"Text inside shape\", default_value: false});\n form.numericUpDown({name:\"formTextBelowSize\", label: \"Font size\", minimum: 5, maximum: 50, default_value: 12});\n form.comboBox({name: \"formTextBelowWeight\", label: \"Font weight\", alternatives: [\"Normal\", \"Bold\"], default_value: \"Normal\"});\n form.comboBox({name:\"formTextBelowHAlign\", label:\"Horizontal alignment\", alternatives: [\"Left\", \"Center\", \"Right\"], default_value: \"Center\"});\n form.comboBox({name: \"formTextBelowFont\", label: \"Font family\", alternatives: font_list, default_value: \"Arial\"});\n form.colorPicker({name: \"formTextBelowColor\", label: \"Color\", default_value: \"#2C2C2C\"});\n form.numericUpDown({name:\"formTextBelowPad\", label: \"Vertical space\", maximum: 1000, default_value: 0.0});\n }\n}\n\nif (allow_control_groups)\n form.group(\"BACKGROUND\")\nbgOpt = form.checkBox({name: \"formTransparent\", label: \"Transparent background\", default_value: true}).getValue();\nif (!bgOpt)\n{\n form.colorPicker({name: \"formBgColor\", label: \"Background color\", default_value: \"#FFFFFF\"});\n if (!show_icons)\n form.numericUpDown({name: \"formBgOpacity\", label: \"Background opacity\", minimum: 0.0, maximum: 1.0, increment: 0.1, default_value: 1.0});\n}\nform.numericUpDown({name: \"formMarginRight\", label: \"Right margin\", maximum: 1000, default_value: 0});\nform.numericUpDown({name: \"formMarginLeft\", label: \"Left margin\", maximum: 1000, default_value: 0});\nform.numericUpDown({name: \"formMarginTop\", label: \"Top margin\", maximum: 1000, default_value: 0});\nform.numericUpDown({name: \"formMarginBottom\", label: \"Bottom margin\", maximum: 1000, default_value: 0});","JSError":null,"JSErrorDetails":null,"ControlDefinitionErrors":null,"InputValidationErrors":null,"Controls":[{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":null,"Page":null,"Group":null,"Type":"Heading","Label":null,"LabelEmphasised":false,"Value":null,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":"Visualization - Number in a rectangle","Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formDisplay","Page":null,"Group":"OUTPUT","Type":"ComboBox","Label":"Display","LabelEmphasised":false,"Value":"Number in a rectangle","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Number","Number in an oval","Number in a rectangle","Number on an icon","Pictograph (single icon)","Pictograph (repeated icons)"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formDataSource","Page":null,"Group":"DATA SOURCE","Type":"ComboBox","Label":"Data source","LabelEmphasised":false,"Value":"Type or paste value","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Type or paste value","Use an existing R output","Table","Variable - Average","Variable - Sum","Variable - Percentage"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formInputText","Page":null,"Group":"DATA SOURCE","Type":"TextBox","Label":"Input data","LabelEmphasised":false,"Value":"0.4","Allowed":null,"Multi":false,"Prompt":"Enter a numeric value","ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formFillColor","Page":"Format","Group":"Shape","Type":"ColorPicker","Label":"Fill color","LabelEmphasised":false,"Value":"rgb(64, 64, 64)","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Fill color: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formFillOpacity","Page":"Format","Group":"Shape","Type":"NumericUpDown","Label":"Fill opacity","LabelEmphasised":false,"Value":1.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Fill opacity: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.1,"Min":0.0,"Max":1.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formBorderWidth","Page":"Format","Group":"Shape","Type":"NumericUpDown","Label":"Border width","LabelEmphasised":false,"Value":0.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Border width: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":100.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formBorderColor","Page":"Format","Group":"Shape","Type":"ColorPicker","Label":"Border color","LabelEmphasised":false,"Value":"rgb(255, 255, 255)","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Border color: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formBorderOpacity","Page":"Format","Group":"Shape","Type":"NumericUpDown","Label":"Border opacity","LabelEmphasised":false,"Value":0.5,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Border opacity: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.1,"Min":0.0,"Max":1.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabPrefix","Page":"Format","Group":"DATA LABELS","Type":"TextBox","Label":"Prefix","LabelEmphasised":false,"Value":"","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabSuffix","Page":"Format","Group":"DATA LABELS","Type":"TextBox","Label":" Suffix","LabelEmphasised":false,"Value":" of deaths","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabNumType","Page":"Format","Group":"DATA LABELS","Type":"ComboBox","Label":" Number type","LabelEmphasised":false,"Value":"Percentage","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Number","Percentage","Scientific"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabDigits","Page":"Format","Group":"DATA LABELS","Type":"NumericUpDown","Label":"Decimals shown","LabelEmphasised":false,"Value":0.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Decimals shown: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":6.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabSize","Page":"Format","Group":"DATA LABELS","Type":"NumericUpDown","Label":"Font size","LabelEmphasised":false,"Value":17.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Font size: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":5.0,"Max":50.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabWeight","Page":"Format","Group":"DATA LABELS","Type":"ComboBox","Label":"Font weight","LabelEmphasised":false,"Value":"Normal","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Normal","Bold"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabHAlign","Page":"Format","Group":"DATA LABELS","Type":"ComboBox","Label":"Horizontal alignment","LabelEmphasised":false,"Value":"Center","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Left","Center","Right"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabVAlign","Page":"Format","Group":"DATA LABELS","Type":"ComboBox","Label":"Vertical alignment","LabelEmphasised":false,"Value":"Middle","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Top","Middle","Bottom"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabFont","Page":"Format","Group":"DATA LABELS","Type":"ComboBox","Label":"Font family","LabelEmphasised":false,"Value":"Arial Black","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Arial","Arial Black","Century Gothic","Georgia","Impact","Times New Roman","Trebuchet MS","Verdana"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"dLabColor","Page":"Format","Group":"DATA LABELS","Type":"ColorPicker","Label":"Color","LabelEmphasised":false,"Value":"rgb(255, 255, 255)","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Color: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAbove","Page":"Format","Group":"TEXT LABELS","Type":"TextBox","Label":"Text above","LabelEmphasised":false,"Value":"In the USA, ","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAboveInside","Page":"Format","Group":"TEXT LABELS","Type":"CheckBox","Label":"Text inside shape","LabelEmphasised":false,"Value":false,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":"left","Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAboveSize","Page":"Format","Group":"TEXT LABELS","Type":"NumericUpDown","Label":"Font size","LabelEmphasised":false,"Value":12.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Font size: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":5.0,"Max":50.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAboveWeight","Page":"Format","Group":"TEXT LABELS","Type":"ComboBox","Label":"Font weight","LabelEmphasised":false,"Value":"Normal","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Normal","Bold"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAboveHAlign","Page":"Format","Group":"TEXT LABELS","Type":"ComboBox","Label":"Horizontal alignment","LabelEmphasised":false,"Value":"Center","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Left","Center","Right"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAboveFont","Page":"Format","Group":"TEXT LABELS","Type":"ComboBox","Label":"Font family","LabelEmphasised":false,"Value":"Arial Black","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Arial","Arial Black","Century Gothic","Georgia","Impact","Times New Roman","Trebuchet MS","Verdana"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAboveColor","Page":"Format","Group":"TEXT LABELS","Type":"ColorPicker","Label":"Color","LabelEmphasised":false,"Value":"rgb(64, 64, 64)","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Color: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextAbovePad","Page":"Format","Group":"TEXT LABELS","Type":"NumericUpDown","Label":"Vertical space","LabelEmphasised":false,"Value":0.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Vertical space: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":1000.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelow","Page":"Format","Group":"TEXT LABELS","Type":"TextBox","Label":"Text below","LabelEmphasised":false,"Value":"were preventable","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowInside","Page":"Format","Group":"TEXT LABELS","Type":"CheckBox","Label":"Text inside shape","LabelEmphasised":false,"Value":false,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":"left","Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowSize","Page":"Format","Group":"TEXT LABELS","Type":"NumericUpDown","Label":"Font size","LabelEmphasised":false,"Value":12.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Font size: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":5.0,"Max":50.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowWeight","Page":"Format","Group":"TEXT LABELS","Type":"ComboBox","Label":"Font weight","LabelEmphasised":false,"Value":"Normal","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Normal","Bold"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowHAlign","Page":"Format","Group":"TEXT LABELS","Type":"ComboBox","Label":"Horizontal alignment","LabelEmphasised":false,"Value":"Center","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Left","Center","Right"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowFont","Page":"Format","Group":"TEXT LABELS","Type":"ComboBox","Label":"Font family","LabelEmphasised":false,"Value":"Arial Black","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Arial","Arial Black","Century Gothic","Georgia","Impact","Times New Roman","Trebuchet MS","Verdana"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowColor","Page":"Format","Group":"TEXT LABELS","Type":"ColorPicker","Label":"Color","LabelEmphasised":false,"Value":"rgb(117, 3, 41)","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Color: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTextBelowPad","Page":"Format","Group":"TEXT LABELS","Type":"NumericUpDown","Label":"Vertical space","LabelEmphasised":false,"Value":0.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Vertical space: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":1000.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTransparent","Page":"Format","Group":"BACKGROUND","Type":"CheckBox","Label":"Transparent background","LabelEmphasised":false,"Value":false,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":"left","Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formBgColor","Page":"Format","Group":"BACKGROUND","Type":"ColorPicker","Label":"Background color","LabelEmphasised":false,"Value":"rgb(192, 192, 192)","Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Background color: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formBgOpacity","Page":"Format","Group":"BACKGROUND","Type":"NumericUpDown","Label":"Background opacity","LabelEmphasised":false,"Value":1.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Background opacity: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.1,"Min":0.0,"Max":1.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formMarginRight","Page":"Format","Group":"BACKGROUND","Type":"NumericUpDown","Label":"Right margin","LabelEmphasised":false,"Value":30.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Right margin: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":1000.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formMarginLeft","Page":"Format","Group":"BACKGROUND","Type":"NumericUpDown","Label":"Left margin","LabelEmphasised":false,"Value":30.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Left margin: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":1000.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formMarginTop","Page":"Format","Group":"BACKGROUND","Type":"NumericUpDown","Label":"Top margin","LabelEmphasised":false,"Value":20.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Top margin: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":1000.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formMarginBottom","Page":"Format","Group":"BACKGROUND","Type":"NumericUpDown","Label":"Bottom margin","LabelEmphasised":false,"Value":20.0,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":"Bottom margin: ","Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":1000.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":null,"Page":null,"Group":null,"Type":null,"Label":null,"LabelEmphasised":false,"Value":null,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":true}]},"calculating":"Idle","showDebug":false,"layout":"OutputOnly","vSplit":0.25,"hSplit":0.45,"updateWarnings":true,"updateMode":"Manual","warnSlow":false,"Options":{"debugconsole":false,"codeposition":"OutputOnly","splitH":0.45,"splitV":0.25,"update warnings":true,"updating":"Manual","warn slow":false}}