{"size":{"Width":576,"Height":512},"appearance":{"background":"white","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'>&gt;library(flipStandardCharts)\n</pre>\n<pre class='debug-source'>&gt;dat &lt;- if (!exists(&quot;formDataType&quot;) || formDataType == &quot;Use an existing table&quot;) {\n formTable\n} else\n flipTransformations::ParseEnteredData(formEnteredData)\n</pre>\n<pre class='debug-source'>&gt; \n</pre>\n<pre class='debug-source'>&gt;chart.2 &lt;- Chart(y = if (exists(&quot;formMultiplyBy100&quot;) &amp;&amp; formMultiplyBy100) 100 * dat else dat,\n type = formType,\n transpose = formTranspose,\n title = formTitle,\n title.font.family = NULL,\n title.font.color = NULL,\n title.font.size = 16,\n colors = formPalette,\n colors.reverse = FALSE,\n opacity = NULL,\n background.fill.color = rgb(255, 255, 255, maxColorValue = 255),\n background.fill.opacity = 1,\n charting.area.fill.color = rgb(255, 255, 255, maxColorValue = 255),\n charting.area.fill.opacity = 1,\n legend.show = TRUE,\n legend.fill = rgb(255, 255, 255, maxColorValue = 255),\n legend.border.color = rgb(44, 44, 44, maxColorValue = 255),\n legend.border.line.width = 0,\n legend.font.color = NULL,\n legend.font.family = NULL,\n legend.font.size = 10,\n legend.position = &quot;right&quot;,\n legend.ascending = TRUE,\n margin.top = NULL,\n margin.bottom = NULL,\n margin.left = NULL,\n margin.right = NULL,\n margin.inner.pad = NULL,\n y.title = formYTitle,\n y.title.font.color = NULL,\n y.title.font.family = NULL,\n y.title.font.size = 12,\n y.line.width = 0,\n y.line.color = rgb(0, 0, 0, maxColorValue = 255),\n y.tick.marks = &quot;&quot;,\n y.tick.mark.length = 5,\n y.bounds.minimum = NULL,\n y.bounds.maximum = NULL,\n y.tick.distance = NULL,\n y.zero.line.width = 0,\n y.zero.line.color = rgb(44, 44, 44, maxColorValue = 255),\n y.position = &quot;left&quot;,\n y.data.reversed = FALSE,\n y.grid.width = 1 * formShowGrid &amp;&amp; !formType %in% c(&quot;Pie&quot;, &quot;Donut&quot;, &quot;Bar&quot;, &quot;Stacked Bar&quot;, &quot;100% Stacked Bar&quot;),\n y.grid.color = rgb(225, 225, 225, maxColorValue = 255),\n y.tick.show = TRUE,\n y.tick.suffix = formSuffix,\n y.tick.prefix = formPrefix,\n y.tick.decimals = NULL,\n y.tick.format.manual = &quot;&quot;,\n y.hovertext.decimals = NULL,\n y.hovertext.format.manual = &quot;&quot;,\n y.tick.angle = NULL,\n y.tick.font.color = NULL,\n y.tick.font.family = NULL,\n y.tick.font.size = 10,\n x.title = formXTitle,\n x.title.font.color = NULL,\n x.title.font.family = NULL,\n x.title.font.size = 12,\n x.line.width = 0,\n x.line.color = rgb(0, 0, 0, maxColorValue = 255),\n x.tick.marks = &quot;&quot;,\n x.tick.mark.length = 5,\n x.bounds.minimum = NULL,\n x.bounds.maximum = NULL,\n x.tick.distance = NULL,\n x.zero.line.width = 0,\n x.zero.line.color = rgb(44, 44, 44, maxColorValue = 255),\n x.position = &quot;bottom&quot;,\n x.data.reversed = FALSE,\n x.grid.width = 1 * formShowGrid &amp;&amp; !formType %in% c(&quot;Pie&quot;, &quot;Donut&quot;, &quot;Area&quot;, &quot;Stacked Area&quot;, &quot;100% Stacked Area&quot;, &quot;Column&quot;, &quot;Stacked Column&quot;, &quot;100% Stacked Column&quot;, &quot;Line&quot;),\n x.grid.color = rgb(225, 225, 225, maxColorValue = 255),\n x.tick.show = TRUE,\n x.tick.suffix = formSuffix,\n x.tick.prefix = formPrefix,\n x.tick.decimals = NULL,\n x.tick.format.manual = &quot;&quot;,\n x.hovertext.decimals = NULL,\n x.hovertext.format.manual = &quot;&quot;,\n x.tick.angle = NULL,\n x.tick.font.color = NULL,\n x.tick.font.family = NULL,\n x.tick.font.size = 10,\n x.tick.label.autoformat = TRUE,\n series.marker.show = if (formType %in% c(&quot;Labeled Scatterplot&quot;, &quot;Labeled Bubbleplot&quot;)) &quot;automatic&quot; else &quot;none&quot;,\n series.marker.colors = NULL,\n series.marker.colors.reverse = FALSE,\n series.marker.opacity = 1,\n series.marker.size = 6,\n series.marker.border.width = 1,\n series.marker.border.colors = NULL,\n series.marker.border.colors.reverse = FALSE,\n series.marker.border.opacity = 1,\n series.line.width = 3,\n series.line.colors = NULL,\n series.line.colors.reverse = FALSE,\n series.line.opacity = 1,\n tooltip.show = TRUE,\n modebar.show = FALSE,\n global.font.family = &quot;Arial&quot;,\n global.font.color = rgb(44, 44, 44, maxColorValue=255),\n rows.to.ignore = formIgnoreRows,\n cols.to.ignore = formIgnoreColumns,\n bar.gap = 0.15,\n data.label.show = formShowDataLabels,\n data.label.font.family = NULL,\n data.label.font.size = 10,\n data.label.font.color = NULL,\n data.label.decimals = formDataLabelDecimals,\n data.label.prefix = formPrefix,\n data.label.suffix = formSuffix,\n data.label.threshold = NULL,\n data.label.position = &quot;top middle&quot;,\n pie.order = &quot;initial&quot;,\n pie.groups.order = &quot;initial&quot;,\n pie.subslice.colors = formPaletteOuter,\n pie.subslice.colors.reverse = FALSE,\n pie.subslice.colors.repeat = TRUE,\n pie.border.color = rgb(255, 255, 255, maxColorValue = 255),\n pie.inner.radius = formRadius,\n pie.show.percentages = formType %in% c(&quot;Pie&quot;, &quot;Donut&quot;) &amp;&amp; formPiePercentages,\n z.title = formZTitle,\n scatter.group.indices = formGroupIndices,\n scatter.group.labels = formGroupLabels,\n us.date.format = if (exists(&quot;formDateFormat&quot;) &amp;&amp; formDateFormat != &quot;Default&quot;) formDateFormat == &quot;US (mm/dd/yyyy)&quot; else NULL) \n</pre>\n<pre class='debug-source'>&gt;chart.2\n</pre>\r\n<div class=\"debug-summarystatistics\">\r\n<table>\r\n<tr><th>Total time:</th><td>0.29s</td></tr>\r\n<tr><th>Time on R server:</th><td title=\"rApacheServe 0.26s (pre 0.00s, post 0.00s) httpget_code() setup for eval 0.00s session$eval 0.24s (pre 0.00s, post 0.05s) unexplained 0.02s apparmor forking (pre 0.03s, post 0.00s)\">0.26s</td></tr>\r\n<tr><th>Time evaluating code:</th><td>0.16s</td></tr>\r\n<tr><th>Bytes sent:</th><td>6,390</td></tr>\r\n<tr><th>Bytes received:</th><td>14,686</td></tr>\r\n</table>\r\n</div>","htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-71cc9be55a242f2116a5\" style=\"width:960px;height:500px;\" class=\"rhtmlDonut html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-71cc9be55a242f2116a5\">{\"x\":{\"values\":[13.4556574923547,11.9266055045872,10.0917431192661,11.0091743119266,10.7033639143731,8.25688073394496,12.2324159021407,15.5963302752294,6.72782874617737],\"labels\":[\"18 to 24\",\"25 to 29\",\"30 to 34\",\"35 to 39\",\"40 to 44\",\"45 to 49\",\"50 to 54\",\"55 to 64\",\"65 +\"],\"settings\":{\"valuesFont\":\"Arial\",\"valuesSize\":10,\"valuesColor\":[\"#5C9AD3\",\"#ED7D31\",\"#A5A5A5\",\"#FFC000\",\"#4473C5\",\"#70AD46\",\"#255F91\",\"#9E480D\",\"#636365\"],\"valuesDisplay\":\"original\",\"valuesOrder\":\"initial\",\"valuesDec\":2,\"labelsFont\":\"Arial\",\"labelsSize\":10,\"labelsColor\":\"#2C2C2C\",\"labelsInner\":false,\"labelsBold\":false,\"labelsMinFontSize\":10,\"groups\":null,\"groupsFont\":\"Arial\",\"groupsFontColor\":\"#2C2C2C\",\"groupsSize\":10,\"groupsBold\":false,\"groupsColor\":null,\"groupsNames\":null,\"groupsSums\":null,\"groupsCounts\":null,\"groupLabelsMinFontSize\":10,\"title\":\"Pie chart\",\"titleFontFamily\":\"Arial\",\"titleFontSize\":16,\"titleFontColor\":\"#2C2C2C\",\"titleTopPadding\":0,\"titleBold\":false,\"prefix\":\"\",\"suffix\":\"%\",\"orderControl\":false,\"gradient\":false,\"innerRadius\":\"0%\",\"minAngle\":0.003,\"borderColor\":\"#FFFFFF\"}},\"evals\":[],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-71cc9be55a242f2116a5\">{\"viewer\":{\"width\":450,\"height\":350,\"padding\":0,\"fill\":true},\"browser\":{\"width\":960,\"height\":500,\"padding\":0,\"fill\":true}}</script>","htmlwidget-head":"{\"stylesheets\":[\"https://rserverhtmlwidgetasset.azureedge.net/d3pie-0bab3c984e04f3150b65ccaf2c83535a.css\"],\"javascript\":[\"https://rserverhtmlwidgetasset.azureedge.net/htmlwidgets-d2ab507a7e7d3e3d7c2178bda9d4c762.js\",\"https://rserverhtmlwidgetasset.azureedge.net/d3.min-2f50967ff82fd3475fcd22e9253d546e.js\",\"https://rserverhtmlwidgetasset.azureedge.net/d3pie-65cceb31dfc30ec2a905571eb62c7cb2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/validate-290153bc67b0029aab48e0d29cb7c9e2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/helpers-9c6d3474c9c9779f102fa0c5384f4fad.js\",\"https://rserverhtmlwidgetasset.azureedge.net/math-29a23041ec7683998cb0bb6711ec0c06.js\",\"https://rserverhtmlwidgetasset.azureedge.net/labels-86fa5d40808955608ff654f7a7b8e6c7.js\",\"https://rserverhtmlwidgetasset.azureedge.net/segments-661db9096377f450316f3360510c5a5f.js\",\"https://rserverhtmlwidgetasset.azureedge.net/text-64412032d620c64b5068a1e366fe3fc3.js\",\"https://rserverhtmlwidgetasset.azureedge.net/tooltip-0ecb96764ca814a750041aee1bd57ba0.js\",\"https://rserverhtmlwidgetasset.azureedge.net/rainbowvis-817701ea427986ff7c25fb14b18ce504.js\",\"https://rserverhtmlwidgetasset.azureedge.net/rhtmlDonut-043cac0acda514bd9bee3d43115a15a5.js\"],\"attachments\":[]}","message":"","warning":"","visible":"yes"},"secondsTaken":0.28791950000000005,"updated":"2017-05-18T05:44:43.9431816Z","lastUpdatedMessage":null,"executedCode":"library(flipStandardCharts)\ndat <- if (!exists(\"formDataType\") || formDataType == \"Use an existing table\") {\n formTable\n} else\n flipTransformations::ParseEnteredData(formEnteredData)\n \nchart.2 <- Chart(y = if (exists(\"formMultiplyBy100\") && formMultiplyBy100) 100 * dat else dat,\n type = formType,\n transpose = formTranspose,\n title = formTitle,\n title.font.family = NULL,\n title.font.color = NULL,\n title.font.size = 16,\n colors = formPalette,\n colors.reverse = FALSE,\n opacity = NULL,\n background.fill.color = rgb(255, 255, 255, maxColorValue = 255),\n background.fill.opacity = 1,\n charting.area.fill.color = rgb(255, 255, 255, maxColorValue = 255),\n charting.area.fill.opacity = 1,\n legend.show = TRUE,\n legend.fill = rgb(255, 255, 255, maxColorValue = 255),\n legend.border.color = rgb(44, 44, 44, maxColorValue = 255),\n legend.border.line.width = 0,\n legend.font.color = NULL,\n legend.font.family = NULL,\n legend.font.size = 10,\n legend.position = \"right\",\n legend.ascending = TRUE,\n margin.top = NULL,\n margin.bottom = NULL,\n margin.left = NULL,\n margin.right = NULL,\n margin.inner.pad = NULL,\n y.title = formYTitle,\n y.title.font.color = NULL,\n y.title.font.family = NULL,\n y.title.font.size = 12,\n y.line.width = 0,\n y.line.color = rgb(0, 0, 0, maxColorValue = 255),\n y.tick.marks = \"\",\n y.tick.mark.length = 5,\n y.bounds.minimum = NULL,\n y.bounds.maximum = NULL,\n y.tick.distance = NULL,\n y.zero.line.width = 0,\n y.zero.line.color = rgb(44, 44, 44, maxColorValue = 255),\n y.position = \"left\",\n y.data.reversed = FALSE,\n y.grid.width = 1 * formShowGrid && !formType %in% c(\"Pie\", \"Donut\", \"Bar\", \"Stacked Bar\", \"100% Stacked Bar\"),\n y.grid.color = rgb(225, 225, 225, maxColorValue = 255),\n y.tick.show = TRUE,\n y.tick.suffix = formSuffix,\n y.tick.prefix = formPrefix,\n y.tick.decimals = NULL,\n y.tick.format.manual = \"\",\n y.hovertext.decimals = NULL,\n y.hovertext.format.manual = \"\",\n y.tick.angle = NULL,\n y.tick.font.color = NULL,\n y.tick.font.family = NULL,\n y.tick.font.size = 10,\n x.title = formXTitle,\n x.title.font.color = NULL,\n x.title.font.family = NULL,\n x.title.font.size = 12,\n x.line.width = 0,\n x.line.color = rgb(0, 0, 0, maxColorValue = 255),\n x.tick.marks = \"\",\n x.tick.mark.length = 5,\n x.bounds.minimum = NULL,\n x.bounds.maximum = NULL,\n x.tick.distance = NULL,\n x.zero.line.width = 0,\n x.zero.line.color = rgb(44, 44, 44, maxColorValue = 255),\n x.position = \"bottom\",\n x.data.reversed = FALSE,\n x.grid.width = 1 * formShowGrid && !formType %in% c(\"Pie\", \"Donut\", \"Area\", \"Stacked Area\", \"100% Stacked Area\", \"Column\", \"Stacked Column\", \"100% Stacked Column\", \"Line\"),\n x.grid.color = rgb(225, 225, 225, maxColorValue = 255),\n x.tick.show = TRUE,\n x.tick.suffix = formSuffix,\n x.tick.prefix = formPrefix,\n x.tick.decimals = NULL,\n x.tick.format.manual = \"\",\n x.hovertext.decimals = NULL,\n x.hovertext.format.manual = \"\",\n x.tick.angle = NULL,\n x.tick.font.color = NULL,\n x.tick.font.family = NULL,\n x.tick.font.size = 10,\n x.tick.label.autoformat = TRUE,\n series.marker.show = if (formType %in% c(\"Labeled Scatterplot\", \"Labeled Bubbleplot\")) \"automatic\" else \"none\",\n series.marker.colors = NULL,\n series.marker.colors.reverse = FALSE,\n series.marker.opacity = 1,\n series.marker.size = 6,\n series.marker.border.width = 1,\n series.marker.border.colors = NULL,\n series.marker.border.colors.reverse = FALSE,\n series.marker.border.opacity = 1,\n series.line.width = 3,\n series.line.colors = NULL,\n series.line.colors.reverse = FALSE,\n series.line.opacity = 1,\n tooltip.show = TRUE,\n modebar.show = FALSE,\n global.font.family = \"Arial\",\n global.font.color = rgb(44, 44, 44, maxColorValue=255),\n rows.to.ignore = formIgnoreRows,\n cols.to.ignore = formIgnoreColumns,\n bar.gap = 0.15,\n data.label.show = formShowDataLabels,\n data.label.font.family = NULL,\n data.label.font.size = 10,\n data.label.font.color = NULL,\n data.label.decimals = formDataLabelDecimals,\n data.label.prefix = formPrefix,\n data.label.suffix = formSuffix,\n data.label.threshold = NULL,\n data.label.position = \"top middle\",\n pie.order = \"initial\",\n pie.groups.order = \"initial\",\n pie.subslice.colors = formPaletteOuter,\n pie.subslice.colors.reverse = FALSE,\n pie.subslice.colors.repeat = TRUE,\n pie.border.color = rgb(255, 255, 255, maxColorValue = 255),\n pie.inner.radius = formRadius,\n pie.show.percentages = formType %in% c(\"Pie\", \"Donut\") && formPiePercentages,\n z.title = formZTitle,\n scatter.group.indices = formGroupIndices,\n scatter.group.labels = formGroupLabels,\n us.date.format = if (exists(\"formDateFormat\") && formDateFormat != \"Default\") formDateFormat == \"US (mm/dd/yyyy)\" else NULL) \nchart.2","lastSavedCode":"library(flipStandardCharts)\ndat <- if (!exists(\"formDataType\") || formDataType == \"Use an existing table\") {\n formTable\n} else\n flipTransformations::ParseEnteredData(formEnteredData)\n \nchart.2 <- Chart(y = if (exists(\"formMultiplyBy100\") && formMultiplyBy100) 100 * dat else dat,\n type = formType,\n transpose = formTranspose,\n title = formTitle,\n title.font.family = NULL,\n title.font.color = NULL,\n title.font.size = 16,\n colors = formPalette,\n colors.reverse = FALSE,\n opacity = NULL,\n background.fill.color = rgb(255, 255, 255, maxColorValue = 255),\n background.fill.opacity = 1,\n charting.area.fill.color = rgb(255, 255, 255, maxColorValue = 255),\n charting.area.fill.opacity = 1,\n legend.show = TRUE,\n legend.fill = rgb(255, 255, 255, maxColorValue = 255),\n legend.border.color = rgb(44, 44, 44, maxColorValue = 255),\n legend.border.line.width = 0,\n legend.font.color = NULL,\n legend.font.family = NULL,\n legend.font.size = 10,\n legend.position = \"right\",\n legend.ascending = TRUE,\n margin.top = NULL,\n margin.bottom = NULL,\n margin.left = NULL,\n margin.right = NULL,\n margin.inner.pad = NULL,\n y.title = formYTitle,\n y.title.font.color = NULL,\n y.title.font.family = NULL,\n y.title.font.size = 12,\n y.line.width = 0,\n y.line.color = rgb(0, 0, 0, maxColorValue = 255),\n y.tick.marks = \"\",\n y.tick.mark.length = 5,\n y.bounds.minimum = NULL,\n y.bounds.maximum = NULL,\n y.tick.distance = NULL,\n y.zero.line.width = 0,\n y.zero.line.color = rgb(44, 44, 44, maxColorValue = 255),\n y.position = \"left\",\n y.data.reversed = FALSE,\n y.grid.width = 1 * formShowGrid && !formType %in% c(\"Pie\", \"Donut\", \"Bar\", \"Stacked Bar\", \"100% Stacked Bar\"),\n y.grid.color = rgb(225, 225, 225, maxColorValue = 255),\n y.tick.show = TRUE,\n y.tick.suffix = formSuffix,\n y.tick.prefix = formPrefix,\n y.tick.decimals = NULL,\n y.tick.format.manual = \"\",\n y.hovertext.decimals = NULL,\n y.hovertext.format.manual = \"\",\n y.tick.angle = NULL,\n y.tick.font.color = NULL,\n y.tick.font.family = NULL,\n y.tick.font.size = 10,\n x.title = formXTitle,\n x.title.font.color = NULL,\n x.title.font.family = NULL,\n x.title.font.size = 12,\n x.line.width = 0,\n x.line.color = rgb(0, 0, 0, maxColorValue = 255),\n x.tick.marks = \"\",\n x.tick.mark.length = 5,\n x.bounds.minimum = NULL,\n x.bounds.maximum = NULL,\n x.tick.distance = NULL,\n x.zero.line.width = 0,\n x.zero.line.color = rgb(44, 44, 44, maxColorValue = 255),\n x.position = \"bottom\",\n x.data.reversed = FALSE,\n x.grid.width = 1 * formShowGrid && !formType %in% c(\"Pie\", \"Donut\", \"Area\", \"Stacked Area\", \"100% Stacked Area\", \"Column\", \"Stacked Column\", \"100% Stacked Column\", \"Line\"),\n x.grid.color = rgb(225, 225, 225, maxColorValue = 255),\n x.tick.show = TRUE,\n x.tick.suffix = formSuffix,\n x.tick.prefix = formPrefix,\n x.tick.decimals = NULL,\n x.tick.format.manual = \"\",\n x.hovertext.decimals = NULL,\n x.hovertext.format.manual = \"\",\n x.tick.angle = NULL,\n x.tick.font.color = NULL,\n x.tick.font.family = NULL,\n x.tick.font.size = 10,\n x.tick.label.autoformat = TRUE,\n series.marker.show = if (formType %in% c(\"Labeled Scatterplot\", \"Labeled Bubbleplot\")) \"automatic\" else \"none\",\n series.marker.colors = NULL,\n series.marker.colors.reverse = FALSE,\n series.marker.opacity = 1,\n series.marker.size = 6,\n series.marker.border.width = 1,\n series.marker.border.colors = NULL,\n series.marker.border.colors.reverse = FALSE,\n series.marker.border.opacity = 1,\n series.line.width = 3,\n series.line.colors = NULL,\n series.line.colors.reverse = FALSE,\n series.line.opacity = 1,\n tooltip.show = TRUE,\n modebar.show = FALSE,\n global.font.family = \"Arial\",\n global.font.color = rgb(44, 44, 44, maxColorValue=255),\n rows.to.ignore = formIgnoreRows,\n cols.to.ignore = formIgnoreColumns,\n bar.gap = 0.15,\n data.label.show = formShowDataLabels,\n data.label.font.family = NULL,\n data.label.font.size = 10,\n data.label.font.color = NULL,\n data.label.decimals = formDataLabelDecimals,\n data.label.prefix = formPrefix,\n data.label.suffix = formSuffix,\n data.label.threshold = NULL,\n data.label.position = \"top middle\",\n pie.order = \"initial\",\n pie.groups.order = \"initial\",\n pie.subslice.colors = formPaletteOuter,\n pie.subslice.colors.reverse = FALSE,\n pie.subslice.colors.repeat = TRUE,\n pie.border.color = rgb(255, 255, 255, maxColorValue = 255),\n pie.inner.radius = formRadius,\n pie.show.percentages = formType %in% c(\"Pie\", \"Donut\") && formPiePercentages,\n z.title = formZTitle,\n scatter.group.indices = formGroupIndices,\n scatter.group.labels = formGroupLabels,\n us.date.format = if (exists(\"formDateFormat\") && formDateFormat != \"Default\") formDateFormat == \"US (mm/dd/yyyy)\" else NULL) \nchart.2","highlightedCodeSpans":[{"start":66,"length":12,"index":4},{"start":113,"length":9,"index":4},{"start":247,"length":17,"index":4},{"start":296,"length":8,"index":4},{"start":321,"length":13,"index":4},{"start":347,"length":9,"index":4},{"start":452,"length":11,"index":4},{"start":1656,"length":8,"index":4},{"start":1832,"length":10,"index":4},{"start":1863,"length":10,"index":4},{"start":2607,"length":8,"index":4},{"start":2845,"length":10,"index":4},{"start":2876,"length":10,"index":4},{"start":3184,"length":8,"index":4},{"start":3844,"length":14,"index":4},{"start":3880,"length":17,"index":4},{"start":4081,"length":21,"index":4},{"start":4127,"length":10,"index":4},{"start":4162,"length":10,"index":4},{"start":4329,"length":16,"index":4},{"start":4510,"length":10,"index":4},{"start":4548,"length":8,"index":4},{"start":4583,"length":18,"index":4}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":true,"guiControls":{"Code":"if (!form.dataEntry)\n form.dropBox({name: \"formTable\", label: \"Table\", types: [\"Table\", \"RItem:integer,numeric,matrix,array,data.frame,table\"], required: true});\nelse\n{\n var dt = form.comboBox({name: \"formDataType\", label: \"Data source\", alternatives: [\"Use an existing table\", \"Type or paste data\"], default_value: \"Use an existing table\"});\n if (dt.getValue() == \"Use an existing table\")\n form.dropBox({name: \"formTable\", label: \"Table\", types: [\"Table\", \"RItem:integer,numeric,matrix,array,data.frame,table\"], required: true});\n else\n form.dataEntry({name: \"formEnteredData\", prompt: \"Opens a spreadsheet into which you can paste data.\"})\n}\nvar t = form.comboBox({name: \"formType\", label: \"Chart type\", alternatives: [\"Area\", \"Stacked Area\", \"100% Stacked Area\", \"Bar\", \"Stacked Bar\", \"100% Stacked Bar\",\n \"Column\", \"Stacked Column\", \"100% Stacked Column\", \"Line\", \"Donut\", \"Pie\", \"Labeled Scatterplot\", \"Labeled Bubbleplot\"], default_value: \"Pie\", required: true}).getValue();\nif (t == \"Labeled Scatterplot\" || t == \"Labeled Bubbleplot\")\n form.setHeading(t);\nelse\n form.setHeading(t + \" Chart\");\nvar show_pie_percentages = false;\nif (t == \"Pie\" || t == \"Donut\")\n show_pie_percentages = form.checkBox({name: \"formPiePercentages\", label: \"Show as percentages\"}).getValue();\nif (t != \"Donut\")\n form.checkBox({name: \"formTranspose\", label: \"Switch rows and columns\"});\nif (t == \"Labeled Scatterplot\" || t == \"Labeled Bubbleplot\")\n{\n form.textBox({name: \"formGroupIndices\", label: \"Group indices\", required: false, prompt: \"For example: 1,1,2,1,3,2\"});\n form.textBox({name: \"formGroupLabels\", label: \"Group labels\", required: false, prompt: \"For example: Group 1, Group 2, Group 3\"});\n}\nform.comboBox({name: \"formPalette\", label: \"Color palette\", alternatives: [\"Default colors\", \"Primary colors\", \"Rainbow\", \"Light pastels\", \"Strong colors\",\n \"Reds, dark to light\", \"Reds, light to dark\", \"Greens, dark to light\", \"Greens, light to dark\", \"Blues, dark to light\", \"Blues, light to dark\", \"Greys, dark to light\", \"Greys, light to dark\",\n \"Heat colors (red, yellow, white)\", \"Terrain colors (green, beige, grey)\"], default_value: \"Default colors\", required: true});\nif (t == \"Pie\")\n form.comboBox({name: \"formPaletteOuter\", label: \"Outer ring color palette\", alternatives: [\"Group colors\", \"Default colors\", \"Primary colors\", \"Rainbow\", \"Light pastels\", \"Strong colors\",\n \"Reds, dark to light\", \"Reds, light to dark\", \"Greens, dark to light\", \"Greens, light to dark\", \"Blues, dark to light\", \"Blues, light to dark\", \"Greys, dark to light\", \n \"Greys, light to dark\", \"Heat colors (red, yellow, white)\", \"Terrain colors (green, beige, grey)\"], default_value: \"Group colors\", required: true});\nform.textBox({name: \"formTitle\", label: \"Title\", required: false});\nif (t != \"Pie\" && t != \"Donut\")\n{\n form.textBox({name: \"formXTitle\", label: \"X-axis title\", required: false});\n form.textBox({name: \"formYTitle\", label: \"Y-axis title\", required: false});\n}\nif (t == \"Labeled Bubbleplot\")\n form.textBox({name: \"formZTitle\", label: \"Bubble title\", required: false});\nif (t != \"100% Stacked Area\" && t != \"100% Stacked Bar\" && t != \"100% Stacked Column\" && !show_pie_percentages)\n{\n form.textBox({name: \"formPrefix\", label: \"Data value prefix\", required: false});\n var suffix = form.textBox({name: \"formSuffix\", label: \"Data value suffix\", required: false});\n if (suffix.getValue() == \"%\")\n form.checkBox({name: \"formMultiplyBy100\", label: \"Multiply data by 100\", default_value: false});\n}\nvar show_decimals_control = t == \"Pie\" || t == \"Donut\" || (t != \"Labeled Scatterplot\" && t != \"Labeled Bubbleplot\" &&\n form.checkBox({name: \"formShowDataLabels\", label: \"Show data labels\", default_value: false}).getValue());\nif (show_decimals_control)\n form.numericUpDown({name: \"formDataLabelDecimals\", label: \"Data label decimal places\", default_value: 2, increment: 1, minimum: 0, maximum: 12});\nif (t != \"Pie\" && t != \"Donut\")\n form.checkBox({name: \"formShowGrid\", label: \"Show grid\", default_value: true});\nform.textBox({label: \"Rows to ignore\", type: \"text\", default_value: \"NET, Total, SUM\", name: \"formIgnoreRows\", required: false});\nform.textBox({label: \"Columns to ignore\", type: \"text\", default_value: \"NET, Total, SUM\", name: \"formIgnoreColumns\", required: false});\nif (t == \"Donut\")\n form.numericUpDown({name: \"formRadius\", label: \"Donut hole radius %\", default_value: 60, increment: 1, minimum: 1, maximum: 100});\nelse if (t == \"Pie\")\n form.numericUpDown({name: \"formRadius\", label: \"Radius of pie groupings % (multi-column tables only)\", default_value: 60, increment: 1, minimum: 1, maximum: 100});\nif (t != \"Labeled Scatterplot\" && t != \"Labeled Bubbleplot\" && t != \"Pie\" && t != \"Donut\")\n form.comboBox({name: \"formDateFormat\", label: \"Date format\", alternatives: [\"Default\", \"US (mm/dd/yyyy)\", \"International (dd/mm/yyyy)\"], default_value: \"Default\", required: true});","JSError":null,"JSErrorDetails":null,"ControlDefinitionErrors":null,"InputValidationErrors":null,"Controls":[{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":null,"Type":"Heading","Label":null,"Value":null,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":"Pie Chart","Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formDataType","Type":"ComboBox","Label":"Data source","Value":"Use an existing table","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Use an existing table","Type or paste data"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTable","Type":"DropBox","Label":"Table","Value":"8b28f427-754e-45e5-98db-c896088ec2cb","Allowed":["36981c6a-122e-4cc6-b9d7-51bc538e0413","35ea192a-9f9f-42aa-aeb8-feb19742bf3e","8b28f427-754e-45e5-98db-c896088ec2cb","1bb43feb-a21a-403e-b52c-8bd647b2856d","c6ee91ef-4eba-4d09-8443-1bbaea2eef21","d04182ea-4e31-4684-a28a-b0ea75083d76","a4a48a32-9dab-4703-8f99-47925dfa3c49","a0c29ae1-7c3a-4efe-8062-7bb6465a3e6b","866c9d87-44b4-4fa5-896f-5d5204b0d4d5","a47dd40a-c702-4916-b29c-240d13cd72ae","a5fa5e37-0e41-458a-9e58-6ee95d483bae"],"EmptyListMessage":null,"Multi":false,"Prompt":"Select an input which is of type Table or Ritem (Integer, Numeric, Matrix, Array, Data.Frame or Table).","ErrorMessage":"Table: Table accepts only one input which is of type Table or Ritem (Integer, Numeric, Matrix, Array, Data.Frame or Table).","Invalid":null,"Required":true,"AllowedTypes":["Table","RItem:integer,numeric,matrix,array,data.frame,table"],"MinInputs":1,"MaxInputs":1,"Height":1,"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":"formType","Type":"ComboBox","Label":"Chart type","Value":"Pie","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Area","Stacked Area","100% Stacked Area","Bar","Stacked Bar","100% Stacked Bar","Column","Stacked Column","100% Stacked Column","Line","Donut","Pie","Labeled Scatterplot","Labeled Bubbleplot"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formPiePercentages","Type":"CheckBox","Label":"Show as percentages","Value":false,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formTranspose","Type":"CheckBox","Label":"Switch rows and columns","Value":false,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formPalette","Type":"ComboBox","Label":"Color palette","Value":"Default colors","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Default colors","Primary colors","Rainbow","Light pastels","Strong colors","Reds, dark to light","Reds, light to dark","Greens, dark to light","Greens, light to dark","Blues, dark to light","Blues, light to dark","Greys, dark to light","Greys, light to dark","Heat colors (red, yellow, white)","Terrain colors (green, beige, grey)"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formPaletteOuter","Type":"ComboBox","Label":"Outer ring color palette","Value":"Group colors","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":true,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":["Group colors","Default colors","Primary colors","Rainbow","Light pastels","Strong colors","Reds, dark to light","Reds, light to dark","Greens, dark to light","Greens, light to dark","Blues, dark to light","Blues, light to dark","Greys, dark to light","Greys, light to dark","Heat colors (red, yellow, white)","Terrain colors (green, beige, grey)"],"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formTitle","Type":"TextBox","Label":"Title","Value":"Pie chart","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formPrefix","Type":"TextBox","Label":"Data value prefix","Value":"","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formSuffix","Type":"TextBox","Label":"Data value suffix","Value":"%","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formMultiplyBy100","Type":"CheckBox","Label":"Multiply data by 100","Value":false,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formDataLabelDecimals","Type":"NumericUpDown","Label":"Data label decimal places","Value":2.0,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":"Data label decimal places: ","Invalid":null,"Required":false,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":0.0,"Max":12.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":"formIgnoreRows","Type":"TextBox","Label":"Rows to ignore","Value":"NET, Total, SUM","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formIgnoreColumns","Type":"TextBox","Label":"Columns to ignore","Value":"NET, Total, SUM","Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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":"formRadius","Type":"NumericUpDown","Label":"Radius of pie groupings % (multi-column tables only)","Value":60.0,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":"Radius of pie groupings % (multi-column tables only): ","Invalid":null,"Required":false,"AllowedTypes":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":1.0,"Min":1.0,"Max":100.0,"Vertical":null},{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":null,"Type":null,"Label":null,"Value":null,"Allowed":null,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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}}