Built site for apexcharter: 0.3.0.9000@3f1bb50

This commit is contained in:
pvictor 2021-12-11 17:58:55 +00:00
parent fd335363cc
commit 51abdca4d7
113 changed files with 370 additions and 349 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -101,8 +101,8 @@
title <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="va">spark_data</span><span class="op">$</span><span class="va">var1</span><span class="op">)</span>,
subtitle <span class="op">=</span> <span class="st">"Variable 1"</span>
<span class="op">)</span></code></pre></div>
<div id="htmlwidget-d2a39148fb169d743ff1" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d2a39148fb169d743ff1">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639180800000,57],[1639267200000,68],[1639353600000,53],[1639440000000,50],[1639526400000,53],[1639612800000,40],[1639699200000,41],[1639785600000,46],[1639872000000,53],[1639958400000,40],[1640044800000,59],[1640131200000,45],[1640217600000,61],[1640304000000,46],[1640390400000,49],[1640476800000,43],[1640563200000,41],[1640649600000,37],[1640736000000,55],[1640822400000,46]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#2E93fA"],"title":{"text":49.15,"style":{"fontSize":"24px"}},"subtitle":{"text":"Variable 1","style":{"fontSize":"14px"}}},"auto_update":{"series_animate":true,"update_options":true,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":{"color":"#2E93fA","background":"#FFF"},"xaxis":{"min":"2021-12-11","max":"2021-12-30"},"type":"area"},"evals":[],"jsHooks":[]}</script><p>With more styles :</p>
<div id="htmlwidget-af306ba7d5007dc563c2" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-af306ba7d5007dc563c2">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639267200000,58],[1639353600000,57],[1639440000000,48],[1639526400000,32],[1639612800000,52],[1639699200000,51],[1639785600000,65],[1639872000000,55],[1639958400000,43],[1640044800000,45],[1640131200000,49],[1640217600000,57],[1640304000000,37],[1640390400000,47],[1640476800000,42],[1640563200000,45],[1640649600000,71],[1640736000000,44],[1640822400000,62],[1640908800000,59]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#2E93fA"],"title":{"text":50.95,"style":{"fontSize":"24px"}},"subtitle":{"text":"Variable 1","style":{"fontSize":"14px"}}},"auto_update":{"series_animate":true,"update_options":true,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":{"color":"#2E93fA","background":"#FFF"},"xaxis":{"min":"2021-12-12","max":"2021-12-31"},"type":"area"},"evals":[],"jsHooks":[]}</script><p>With more styles :</p>
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="fu"><a href="../../reference/spark_box.html">spark_box</a></span><span class="op">(</span>
data <span class="op">=</span> <span class="va">spark_data</span>,
@ -112,8 +112,8 @@
title_style <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>color <span class="op">=</span> <span class="st">"#FFF"</span><span class="op">)</span>,
subtitle_style <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>color <span class="op">=</span> <span class="st">"#FFF"</span><span class="op">)</span>
<span class="op">)</span></code></pre></div>
<div id="htmlwidget-a0db97c2ad64ebe5f4c9" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a0db97c2ad64ebe5f4c9">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639180800000,57],[1639267200000,68],[1639353600000,53],[1639440000000,50],[1639526400000,53],[1639612800000,40],[1639699200000,41],[1639785600000,46],[1639872000000,53],[1639958400000,40],[1640044800000,59],[1640131200000,45],[1640217600000,61],[1640304000000,46],[1640390400000,49],[1640476800000,43],[1640563200000,41],[1640649600000,37],[1640736000000,55],[1640822400000,46]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#FFF"],"title":{"text":49.15,"style":{"color":"#FFF","fontSize":"24px"}},"subtitle":{"text":"Variable 1","style":{"color":"#FFF","fontSize":"14px"}}},"auto_update":{"series_animate":true,"update_options":true,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":{"color":"#FFF","background":"#2E93fA"},"xaxis":{"min":"2021-12-11","max":"2021-12-30"},"type":"area"},"evals":[],"jsHooks":[]}</script><p>You can also use spark boxes in Shiny application, use code to launch an example :</p>
<div id="htmlwidget-e4efdabcf771045702b8" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e4efdabcf771045702b8">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639267200000,58],[1639353600000,57],[1639440000000,48],[1639526400000,32],[1639612800000,52],[1639699200000,51],[1639785600000,65],[1639872000000,55],[1639958400000,43],[1640044800000,45],[1640131200000,49],[1640217600000,57],[1640304000000,37],[1640390400000,47],[1640476800000,42],[1640563200000,45],[1640649600000,71],[1640736000000,44],[1640822400000,62],[1640908800000,59]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#FFF"],"title":{"text":50.95,"style":{"color":"#FFF","fontSize":"24px"}},"subtitle":{"text":"Variable 1","style":{"color":"#FFF","fontSize":"14px"}}},"auto_update":{"series_animate":true,"update_options":true,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":{"color":"#FFF","background":"#2E93fA"},"xaxis":{"min":"2021-12-12","max":"2021-12-31"},"type":"area"},"evals":[],"jsHooks":[]}</script><p>You can also use spark boxes in Shiny application, use code to launch an example :</p>
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="fu">run_sparkbox_demo</span><span class="op">(</span><span class="op">)</span></code></pre></div>
<p><img src="figures/spark-box.png" alt="spark-box" style="width:100%;"></p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

21
deps/bootstrap-5.1.0/font.css vendored Normal file
View File

@ -0,0 +1,21 @@
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff) format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff) format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff) format('woff');
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -9,7 +9,7 @@ articles:
shiny-integration: extra/shiny-integration.html
spark-box: extra/spark-box.html
sync-charts: extra/sync-charts.html
last_built: 2021-12-10T17:42Z
last_built: 2021-12-11T17:57Z
urls:
reference: https://dreamrs.github.io/apexcharter/reference
article: https://dreamrs.github.io/apexcharter/articles

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -107,8 +107,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"> <span class="st">"column"</span></span>
<span class="r-in"> <span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span>
<span class="r-in"> <span class="fu">add_hline</span><span class="op">(</span>value <span class="op">=</span> <span class="fl">5e5</span><span class="op">)</span></span>
<div id="htmlwidget-8b594f3bdcdf23dffd94" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8b594f3bdcdf23dffd94">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"n","type":"bar","data":[{"x":"Africa","y":964124},{"x":"Asia","y":1353541},{"x":"Europe","y":130065},{"x":"North America","y":384104},{"x":"Oceania","y":1315},{"x":"South America","y":210425}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"front","yaxis":[{"y":500000,"borderColor":"#000","strokeDashArray":0}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Africa","max":"South America"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-4529181fb72121eba3d7" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4529181fb72121eba3d7">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"n","type":"bar","data":[{"x":"Africa","y":964124},{"x":"Asia","y":1353541},{"x":"Europe","y":130065},{"x":"North America","y":384104},{"x":"Oceania","y":1315},{"x":"South America","y":210425}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"front","yaxis":[{"y":500000,"borderColor":"#000","strokeDashArray":0}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Africa","max":"South America"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># On a scatter chart</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
@ -118,8 +118,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span>
<span class="r-in"> <span class="fu">add_hline</span><span class="op">(</span>value <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="va">cars</span><span class="op">$</span><span class="va">dist</span><span class="op">)</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span>
<span class="r-in"> <span class="fu">add_vline</span><span class="op">(</span>value <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="va">cars</span><span class="op">$</span><span class="va">speed</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-67f2f49aba9758cbb3ab" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-67f2f49aba9758cbb3ab">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"dist","type":"scatter","data":[{"x":4,"y":2},{"x":4,"y":10},{"x":7,"y":4},{"x":7,"y":22},{"x":8,"y":16},{"x":9,"y":10},{"x":10,"y":18},{"x":10,"y":26},{"x":10,"y":34},{"x":11,"y":17},{"x":11,"y":28},{"x":12,"y":14},{"x":12,"y":20},{"x":12,"y":24},{"x":12,"y":28},{"x":13,"y":26},{"x":13,"y":34},{"x":13,"y":34},{"x":13,"y":46},{"x":14,"y":26},{"x":14,"y":36},{"x":14,"y":60},{"x":14,"y":80},{"x":15,"y":20},{"x":15,"y":26},{"x":15,"y":54},{"x":16,"y":32},{"x":16,"y":40},{"x":17,"y":32},{"x":17,"y":40},{"x":17,"y":50},{"x":18,"y":42},{"x":18,"y":56},{"x":18,"y":76},{"x":18,"y":84},{"x":19,"y":36},{"x":19,"y":46},{"x":19,"y":68},{"x":20,"y":32},{"x":20,"y":48},{"x":20,"y":52},{"x":20,"y":56},{"x":20,"y":64},{"x":22,"y":66},{"x":23,"y":54},{"x":24,"y":70},{"x":24,"y":92},{"x":24,"y":93},{"x":24,"y":120},{"x":25,"y":85}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":0,"max":25,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":0,"max":120,"tickAmount":6,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","yaxis":[{"y":42.98,"borderColor":"#000","strokeDashArray":0}],"xaxis":[{"x":15.4,"borderColor":"#000","strokeDashArray":0}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4,"max":25},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-e701c6175a858d73b42a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e701c6175a858d73b42a">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"dist","type":"scatter","data":[{"x":4,"y":2},{"x":4,"y":10},{"x":7,"y":4},{"x":7,"y":22},{"x":8,"y":16},{"x":9,"y":10},{"x":10,"y":18},{"x":10,"y":26},{"x":10,"y":34},{"x":11,"y":17},{"x":11,"y":28},{"x":12,"y":14},{"x":12,"y":20},{"x":12,"y":24},{"x":12,"y":28},{"x":13,"y":26},{"x":13,"y":34},{"x":13,"y":34},{"x":13,"y":46},{"x":14,"y":26},{"x":14,"y":36},{"x":14,"y":60},{"x":14,"y":80},{"x":15,"y":20},{"x":15,"y":26},{"x":15,"y":54},{"x":16,"y":32},{"x":16,"y":40},{"x":17,"y":32},{"x":17,"y":40},{"x":17,"y":50},{"x":18,"y":42},{"x":18,"y":56},{"x":18,"y":76},{"x":18,"y":84},{"x":19,"y":36},{"x":19,"y":46},{"x":19,"y":68},{"x":20,"y":32},{"x":20,"y":48},{"x":20,"y":52},{"x":20,"y":56},{"x":20,"y":64},{"x":22,"y":66},{"x":23,"y":54},{"x":24,"y":70},{"x":24,"y":92},{"x":24,"y":93},{"x":24,"y":120},{"x":25,"y":85}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":0,"max":25,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":0,"max":120,"tickAmount":6,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","yaxis":[{"y":42.98,"borderColor":"#000","strokeDashArray":0}],"xaxis":[{"x":15.4,"borderColor":"#000","strokeDashArray":0}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4,"max":25},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># With labels</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">cars</span>,</span>
@ -137,8 +137,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"> borderColor <span class="op">=</span> <span class="st">"red"</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-f410f306eb9398add7e5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f410f306eb9398add7e5">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"dist","type":"scatter","data":[{"x":4,"y":2},{"x":4,"y":10},{"x":7,"y":4},{"x":7,"y":22},{"x":8,"y":16},{"x":9,"y":10},{"x":10,"y":18},{"x":10,"y":26},{"x":10,"y":34},{"x":11,"y":17},{"x":11,"y":28},{"x":12,"y":14},{"x":12,"y":20},{"x":12,"y":24},{"x":12,"y":28},{"x":13,"y":26},{"x":13,"y":34},{"x":13,"y":34},{"x":13,"y":46},{"x":14,"y":26},{"x":14,"y":36},{"x":14,"y":60},{"x":14,"y":80},{"x":15,"y":20},{"x":15,"y":26},{"x":15,"y":54},{"x":16,"y":32},{"x":16,"y":40},{"x":17,"y":32},{"x":17,"y":40},{"x":17,"y":50},{"x":18,"y":42},{"x":18,"y":56},{"x":18,"y":76},{"x":18,"y":84},{"x":19,"y":36},{"x":19,"y":46},{"x":19,"y":68},{"x":20,"y":32},{"x":20,"y":48},{"x":20,"y":52},{"x":20,"y":56},{"x":20,"y":64},{"x":22,"y":66},{"x":23,"y":54},{"x":24,"y":70},{"x":24,"y":92},{"x":24,"y":93},{"x":24,"y":120},{"x":25,"y":85}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":0,"max":25,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":0,"max":120,"tickAmount":6,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","yaxis":[{"y":42.98,"borderColor":"#000","strokeDashArray":0,"label":{"text":"Mean of dist"}}],"xaxis":[{"x":15.4,"borderColor":"#000","strokeDashArray":0,"label":{"borderColor":"red","text":"Mean of speed","style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4,"max":25},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-8a16a2435b375f82326c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8a16a2435b375f82326c">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"dist","type":"scatter","data":[{"x":4,"y":2},{"x":4,"y":10},{"x":7,"y":4},{"x":7,"y":22},{"x":8,"y":16},{"x":9,"y":10},{"x":10,"y":18},{"x":10,"y":26},{"x":10,"y":34},{"x":11,"y":17},{"x":11,"y":28},{"x":12,"y":14},{"x":12,"y":20},{"x":12,"y":24},{"x":12,"y":28},{"x":13,"y":26},{"x":13,"y":34},{"x":13,"y":34},{"x":13,"y":46},{"x":14,"y":26},{"x":14,"y":36},{"x":14,"y":60},{"x":14,"y":80},{"x":15,"y":20},{"x":15,"y":26},{"x":15,"y":54},{"x":16,"y":32},{"x":16,"y":40},{"x":17,"y":32},{"x":17,"y":40},{"x":17,"y":50},{"x":18,"y":42},{"x":18,"y":56},{"x":18,"y":76},{"x":18,"y":84},{"x":19,"y":36},{"x":19,"y":46},{"x":19,"y":68},{"x":20,"y":32},{"x":20,"y":48},{"x":20,"y":52},{"x":20,"y":56},{"x":20,"y":64},{"x":22,"y":66},{"x":23,"y":54},{"x":24,"y":70},{"x":24,"y":92},{"x":24,"y":93},{"x":24,"y":120},{"x":25,"y":85}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":0,"max":25,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":0,"max":120,"tickAmount":6,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","yaxis":[{"y":42.98,"borderColor":"#000","strokeDashArray":0,"label":{"text":"Mean of dist"}}],"xaxis":[{"x":15.4,"borderColor":"#000","strokeDashArray":0,"label":{"borderColor":"red","text":"Mean of speed","style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4,"max":25},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -104,27 +104,27 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span class="co"># specify from and to date</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span><span class="va">consumption</span>, <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">date</span>, <span class="va">value</span>, group <span class="op">=</span> <span class="va">type</span><span class="op">)</span>, <span class="st">"spline"</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">add_event</span><span class="op">(</span>when <span class="op">=</span> <span class="st">"2020-01-11"</span><span class="op">)</span></span>
<div id="htmlwidget-1b238acaa26327e941aa" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-1b238acaa26327e941aa">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-57a52139a2c2a86383c6" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-57a52139a2c2a86383c6">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># several events</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span><span class="va">consumption</span>, <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">date</span>, <span class="va">value</span>, group <span class="op">=</span> <span class="va">type</span><span class="op">)</span>, <span class="st">"spline"</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">add_event</span><span class="op">(</span>when <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"2020-01-11"</span>, <span class="st">"2020-01-29"</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-9d4dfaf3d24c6125b5f5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9d4dfaf3d24c6125b5f5">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4},{"x":"new Date('2020-01-29').getTime()","borderColor":"#E41A1C","strokeDashArray":4}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.1.x"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-a85857d44358bd11c50c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a85857d44358bd11c50c">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4},{"x":"new Date('2020-01-29').getTime()","borderColor":"#E41A1C","strokeDashArray":4}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.1.x"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Add labels on events</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span><span class="va">consumption</span>, <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">date</span>, <span class="va">value</span>, group <span class="op">=</span> <span class="va">type</span><span class="op">)</span>, <span class="st">"spline"</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">add_event</span><span class="op">(</span></span>
<span class="r-in"> when <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"2020-01-11"</span>, <span class="st">"2020-01-29"</span><span class="op">)</span>,</span>
<span class="r-in"> label <span class="op">=</span> <span class="fu"><a href="label.html">label</a></span><span class="op">(</span>text <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"Am"</span>, <span class="st">"Ar"</span><span class="op">)</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-9105a494fa9ae1c9df13" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9105a494fa9ae1c9df13">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4,"label":{"text":"Am","style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}},{"x":"new Date('2020-01-29').getTime()","borderColor":"#E41A1C","strokeDashArray":4,"label":{"text":"Ar","style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.1.x"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-817e26bcac3c2650c81a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-817e26bcac3c2650c81a">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4,"label":{"text":"Am","style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}},{"x":"new Date('2020-01-29').getTime()","borderColor":"#E41A1C","strokeDashArray":4,"label":{"text":"Ar","style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.1.x"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># can be combined with shade</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span><span class="va">consumption</span>, <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">date</span>, <span class="va">value</span>, group <span class="op">=</span> <span class="va">type</span><span class="op">)</span>, <span class="st">"spline"</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu"><a href="add-shade.html">add_shade</a></span><span class="op">(</span>from <span class="op">=</span> <span class="st">"2020-01-06"</span>, to <span class="op">=</span> <span class="st">"2020-01-20"</span><span class="op">)</span><span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">add_event</span><span class="op">(</span>when <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"2020-01-11"</span>, <span class="st">"2020-01-29"</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-2a7676b11c56f405548d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2a7676b11c56f405548d">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4},{"x":"new Date('2020-01-29').getTime()","borderColor":"#E41A1C","strokeDashArray":4},{"x":"new Date('2020-01-06').getTime()","x2":"new Date('2020-01-20').getTime()","fillColor":"#848484","opacity":0.2}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.1.x","ax_opts.annotations.xaxis.2.x","ax_opts.annotations.xaxis.2.x2"],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-9418e2dd42d3e284fe35" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9418e2dd42d3e284fe35">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"Realised","type":"line","data":[[1577836800000,1445],[1577923200000,1545],[1578009600000,1501],[1578096000000,1444],[1578182400000,1443],[1578268800000,1659],[1578355200000,1631],[1578441600000,1558],[1578528000000,1510],[1578614400000,1545],[1578700800000,1478],[1578787200000,1453],[1578873600000,1614],[1578960000000,1594],[1579046400000,1565],[1579132800000,1543],[1579219200000,1539],[1579305600000,1498],[1579392000000,1520],[1579478400000,1744],[1579564800000,1792],[1579651200000,1805],[1579737600000,1798],[1579824000000,1760],[1579910400000,1593],[1579996800000,1469],[1580083200000,1616],[1580169600000,1637],[1580256000000,1619],[1580342400000,1594],[1580428800000,1462],[1580515200000,1314],[1580601600000,1247],[1580688000000,1385],[1580774400000,1511],[1580860800000,1588],[1580947200000,1636],[1581033600000,1628],[1581120000000,1430],[1581206400000,1352],[1581292800000,1470],[1581379200000,1534],[1581465600000,1572],[1581552000000,1597],[1581638400000,1512],[1581724800000,1361],[1581811200000,1258],[1581897600000,1448],[1581984000000,1523],[1582070400000,1547],[1582156800000,1521],[1582243200000,1535],[1582329600000,1387],[1582416000000,1276],[1582502400000,1403],[1582588800000,1464],[1582675200000,1591],[1582761600000,1631],[1582848000000,1601],[1582934400000,1400]]},{"name":"Forecast D-1","type":"line","data":[[1577836800000,1481],[1577923200000,1577],[1578009600000,1553],[1578096000000,1463],[1578182400000,1459],[1578268800000,1681],[1578355200000,1652],[1578441600000,1569],[1578528000000,1512],[1578614400000,1520],[1578700800000,1467],[1578787200000,1457],[1578873600000,1630],[1578960000000,1603],[1579046400000,1563],[1579132800000,1570],[1579219200000,1545],[1579305600000,1490],[1579392000000,1520],[1579478400000,1754],[1579564800000,1814],[1579651200000,1804],[1579737600000,1786],[1579824000000,1756],[1579910400000,1614],[1579996800000,1516],[1580083200000,1644],[1580169600000,1645],[1580256000000,1629],[1580342400000,1617],[1580428800000,1489],[1580515200000,1305],[1580601600000,1226],[1580688000000,1421],[1580774400000,1501],[1580860800000,1589],[1580947200000,1650],[1581033600000,1648],[1581120000000,1474],[1581206400000,1326],[1581292800000,1477],[1581379200000,1527],[1581465600000,1601],[1581552000000,1576],[1581638400000,1518],[1581724800000,1358],[1581811200000,1235],[1581897600000,1459],[1581984000000,1542],[1582070400000,1568],[1582156800000,1540],[1582243200000,1528],[1582329600000,1391],[1582416000000,1282],[1582502400000,1437],[1582588800000,1487],[1582675200000,1553],[1582761600000,1598],[1582848000000,1611],[1582934400000,1391]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"smooth","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"position":"back","xaxis":[{"x":"new Date('2020-01-11').getTime()","borderColor":"#E41A1C","strokeDashArray":4},{"x":"new Date('2020-01-29').getTime()","borderColor":"#E41A1C","strokeDashArray":4},{"x":"new Date('2020-01-06').getTime()","x2":"new Date('2020-01-20').getTime()","fillColor":"#848484","opacity":0.2}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2020-01-01","max":"2020-02-29"},"type":"spline"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.1.x","ax_opts.annotations.xaxis.2.x","ax_opts.annotations.xaxis.2.x2"],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long

View File

@ -131,8 +131,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"> x <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="va">iris</span><span class="op">$</span><span class="va">Sepal.Length</span><span class="op">)</span>,</span>
<span class="r-in"> y <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="va">iris</span><span class="op">$</span><span class="va">Sepal.Width</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-f2090e75730b7dbdfa98" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f2090e75730b7dbdfa98">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"Sepal.Width","type":"scatter","data":[{"x":5.1,"y":3.5},{"x":4.9,"y":3},{"x":4.7,"y":3.2},{"x":4.6,"y":3.1},{"x":5,"y":3.6},{"x":5.4,"y":3.9},{"x":4.6,"y":3.4},{"x":5,"y":3.4},{"x":4.4,"y":2.9},{"x":4.9,"y":3.1},{"x":5.4,"y":3.7},{"x":4.8,"y":3.4},{"x":4.8,"y":3},{"x":4.3,"y":3},{"x":5.8,"y":4},{"x":5.7,"y":4.4},{"x":5.4,"y":3.9},{"x":5.1,"y":3.5},{"x":5.7,"y":3.8},{"x":5.1,"y":3.8},{"x":5.4,"y":3.4},{"x":5.1,"y":3.7},{"x":4.6,"y":3.6},{"x":5.1,"y":3.3},{"x":4.8,"y":3.4},{"x":5,"y":3},{"x":5,"y":3.4},{"x":5.2,"y":3.5},{"x":5.2,"y":3.4},{"x":4.7,"y":3.2},{"x":4.8,"y":3.1},{"x":5.4,"y":3.4},{"x":5.2,"y":4.1},{"x":5.5,"y":4.2},{"x":4.9,"y":3.1},{"x":5,"y":3.2},{"x":5.5,"y":3.5},{"x":4.9,"y":3.6},{"x":4.4,"y":3},{"x":5.1,"y":3.4},{"x":5,"y":3.5},{"x":4.5,"y":2.3},{"x":4.4,"y":3.2},{"x":5,"y":3.5},{"x":5.1,"y":3.8},{"x":4.8,"y":3},{"x":5.1,"y":3.8},{"x":4.6,"y":3.2},{"x":5.3,"y":3.7},{"x":5,"y":3.3},{"x":7,"y":3.2},{"x":6.4,"y":3.2},{"x":6.9,"y":3.1},{"x":5.5,"y":2.3},{"x":6.5,"y":2.8},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":4.9,"y":2.4},{"x":6.6,"y":2.9},{"x":5.2,"y":2.7},{"x":5,"y":2},{"x":5.9,"y":3},{"x":6,"y":2.2},{"x":6.1,"y":2.9},{"x":5.6,"y":2.9},{"x":6.7,"y":3.1},{"x":5.6,"y":3},{"x":5.8,"y":2.7},{"x":6.2,"y":2.2},{"x":5.6,"y":2.5},{"x":5.9,"y":3.2},{"x":6.1,"y":2.8},{"x":6.3,"y":2.5},{"x":6.1,"y":2.8},{"x":6.4,"y":2.9},{"x":6.6,"y":3},{"x":6.8,"y":2.8},{"x":6.7,"y":3},{"x":6,"y":2.9},{"x":5.7,"y":2.6},{"x":5.5,"y":2.4},{"x":5.5,"y":2.4},{"x":5.8,"y":2.7},{"x":6,"y":2.7},{"x":5.4,"y":3},{"x":6,"y":3.4},{"x":6.7,"y":3.1},{"x":6.3,"y":2.3},{"x":5.6,"y":3},{"x":5.5,"y":2.5},{"x":5.5,"y":2.6},{"x":6.1,"y":3},{"x":5.8,"y":2.6},{"x":5,"y":2.3},{"x":5.6,"y":2.7},{"x":5.7,"y":3},{"x":5.7,"y":2.9},{"x":6.2,"y":2.9},{"x":5.1,"y":2.5},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":5.8,"y":2.7},{"x":7.1,"y":3},{"x":6.3,"y":2.9},{"x":6.5,"y":3},{"x":7.6,"y":3},{"x":4.9,"y":2.5},{"x":7.3,"y":2.9},{"x":6.7,"y":2.5},{"x":7.2,"y":3.6},{"x":6.5,"y":3.2},{"x":6.4,"y":2.7},{"x":6.8,"y":3},{"x":5.7,"y":2.5},{"x":5.8,"y":2.8},{"x":6.4,"y":3.2},{"x":6.5,"y":3},{"x":7.7,"y":3.8},{"x":7.7,"y":2.6},{"x":6,"y":2.2},{"x":6.9,"y":3.2},{"x":5.6,"y":2.8},{"x":7.7,"y":2.8},{"x":6.3,"y":2.7},{"x":6.7,"y":3.3},{"x":7.2,"y":3.2},{"x":6.2,"y":2.8},{"x":6.1,"y":3},{"x":6.4,"y":2.8},{"x":7.2,"y":3},{"x":7.4,"y":2.8},{"x":7.9,"y":3.8},{"x":6.4,"y":2.8},{"x":6.3,"y":2.8},{"x":6.1,"y":2.6},{"x":7.7,"y":3},{"x":6.3,"y":3.4},{"x":6.4,"y":3.1},{"x":6,"y":3},{"x":6.9,"y":3.1},{"x":6.7,"y":3.1},{"x":6.9,"y":3.1},{"x":5.8,"y":2.7},{"x":6.8,"y":3.2},{"x":6.7,"y":3.3},{"x":6.7,"y":3},{"x":6.3,"y":2.5},{"x":6.5,"y":3},{"x":6.2,"y":3.4},{"x":5.9,"y":3}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":4,"max":8,"tickAmount":4,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":2,"max":4.5,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","points":[{"x":5.84333333333333,"y":3.05733333333333,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4.3,"max":7.9},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-febb5bbc8abc9e79aafe" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-febb5bbc8abc9e79aafe">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"Sepal.Width","type":"scatter","data":[{"x":5.1,"y":3.5},{"x":4.9,"y":3},{"x":4.7,"y":3.2},{"x":4.6,"y":3.1},{"x":5,"y":3.6},{"x":5.4,"y":3.9},{"x":4.6,"y":3.4},{"x":5,"y":3.4},{"x":4.4,"y":2.9},{"x":4.9,"y":3.1},{"x":5.4,"y":3.7},{"x":4.8,"y":3.4},{"x":4.8,"y":3},{"x":4.3,"y":3},{"x":5.8,"y":4},{"x":5.7,"y":4.4},{"x":5.4,"y":3.9},{"x":5.1,"y":3.5},{"x":5.7,"y":3.8},{"x":5.1,"y":3.8},{"x":5.4,"y":3.4},{"x":5.1,"y":3.7},{"x":4.6,"y":3.6},{"x":5.1,"y":3.3},{"x":4.8,"y":3.4},{"x":5,"y":3},{"x":5,"y":3.4},{"x":5.2,"y":3.5},{"x":5.2,"y":3.4},{"x":4.7,"y":3.2},{"x":4.8,"y":3.1},{"x":5.4,"y":3.4},{"x":5.2,"y":4.1},{"x":5.5,"y":4.2},{"x":4.9,"y":3.1},{"x":5,"y":3.2},{"x":5.5,"y":3.5},{"x":4.9,"y":3.6},{"x":4.4,"y":3},{"x":5.1,"y":3.4},{"x":5,"y":3.5},{"x":4.5,"y":2.3},{"x":4.4,"y":3.2},{"x":5,"y":3.5},{"x":5.1,"y":3.8},{"x":4.8,"y":3},{"x":5.1,"y":3.8},{"x":4.6,"y":3.2},{"x":5.3,"y":3.7},{"x":5,"y":3.3},{"x":7,"y":3.2},{"x":6.4,"y":3.2},{"x":6.9,"y":3.1},{"x":5.5,"y":2.3},{"x":6.5,"y":2.8},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":4.9,"y":2.4},{"x":6.6,"y":2.9},{"x":5.2,"y":2.7},{"x":5,"y":2},{"x":5.9,"y":3},{"x":6,"y":2.2},{"x":6.1,"y":2.9},{"x":5.6,"y":2.9},{"x":6.7,"y":3.1},{"x":5.6,"y":3},{"x":5.8,"y":2.7},{"x":6.2,"y":2.2},{"x":5.6,"y":2.5},{"x":5.9,"y":3.2},{"x":6.1,"y":2.8},{"x":6.3,"y":2.5},{"x":6.1,"y":2.8},{"x":6.4,"y":2.9},{"x":6.6,"y":3},{"x":6.8,"y":2.8},{"x":6.7,"y":3},{"x":6,"y":2.9},{"x":5.7,"y":2.6},{"x":5.5,"y":2.4},{"x":5.5,"y":2.4},{"x":5.8,"y":2.7},{"x":6,"y":2.7},{"x":5.4,"y":3},{"x":6,"y":3.4},{"x":6.7,"y":3.1},{"x":6.3,"y":2.3},{"x":5.6,"y":3},{"x":5.5,"y":2.5},{"x":5.5,"y":2.6},{"x":6.1,"y":3},{"x":5.8,"y":2.6},{"x":5,"y":2.3},{"x":5.6,"y":2.7},{"x":5.7,"y":3},{"x":5.7,"y":2.9},{"x":6.2,"y":2.9},{"x":5.1,"y":2.5},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":5.8,"y":2.7},{"x":7.1,"y":3},{"x":6.3,"y":2.9},{"x":6.5,"y":3},{"x":7.6,"y":3},{"x":4.9,"y":2.5},{"x":7.3,"y":2.9},{"x":6.7,"y":2.5},{"x":7.2,"y":3.6},{"x":6.5,"y":3.2},{"x":6.4,"y":2.7},{"x":6.8,"y":3},{"x":5.7,"y":2.5},{"x":5.8,"y":2.8},{"x":6.4,"y":3.2},{"x":6.5,"y":3},{"x":7.7,"y":3.8},{"x":7.7,"y":2.6},{"x":6,"y":2.2},{"x":6.9,"y":3.2},{"x":5.6,"y":2.8},{"x":7.7,"y":2.8},{"x":6.3,"y":2.7},{"x":6.7,"y":3.3},{"x":7.2,"y":3.2},{"x":6.2,"y":2.8},{"x":6.1,"y":3},{"x":6.4,"y":2.8},{"x":7.2,"y":3},{"x":7.4,"y":2.8},{"x":7.9,"y":3.8},{"x":6.4,"y":2.8},{"x":6.3,"y":2.8},{"x":6.1,"y":2.6},{"x":7.7,"y":3},{"x":6.3,"y":3.4},{"x":6.4,"y":3.1},{"x":6,"y":3},{"x":6.9,"y":3.1},{"x":6.7,"y":3.1},{"x":6.9,"y":3.1},{"x":5.8,"y":2.7},{"x":6.8,"y":3.2},{"x":6.7,"y":3.3},{"x":6.7,"y":3},{"x":6.3,"y":2.5},{"x":6.5,"y":3},{"x":6.2,"y":3.4},{"x":5.9,"y":3}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":4,"max":8,"tickAmount":4,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":2,"max":4.5,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","points":[{"x":5.84333333333333,"y":3.05733333333333,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4.3,"max":7.9},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Some options</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">iris</span>,</span>
@ -147,8 +147,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"> size <span class="op">=</span> <span class="fl">8</span>,</span>
<span class="r-in"> label <span class="op">=</span> <span class="fu"><a href="label.html">label</a></span><span class="op">(</span>text <span class="op">=</span> <span class="st">"Mean"</span>, offsetY <span class="op">=</span> <span class="fl">0</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-45f90e276fbfe8b6e6da" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-45f90e276fbfe8b6e6da">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"Sepal.Width","type":"scatter","data":[{"x":5.1,"y":3.5},{"x":4.9,"y":3},{"x":4.7,"y":3.2},{"x":4.6,"y":3.1},{"x":5,"y":3.6},{"x":5.4,"y":3.9},{"x":4.6,"y":3.4},{"x":5,"y":3.4},{"x":4.4,"y":2.9},{"x":4.9,"y":3.1},{"x":5.4,"y":3.7},{"x":4.8,"y":3.4},{"x":4.8,"y":3},{"x":4.3,"y":3},{"x":5.8,"y":4},{"x":5.7,"y":4.4},{"x":5.4,"y":3.9},{"x":5.1,"y":3.5},{"x":5.7,"y":3.8},{"x":5.1,"y":3.8},{"x":5.4,"y":3.4},{"x":5.1,"y":3.7},{"x":4.6,"y":3.6},{"x":5.1,"y":3.3},{"x":4.8,"y":3.4},{"x":5,"y":3},{"x":5,"y":3.4},{"x":5.2,"y":3.5},{"x":5.2,"y":3.4},{"x":4.7,"y":3.2},{"x":4.8,"y":3.1},{"x":5.4,"y":3.4},{"x":5.2,"y":4.1},{"x":5.5,"y":4.2},{"x":4.9,"y":3.1},{"x":5,"y":3.2},{"x":5.5,"y":3.5},{"x":4.9,"y":3.6},{"x":4.4,"y":3},{"x":5.1,"y":3.4},{"x":5,"y":3.5},{"x":4.5,"y":2.3},{"x":4.4,"y":3.2},{"x":5,"y":3.5},{"x":5.1,"y":3.8},{"x":4.8,"y":3},{"x":5.1,"y":3.8},{"x":4.6,"y":3.2},{"x":5.3,"y":3.7},{"x":5,"y":3.3},{"x":7,"y":3.2},{"x":6.4,"y":3.2},{"x":6.9,"y":3.1},{"x":5.5,"y":2.3},{"x":6.5,"y":2.8},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":4.9,"y":2.4},{"x":6.6,"y":2.9},{"x":5.2,"y":2.7},{"x":5,"y":2},{"x":5.9,"y":3},{"x":6,"y":2.2},{"x":6.1,"y":2.9},{"x":5.6,"y":2.9},{"x":6.7,"y":3.1},{"x":5.6,"y":3},{"x":5.8,"y":2.7},{"x":6.2,"y":2.2},{"x":5.6,"y":2.5},{"x":5.9,"y":3.2},{"x":6.1,"y":2.8},{"x":6.3,"y":2.5},{"x":6.1,"y":2.8},{"x":6.4,"y":2.9},{"x":6.6,"y":3},{"x":6.8,"y":2.8},{"x":6.7,"y":3},{"x":6,"y":2.9},{"x":5.7,"y":2.6},{"x":5.5,"y":2.4},{"x":5.5,"y":2.4},{"x":5.8,"y":2.7},{"x":6,"y":2.7},{"x":5.4,"y":3},{"x":6,"y":3.4},{"x":6.7,"y":3.1},{"x":6.3,"y":2.3},{"x":5.6,"y":3},{"x":5.5,"y":2.5},{"x":5.5,"y":2.6},{"x":6.1,"y":3},{"x":5.8,"y":2.6},{"x":5,"y":2.3},{"x":5.6,"y":2.7},{"x":5.7,"y":3},{"x":5.7,"y":2.9},{"x":6.2,"y":2.9},{"x":5.1,"y":2.5},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":5.8,"y":2.7},{"x":7.1,"y":3},{"x":6.3,"y":2.9},{"x":6.5,"y":3},{"x":7.6,"y":3},{"x":4.9,"y":2.5},{"x":7.3,"y":2.9},{"x":6.7,"y":2.5},{"x":7.2,"y":3.6},{"x":6.5,"y":3.2},{"x":6.4,"y":2.7},{"x":6.8,"y":3},{"x":5.7,"y":2.5},{"x":5.8,"y":2.8},{"x":6.4,"y":3.2},{"x":6.5,"y":3},{"x":7.7,"y":3.8},{"x":7.7,"y":2.6},{"x":6,"y":2.2},{"x":6.9,"y":3.2},{"x":5.6,"y":2.8},{"x":7.7,"y":2.8},{"x":6.3,"y":2.7},{"x":6.7,"y":3.3},{"x":7.2,"y":3.2},{"x":6.2,"y":2.8},{"x":6.1,"y":3},{"x":6.4,"y":2.8},{"x":7.2,"y":3},{"x":7.4,"y":2.8},{"x":7.9,"y":3.8},{"x":6.4,"y":2.8},{"x":6.3,"y":2.8},{"x":6.1,"y":2.6},{"x":7.7,"y":3},{"x":6.3,"y":3.4},{"x":6.4,"y":3.1},{"x":6,"y":3},{"x":6.9,"y":3.1},{"x":6.7,"y":3.1},{"x":6.9,"y":3.1},{"x":5.8,"y":2.7},{"x":6.8,"y":3.2},{"x":6.7,"y":3.3},{"x":6.7,"y":3},{"x":6.3,"y":2.5},{"x":6.5,"y":3},{"x":6.2,"y":3.4},{"x":5.9,"y":3}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":4,"max":8,"tickAmount":4,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":2,"max":4.5,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","points":[{"x":5.84333333333333,"y":3.05733333333333,"marker":{"size":8,"fillColor":"firebrick","strokeColor":"firebrick","strokeWidth":2,"shape":"circle","radius":2},"label":{"text":"Mean","offsetY":0,"style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4.3,"max":7.9},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-517f8e08e612eafa7f66" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-517f8e08e612eafa7f66">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"Sepal.Width","type":"scatter","data":[{"x":5.1,"y":3.5},{"x":4.9,"y":3},{"x":4.7,"y":3.2},{"x":4.6,"y":3.1},{"x":5,"y":3.6},{"x":5.4,"y":3.9},{"x":4.6,"y":3.4},{"x":5,"y":3.4},{"x":4.4,"y":2.9},{"x":4.9,"y":3.1},{"x":5.4,"y":3.7},{"x":4.8,"y":3.4},{"x":4.8,"y":3},{"x":4.3,"y":3},{"x":5.8,"y":4},{"x":5.7,"y":4.4},{"x":5.4,"y":3.9},{"x":5.1,"y":3.5},{"x":5.7,"y":3.8},{"x":5.1,"y":3.8},{"x":5.4,"y":3.4},{"x":5.1,"y":3.7},{"x":4.6,"y":3.6},{"x":5.1,"y":3.3},{"x":4.8,"y":3.4},{"x":5,"y":3},{"x":5,"y":3.4},{"x":5.2,"y":3.5},{"x":5.2,"y":3.4},{"x":4.7,"y":3.2},{"x":4.8,"y":3.1},{"x":5.4,"y":3.4},{"x":5.2,"y":4.1},{"x":5.5,"y":4.2},{"x":4.9,"y":3.1},{"x":5,"y":3.2},{"x":5.5,"y":3.5},{"x":4.9,"y":3.6},{"x":4.4,"y":3},{"x":5.1,"y":3.4},{"x":5,"y":3.5},{"x":4.5,"y":2.3},{"x":4.4,"y":3.2},{"x":5,"y":3.5},{"x":5.1,"y":3.8},{"x":4.8,"y":3},{"x":5.1,"y":3.8},{"x":4.6,"y":3.2},{"x":5.3,"y":3.7},{"x":5,"y":3.3},{"x":7,"y":3.2},{"x":6.4,"y":3.2},{"x":6.9,"y":3.1},{"x":5.5,"y":2.3},{"x":6.5,"y":2.8},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":4.9,"y":2.4},{"x":6.6,"y":2.9},{"x":5.2,"y":2.7},{"x":5,"y":2},{"x":5.9,"y":3},{"x":6,"y":2.2},{"x":6.1,"y":2.9},{"x":5.6,"y":2.9},{"x":6.7,"y":3.1},{"x":5.6,"y":3},{"x":5.8,"y":2.7},{"x":6.2,"y":2.2},{"x":5.6,"y":2.5},{"x":5.9,"y":3.2},{"x":6.1,"y":2.8},{"x":6.3,"y":2.5},{"x":6.1,"y":2.8},{"x":6.4,"y":2.9},{"x":6.6,"y":3},{"x":6.8,"y":2.8},{"x":6.7,"y":3},{"x":6,"y":2.9},{"x":5.7,"y":2.6},{"x":5.5,"y":2.4},{"x":5.5,"y":2.4},{"x":5.8,"y":2.7},{"x":6,"y":2.7},{"x":5.4,"y":3},{"x":6,"y":3.4},{"x":6.7,"y":3.1},{"x":6.3,"y":2.3},{"x":5.6,"y":3},{"x":5.5,"y":2.5},{"x":5.5,"y":2.6},{"x":6.1,"y":3},{"x":5.8,"y":2.6},{"x":5,"y":2.3},{"x":5.6,"y":2.7},{"x":5.7,"y":3},{"x":5.7,"y":2.9},{"x":6.2,"y":2.9},{"x":5.1,"y":2.5},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":5.8,"y":2.7},{"x":7.1,"y":3},{"x":6.3,"y":2.9},{"x":6.5,"y":3},{"x":7.6,"y":3},{"x":4.9,"y":2.5},{"x":7.3,"y":2.9},{"x":6.7,"y":2.5},{"x":7.2,"y":3.6},{"x":6.5,"y":3.2},{"x":6.4,"y":2.7},{"x":6.8,"y":3},{"x":5.7,"y":2.5},{"x":5.8,"y":2.8},{"x":6.4,"y":3.2},{"x":6.5,"y":3},{"x":7.7,"y":3.8},{"x":7.7,"y":2.6},{"x":6,"y":2.2},{"x":6.9,"y":3.2},{"x":5.6,"y":2.8},{"x":7.7,"y":2.8},{"x":6.3,"y":2.7},{"x":6.7,"y":3.3},{"x":7.2,"y":3.2},{"x":6.2,"y":2.8},{"x":6.1,"y":3},{"x":6.4,"y":2.8},{"x":7.2,"y":3},{"x":7.4,"y":2.8},{"x":7.9,"y":3.8},{"x":6.4,"y":2.8},{"x":6.3,"y":2.8},{"x":6.1,"y":2.6},{"x":7.7,"y":3},{"x":6.3,"y":3.4},{"x":6.4,"y":3.1},{"x":6,"y":3},{"x":6.9,"y":3.1},{"x":6.7,"y":3.1},{"x":6.9,"y":3.1},{"x":5.8,"y":2.7},{"x":6.8,"y":3.2},{"x":6.7,"y":3.3},{"x":6.7,"y":3},{"x":6.3,"y":2.5},{"x":6.5,"y":3},{"x":6.2,"y":3.4},{"x":5.9,"y":3}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":4,"max":8,"tickAmount":4,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":2,"max":4.5,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","points":[{"x":5.84333333333333,"y":3.05733333333333,"marker":{"size":8,"fillColor":"firebrick","strokeColor":"firebrick","strokeWidth":2,"shape":"circle","radius":2},"label":{"text":"Mean","offsetY":0,"style":{"padding":{"top":2,"right":5,"bottom":2,"left":5}}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4.3,"max":7.9},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Several points</span></span>
<span class="r-in"><span class="va">clusters</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/stats/kmeans.html" class="external-link">kmeans</a></span><span class="op">(</span><span class="va">iris</span><span class="op">[</span>, <span class="fl">1</span><span class="op">:</span><span class="fl">2</span><span class="op">]</span>, <span class="fl">3</span><span class="op">)</span></span>
@ -161,8 +161,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"> x <span class="op">=</span> <span class="va">clusters</span><span class="op">$</span><span class="va">centers</span><span class="op">[</span>, <span class="fl">1</span><span class="op">]</span>,</span>
<span class="r-in"> y <span class="op">=</span> <span class="va">clusters</span><span class="op">$</span><span class="va">centers</span><span class="op">[</span>, <span class="fl">2</span><span class="op">]</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-7974fb5ec7e7f620bcf9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7974fb5ec7e7f620bcf9">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"Sepal.Width","type":"scatter","data":[{"x":5.1,"y":3.5},{"x":4.9,"y":3},{"x":4.7,"y":3.2},{"x":4.6,"y":3.1},{"x":5,"y":3.6},{"x":5.4,"y":3.9},{"x":4.6,"y":3.4},{"x":5,"y":3.4},{"x":4.4,"y":2.9},{"x":4.9,"y":3.1},{"x":5.4,"y":3.7},{"x":4.8,"y":3.4},{"x":4.8,"y":3},{"x":4.3,"y":3},{"x":5.8,"y":4},{"x":5.7,"y":4.4},{"x":5.4,"y":3.9},{"x":5.1,"y":3.5},{"x":5.7,"y":3.8},{"x":5.1,"y":3.8},{"x":5.4,"y":3.4},{"x":5.1,"y":3.7},{"x":4.6,"y":3.6},{"x":5.1,"y":3.3},{"x":4.8,"y":3.4},{"x":5,"y":3},{"x":5,"y":3.4},{"x":5.2,"y":3.5},{"x":5.2,"y":3.4},{"x":4.7,"y":3.2},{"x":4.8,"y":3.1},{"x":5.4,"y":3.4},{"x":5.2,"y":4.1},{"x":5.5,"y":4.2},{"x":4.9,"y":3.1},{"x":5,"y":3.2},{"x":5.5,"y":3.5},{"x":4.9,"y":3.6},{"x":4.4,"y":3},{"x":5.1,"y":3.4},{"x":5,"y":3.5},{"x":4.5,"y":2.3},{"x":4.4,"y":3.2},{"x":5,"y":3.5},{"x":5.1,"y":3.8},{"x":4.8,"y":3},{"x":5.1,"y":3.8},{"x":4.6,"y":3.2},{"x":5.3,"y":3.7},{"x":5,"y":3.3},{"x":7,"y":3.2},{"x":6.4,"y":3.2},{"x":6.9,"y":3.1},{"x":5.5,"y":2.3},{"x":6.5,"y":2.8},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":4.9,"y":2.4},{"x":6.6,"y":2.9},{"x":5.2,"y":2.7},{"x":5,"y":2},{"x":5.9,"y":3},{"x":6,"y":2.2},{"x":6.1,"y":2.9},{"x":5.6,"y":2.9},{"x":6.7,"y":3.1},{"x":5.6,"y":3},{"x":5.8,"y":2.7},{"x":6.2,"y":2.2},{"x":5.6,"y":2.5},{"x":5.9,"y":3.2},{"x":6.1,"y":2.8},{"x":6.3,"y":2.5},{"x":6.1,"y":2.8},{"x":6.4,"y":2.9},{"x":6.6,"y":3},{"x":6.8,"y":2.8},{"x":6.7,"y":3},{"x":6,"y":2.9},{"x":5.7,"y":2.6},{"x":5.5,"y":2.4},{"x":5.5,"y":2.4},{"x":5.8,"y":2.7},{"x":6,"y":2.7},{"x":5.4,"y":3},{"x":6,"y":3.4},{"x":6.7,"y":3.1},{"x":6.3,"y":2.3},{"x":5.6,"y":3},{"x":5.5,"y":2.5},{"x":5.5,"y":2.6},{"x":6.1,"y":3},{"x":5.8,"y":2.6},{"x":5,"y":2.3},{"x":5.6,"y":2.7},{"x":5.7,"y":3},{"x":5.7,"y":2.9},{"x":6.2,"y":2.9},{"x":5.1,"y":2.5},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":5.8,"y":2.7},{"x":7.1,"y":3},{"x":6.3,"y":2.9},{"x":6.5,"y":3},{"x":7.6,"y":3},{"x":4.9,"y":2.5},{"x":7.3,"y":2.9},{"x":6.7,"y":2.5},{"x":7.2,"y":3.6},{"x":6.5,"y":3.2},{"x":6.4,"y":2.7},{"x":6.8,"y":3},{"x":5.7,"y":2.5},{"x":5.8,"y":2.8},{"x":6.4,"y":3.2},{"x":6.5,"y":3},{"x":7.7,"y":3.8},{"x":7.7,"y":2.6},{"x":6,"y":2.2},{"x":6.9,"y":3.2},{"x":5.6,"y":2.8},{"x":7.7,"y":2.8},{"x":6.3,"y":2.7},{"x":6.7,"y":3.3},{"x":7.2,"y":3.2},{"x":6.2,"y":2.8},{"x":6.1,"y":3},{"x":6.4,"y":2.8},{"x":7.2,"y":3},{"x":7.4,"y":2.8},{"x":7.9,"y":3.8},{"x":6.4,"y":2.8},{"x":6.3,"y":2.8},{"x":6.1,"y":2.6},{"x":7.7,"y":3},{"x":6.3,"y":3.4},{"x":6.4,"y":3.1},{"x":6,"y":3},{"x":6.9,"y":3.1},{"x":6.7,"y":3.1},{"x":6.9,"y":3.1},{"x":5.8,"y":2.7},{"x":6.8,"y":3.2},{"x":6.7,"y":3.3},{"x":6.7,"y":3},{"x":6.3,"y":2.5},{"x":6.5,"y":3},{"x":6.2,"y":3.4},{"x":5.9,"y":3}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":4,"max":8,"tickAmount":4,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":2,"max":4.5,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","points":[{"x":5.77358490566038,"y":2.69245283018868,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}},{"x":5.006,"y":3.428,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}},{"x":6.81276595744681,"y":3.07446808510638,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4.3,"max":7.9},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-7fafa974331f32e810a5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7fafa974331f32e810a5">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"Sepal.Width","type":"scatter","data":[{"x":5.1,"y":3.5},{"x":4.9,"y":3},{"x":4.7,"y":3.2},{"x":4.6,"y":3.1},{"x":5,"y":3.6},{"x":5.4,"y":3.9},{"x":4.6,"y":3.4},{"x":5,"y":3.4},{"x":4.4,"y":2.9},{"x":4.9,"y":3.1},{"x":5.4,"y":3.7},{"x":4.8,"y":3.4},{"x":4.8,"y":3},{"x":4.3,"y":3},{"x":5.8,"y":4},{"x":5.7,"y":4.4},{"x":5.4,"y":3.9},{"x":5.1,"y":3.5},{"x":5.7,"y":3.8},{"x":5.1,"y":3.8},{"x":5.4,"y":3.4},{"x":5.1,"y":3.7},{"x":4.6,"y":3.6},{"x":5.1,"y":3.3},{"x":4.8,"y":3.4},{"x":5,"y":3},{"x":5,"y":3.4},{"x":5.2,"y":3.5},{"x":5.2,"y":3.4},{"x":4.7,"y":3.2},{"x":4.8,"y":3.1},{"x":5.4,"y":3.4},{"x":5.2,"y":4.1},{"x":5.5,"y":4.2},{"x":4.9,"y":3.1},{"x":5,"y":3.2},{"x":5.5,"y":3.5},{"x":4.9,"y":3.6},{"x":4.4,"y":3},{"x":5.1,"y":3.4},{"x":5,"y":3.5},{"x":4.5,"y":2.3},{"x":4.4,"y":3.2},{"x":5,"y":3.5},{"x":5.1,"y":3.8},{"x":4.8,"y":3},{"x":5.1,"y":3.8},{"x":4.6,"y":3.2},{"x":5.3,"y":3.7},{"x":5,"y":3.3},{"x":7,"y":3.2},{"x":6.4,"y":3.2},{"x":6.9,"y":3.1},{"x":5.5,"y":2.3},{"x":6.5,"y":2.8},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":4.9,"y":2.4},{"x":6.6,"y":2.9},{"x":5.2,"y":2.7},{"x":5,"y":2},{"x":5.9,"y":3},{"x":6,"y":2.2},{"x":6.1,"y":2.9},{"x":5.6,"y":2.9},{"x":6.7,"y":3.1},{"x":5.6,"y":3},{"x":5.8,"y":2.7},{"x":6.2,"y":2.2},{"x":5.6,"y":2.5},{"x":5.9,"y":3.2},{"x":6.1,"y":2.8},{"x":6.3,"y":2.5},{"x":6.1,"y":2.8},{"x":6.4,"y":2.9},{"x":6.6,"y":3},{"x":6.8,"y":2.8},{"x":6.7,"y":3},{"x":6,"y":2.9},{"x":5.7,"y":2.6},{"x":5.5,"y":2.4},{"x":5.5,"y":2.4},{"x":5.8,"y":2.7},{"x":6,"y":2.7},{"x":5.4,"y":3},{"x":6,"y":3.4},{"x":6.7,"y":3.1},{"x":6.3,"y":2.3},{"x":5.6,"y":3},{"x":5.5,"y":2.5},{"x":5.5,"y":2.6},{"x":6.1,"y":3},{"x":5.8,"y":2.6},{"x":5,"y":2.3},{"x":5.6,"y":2.7},{"x":5.7,"y":3},{"x":5.7,"y":2.9},{"x":6.2,"y":2.9},{"x":5.1,"y":2.5},{"x":5.7,"y":2.8},{"x":6.3,"y":3.3},{"x":5.8,"y":2.7},{"x":7.1,"y":3},{"x":6.3,"y":2.9},{"x":6.5,"y":3},{"x":7.6,"y":3},{"x":4.9,"y":2.5},{"x":7.3,"y":2.9},{"x":6.7,"y":2.5},{"x":7.2,"y":3.6},{"x":6.5,"y":3.2},{"x":6.4,"y":2.7},{"x":6.8,"y":3},{"x":5.7,"y":2.5},{"x":5.8,"y":2.8},{"x":6.4,"y":3.2},{"x":6.5,"y":3},{"x":7.7,"y":3.8},{"x":7.7,"y":2.6},{"x":6,"y":2.2},{"x":6.9,"y":3.2},{"x":5.6,"y":2.8},{"x":7.7,"y":2.8},{"x":6.3,"y":2.7},{"x":6.7,"y":3.3},{"x":7.2,"y":3.2},{"x":6.2,"y":2.8},{"x":6.1,"y":3},{"x":6.4,"y":2.8},{"x":7.2,"y":3},{"x":7.4,"y":2.8},{"x":7.9,"y":3.8},{"x":6.4,"y":2.8},{"x":6.3,"y":2.8},{"x":6.1,"y":2.6},{"x":7.7,"y":3},{"x":6.3,"y":3.4},{"x":6.4,"y":3.1},{"x":6,"y":3},{"x":6.9,"y":3.1},{"x":6.7,"y":3.1},{"x":6.9,"y":3.1},{"x":5.8,"y":2.7},{"x":6.8,"y":3.2},{"x":6.7,"y":3.3},{"x":6.7,"y":3},{"x":6.3,"y":2.5},{"x":6.5,"y":3},{"x":6.2,"y":3.4},{"x":5.9,"y":3}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":4,"max":8,"tickAmount":4,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":2,"max":4.5,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"annotations":{"position":"front","points":[{"x":5.006,"y":3.428,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}},{"x":6.81276595744681,"y":3.07446808510638,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}},{"x":5.77358490566038,"y":2.69245283018868,"marker":{"size":5,"fillColor":"#FFF","strokeColor":"#000","strokeWidth":2,"shape":"circle","radius":2}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":4.3,"max":7.9},"type":"scatter"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long

View File

@ -115,8 +115,8 @@ use <code><a href="config_update.html">config_update()</a></code> for more contr
<span class="r-in"> categories <span class="op">=</span> <span class="va">LETTERS</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">5</span><span class="op">]</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-352a0d4b722b032e37b1" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-352a0d4b722b032e37b1">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[56,9,43,5,72]}],"xaxis":{"categories":["A","B","C","D","E"]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-8cf942c605f15624b039" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8cf942c605f15624b039">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[47,31,94,5,69]}],"xaxis":{"categories":["A","B","C","D","E"]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Or use apexchart() to initialize the chart</span></span>
<span class="r-in"><span class="co"># before passing parameters</span></span>
@ -132,8 +132,8 @@ use <code><a href="config_update.html">config_update()</a></code> for more contr
<span class="r-in"> <span class="fu"><a href="ax_xaxis.html">ax_xaxis</a></span><span class="op">(</span></span>
<span class="r-in"> categories <span class="op">=</span> <span class="va">LETTERS</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">5</span><span class="op">]</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-01b6b0878d6ee3826675" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-01b6b0878d6ee3826675">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[61,22,78,16,2]}],"xaxis":{"categories":["A","B","C","D","E"]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-2ef19b10d2da0d2564a7" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2ef19b10d2da0d2564a7">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[38,13,44,64,17]}],"xaxis":{"categories":["A","B","C","D","E"]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -93,8 +93,8 @@
<span class="r-in"> name <span class="op">=</span> <span class="st">"rnorm"</span>,</span>
<span class="r-in"> data <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-4ae1fe23e607e17bdb12" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4ae1fe23e607e17bdb12">{"x":{"ax_opts":{"series":[{"name":"rnorm","data":[-1.36138898817098,-0.71198039034488,0.469334227268174,0.308511623456451,0.0331255739939181,-0.95663866383109,0.214962390734447,-0.768503346071214,0.839066993655845,0.537427152751444]}]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-ed44dfff3d0a6a271869" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ed44dfff3d0a6a271869">{"x":{"ax_opts":{"series":[{"name":"rnorm","data":[-1.15445640902982,1.322973114172,-0.254754495894049,0.418742641688708,1.26268936101004,-0.501556271526819,0.272764565567678,-0.321927402389153,0.741248247110668,-0.0798902785219603]}]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Two series</span></span>
<span class="r-in"><span class="fu"><a href="apexchart.html">apexchart</a></span><span class="op">(</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_series</span><span class="op">(</span></span>
@ -107,8 +107,8 @@
<span class="r-in"> data <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-97c1a29c23e734010f75" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-97c1a29c23e734010f75">{"x":{"ax_opts":{"series":[{"name":"rnorm 1","data":[0.365880363685981,-0.0448141515880885,-0.454943568219066,1.21259762129488,1.34599804273099,0.154433302755288,0.730464119245129,-0.979846636316122,0.667634937113076,0.210415911174431]},{"name":"rnorm 2","data":[0.0374366048338772,0.136019491786794,-0.887065783055086,1.19031325802573,1.01745822207255,-0.744624086882674,-1.07216267619489,-0.105170423805933,-0.688764541392641,-1.11389582927607]}]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-12c6eec6dc8e6c2e2b52" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-12c6eec6dc8e6c2e2b52">{"x":{"ax_opts":{"series":[{"name":"rnorm 1","data":[-2.06884691418425,1.08018106132241,-1.19812052618052,-0.532716256947675,-0.413623871802209,-0.494113350467625,0.585908724804639,0.632111522967045,-0.139611025015059,-2.43820522148696]},{"name":"rnorm 2","data":[-0.602616497635785,-0.0235804582028367,0.218075955648598,-1.30653092813757,0.604132966316795,0.45291852984187,-1.62211428510564,0.878998794483288,-0.226160571954497,1.03830005853724]}]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -121,8 +121,8 @@
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-0c3d085b961e1180bb7f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-0c3d085b961e1180bb7f">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"yaxis":[{"y":11.897,"borderColor":"firebrick","opacity":1,"label":{"text":"Mean uempmed","position":"left","textAnchor":"start"}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-e8239804956b3cda02f1" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e8239804956b3cda02f1">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"yaxis":[{"y":11.897,"borderColor":"firebrick","opacity":1,"label":{"text":"Mean uempmed","position":"left","textAnchor":"start"}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Vertical line</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
@ -145,8 +145,8 @@
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-d366596daaf921d6fa3e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d366596daaf921d6fa3e">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"xaxis":[{"x":"new Date('1 Mar 2007').getTime()","strokeDashArray":0,"borderColor":"#775DD0","label":{"text":"A label","borderColor":"#775DD0","style":{"color":"#fff","background":"#775DD0"}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":["ax_opts.annotations.xaxis.0.x"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-29e597c2a558bc544fb8" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-29e597c2a558bc544fb8">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"xaxis":[{"x":"new Date('1 Mar 2007').getTime()","strokeDashArray":0,"borderColor":"#775DD0","label":{"text":"A label","borderColor":"#775DD0","style":{"color":"#fff","background":"#775DD0"}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":["ax_opts.annotations.xaxis.0.x"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Vertical range</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
@ -170,8 +170,8 @@
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-660b228b2d08356d969c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-660b228b2d08356d969c">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"xaxis":[{"x":"new Date('1 Jan 2009').getTime()","x2":"new Date('1 Feb 2010').getTime()","fillColor":"#B3F7CA","opacity":0.4,"label":{"text":"A label","borderColor":"#B3F7CA","style":{"color":"#fff","background":"#B3F7CA"}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.0.x2"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-491395a696cd8aab8302" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-491395a696cd8aab8302">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"xaxis":[{"x":"new Date('1 Jan 2009').getTime()","x2":"new Date('1 Feb 2010').getTime()","fillColor":"#B3F7CA","opacity":0.4,"label":{"text":"A label","borderColor":"#B3F7CA","style":{"color":"#fff","background":"#B3F7CA"}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":["ax_opts.annotations.xaxis.0.x","ax_opts.annotations.xaxis.0.x2"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Point annotation</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
@ -200,8 +200,8 @@
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-31998a62aad070743f70" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-31998a62aad070743f70">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"points":[{"x":"new Date('1 Jun 2010').getTime()","y":25.2,"marker":{"size":8,"fillColor":"#fff","strokeColor":"red","radius":2},"label":{"text":"Highest","offsetY":0,"borderColor":"#FF4560","style":{"color":"#fff","background":"#FF4560"}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":["ax_opts.annotations.points.0.x"],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-89b6a37d3e158bfbf411" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-89b6a37d3e158bfbf411">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[904608000000,6.7],[907200000000,5.8],[909878400000,6.6],[912470400000,6.8],[915148800000,6.9],[917827200000,6.8],[920246400000,6.8],[922924800000,6.2],[925516800000,6.5],[928195200000,6.3],[930787200000,5.8],[933465600000,6.5],[936144000000,6],[938736000000,6.1],[941414400000,6.2],[944006400000,5.8],[946684800000,5.8],[949363200000,6.1],[951868800000,6],[954547200000,6.1],[957139200000,5.8],[959817600000,5.7],[962409600000,6],[965088000000,6.3],[967766400000,5.2],[970358400000,6.1],[973036800000,6.1],[975628800000,6],[978307200000,5.8],[980985600000,6.1],[983404800000,6.6],[986083200000,5.9],[988675200000,6.3],[991353600000,6],[993945600000,6.8],[996624000000,6.9],[999302400000,7.2],[1001894400000,7.3],[1004572800000,7.7],[1007164800000,8.2],[1009843200000,8.4],[1012521600000,8.3],[1014940800000,8.4],[1017619200000,8.9],[1020211200000,9.5],[1022889600000,11],[1025481600000,8.9],[1028160000000,9],[1030838400000,9.5],[1033430400000,9.6],[1036108800000,9.3],[1038700800000,9.6],[1041379200000,9.6],[1044057600000,9.5],[1046476800000,9.7],[1049155200000,10.2],[1051747200000,9.9],[1054425600000,11.5],[1057017600000,10.3],[1059696000000,10.1],[1062374400000,10.2],[1064966400000,10.4],[1067644800000,10.3],[1070236800000,10.4],[1072915200000,10.6],[1075593600000,10.2],[1078099200000,10.2],[1080777600000,9.5],[1083369600000,9.9],[1086048000000,11],[1088640000000,8.9],[1091318400000,9.2],[1093996800000,9.6],[1096588800000,9.5],[1099267200000,9.7],[1101859200000,9.5],[1104537600000,9.4],[1107216000000,9.2],[1109635200000,9.3],[1112313600000,9],[1114905600000,9.1],[1117584000000,9],[1120176000000,8.8],[1122854400000,9.2],[1125532800000,8.4],[1128124800000,8.6],[1130803200000,8.5],[1133395200000,8.7],[1136073600000,8.6],[1138752000000,9.1],[1141171200000,8.7],[1143849600000,8.4],[1146441600000,8.5],[1149120000000,7.3],[1151712000000,8],[1154390400000,8.4],[1157068800000,8],[1159660800000,7.9],[1162339200000,8.3],[1164931200000,7.5],[1167609600000,8.3],[1170288000000,8.5],[1172707200000,9.1],[1175385600000,8.6],[1177977600000,8.2],[1180656000000,7.7],[1183248000000,8.7],[1185926400000,8.8],[1188604800000,8.7],[1191196800000,8.4],[1193875200000,8.6],[1196467200000,8.4],[1199145600000,9],[1201824000000,8.7],[1204329600000,8.7],[1207008000000,9.4],[1209600000000,7.9],[1212278400000,9],[1214870400000,9.7],[1217548800000,9.7],[1220227200000,10.2],[1222819200000,10.4],[1225497600000,9.8],[1228089600000,10.5],[1230768000000,10.7],[1233446400000,11.7],[1235865600000,12.3],[1238544000000,13.1],[1241136000000,14.2],[1243814400000,17.2],[1246406400000,16],[1249084800000,16.3],[1251763200000,17.8],[1254355200000,18.9],[1257033600000,19.8],[1259625600000,20.1],[1262304000000,20],[1264982400000,19.9],[1267401600000,20.4],[1270080000000,22.1],[1272672000000,22.3],[1275350400000,25.2],[1277942400000,22.3],[1280620800000,21],[1283299200000,20.3],[1285891200000,21.2],[1288569600000,21],[1291161600000,21.9],[1293840000000,21.5],[1296518400000,21.1],[1298937600000,21.5],[1301616000000,20.9],[1304208000000,21.6],[1306886400000,22.4],[1309478400000,22],[1312156800000,22.4],[1314835200000,22],[1317427200000,20.6],[1320105600000,20.8],[1322697600000,20.5],[1325376000000,20.8],[1328054400000,19.7],[1330560000000,19.2],[1333238400000,19.1],[1335830400000,19.9],[1338508800000,20.4],[1341100800000,17.5],[1343779200000,18.4],[1346457600000,18.8],[1349049600000,19.9],[1351728000000,18.6],[1354320000000,17.7],[1356998400000,15.8],[1359676800000,17.2],[1362096000000,17.6],[1364774400000,17.1],[1367366400000,17.1],[1370044800000,17],[1372636800000,16.2],[1375315200000,16.5],[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"annotations":{"points":[{"x":"new Date('1 Jun 2010').getTime()","y":25.2,"marker":{"size":8,"fillColor":"#fff","strokeColor":"red","radius":2},"label":{"text":"Highest","offsetY":0,"borderColor":"#FF4560","style":{"color":"#fff","background":"#FF4560"}}}]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"1998-09-01","max":"2015-04-01"},"type":"line"},"evals":["ax_opts.annotations.points.0.x"],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long

View File

@ -94,8 +94,8 @@
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">cut</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span>
<span class="r-in"> <span class="fu">ax_colors</span><span class="op">(</span><span class="st">"#F7D358"</span><span class="op">)</span></span>
<div id="htmlwidget-9207e6faa29b9d6e2aed" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9207e6faa29b9d6e2aed">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"Fair","y":1610},{"x":"Good","y":4906},{"x":"Very Good","y":12082},{"x":"Premium","y":13791},{"x":"Ideal","y":21551}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["#F7D358"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-04eabd77befc745f250e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-04eabd77befc745f250e">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"Fair","y":1610},{"x":"Good","y":4906},{"x":"Very Good","y":12082},{"x":"Premium","y":13791},{"x":"Ideal","y":21551}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["#F7D358"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://scales.r-lib.org" class="external-link">scales</a></span><span class="op">)</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
@ -103,8 +103,8 @@
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">cut</span>, fill <span class="op">=</span> <span class="va">color</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span>
<span class="r-in"> <span class="fu">ax_colors</span><span class="op">(</span><span class="fu"><a href="https://scales.r-lib.org/reference/brewer_pal.html" class="external-link">brewer_pal</a></span><span class="op">(</span>palette <span class="op">=</span> <span class="st">"Set2"</span><span class="op">)</span><span class="op">(</span><span class="fl">7</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-1ca8b7a2d8cb097fff64" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-1ca8b7a2d8cb097fff64">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"D","type":"bar","data":[{"x":"Fair","y":163},{"x":"Good","y":662},{"x":"Very Good","y":1513},{"x":"Premium","y":1603},{"x":"Ideal","y":2834}]},{"name":"E","type":"bar","data":[{"x":"Fair","y":224},{"x":"Good","y":933},{"x":"Very Good","y":2400},{"x":"Premium","y":2337},{"x":"Ideal","y":3903}]},{"name":"F","type":"bar","data":[{"x":"Fair","y":312},{"x":"Good","y":909},{"x":"Very Good","y":2164},{"x":"Premium","y":2331},{"x":"Ideal","y":3826}]},{"name":"G","type":"bar","data":[{"x":"Fair","y":314},{"x":"Good","y":871},{"x":"Very Good","y":2299},{"x":"Premium","y":2924},{"x":"Ideal","y":4884}]},{"name":"H","type":"bar","data":[{"x":"Fair","y":303},{"x":"Good","y":702},{"x":"Very Good","y":1824},{"x":"Premium","y":2360},{"x":"Ideal","y":3115}]},{"name":"I","type":"bar","data":[{"x":"Fair","y":175},{"x":"Good","y":522},{"x":"Very Good","y":1204},{"x":"Premium","y":1428},{"x":"Ideal","y":2093}]},{"name":"J","type":"bar","data":[{"x":"Fair","y":119},{"x":"Good","y":307},{"x":"Very Good","y":678},{"x":"Premium","y":808},{"x":"Ideal","y":896}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["#66C2A5","#FC8D62","#8DA0CB","#E78AC3","#A6D854","#FFD92F","#E5C494"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-246de1a639e783e13176" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-246de1a639e783e13176">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"D","type":"bar","data":[{"x":"Fair","y":163},{"x":"Good","y":662},{"x":"Very Good","y":1513},{"x":"Premium","y":1603},{"x":"Ideal","y":2834}]},{"name":"E","type":"bar","data":[{"x":"Fair","y":224},{"x":"Good","y":933},{"x":"Very Good","y":2400},{"x":"Premium","y":2337},{"x":"Ideal","y":3903}]},{"name":"F","type":"bar","data":[{"x":"Fair","y":312},{"x":"Good","y":909},{"x":"Very Good","y":2164},{"x":"Premium","y":2331},{"x":"Ideal","y":3826}]},{"name":"G","type":"bar","data":[{"x":"Fair","y":314},{"x":"Good","y":871},{"x":"Very Good","y":2299},{"x":"Premium","y":2924},{"x":"Ideal","y":4884}]},{"name":"H","type":"bar","data":[{"x":"Fair","y":303},{"x":"Good","y":702},{"x":"Very Good","y":1824},{"x":"Premium","y":2360},{"x":"Ideal","y":3115}]},{"name":"I","type":"bar","data":[{"x":"Fair","y":175},{"x":"Good","y":522},{"x":"Very Good","y":1204},{"x":"Premium","y":1428},{"x":"Ideal","y":2093}]},{"name":"J","type":"bar","data":[{"x":"Fair","y":119},{"x":"Good","y":307},{"x":"Very Good","y":678},{"x":"Premium","y":808},{"x":"Ideal","y":896}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["#66C2A5","#FC8D62","#8DA0CB","#E78AC3","#A6D854","#FFD92F","#E5C494"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -94,8 +94,8 @@
<span class="r-in"> <span class="st">"6"</span> <span class="op">=</span> <span class="st">"firebrick"</span>,</span>
<span class="r-in"> <span class="st">"8"</span> <span class="op">=</span> <span class="st">"forestgreen"</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-12ec4ade6491a20b5e0d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-12ec4ade6491a20b5e0d">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"6","type":"scatter","data":[{"x":2.62,"y":21},{"x":2.875,"y":21},{"x":3.215,"y":21.4},{"x":3.44,"y":19.2},{"x":3.44,"y":17.8},{"x":3.46,"y":18.1},{"x":2.77,"y":19.7}]},{"name":"4","type":"scatter","data":[{"x":2.32,"y":22.8},{"x":3.19,"y":24.4},{"x":3.15,"y":22.8},{"x":2.2,"y":32.4},{"x":1.615,"y":30.4},{"x":1.835,"y":33.9},{"x":2.465,"y":21.5},{"x":1.935,"y":27.3},{"x":2.14,"y":26},{"x":1.513,"y":30.4},{"x":2.78,"y":21.4}]},{"name":"8","type":"scatter","data":[{"x":3.44,"y":18.7},{"x":3.57,"y":14.3},{"x":3.57,"y":15},{"x":4.07,"y":16.4},{"x":3.73,"y":17.3},{"x":3.78,"y":15.2},{"x":5.25,"y":10.4},{"x":5.424,"y":10.4},{"x":5.345,"y":14.7},{"x":3.52,"y":15.5},{"x":3.435,"y":15.2},{"x":3.84,"y":13.3},{"x":3.845,"y":19.2},{"x":3.17,"y":15.8}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":1,"max":6,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":10,"max":35,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"colors":["firebrick","steelblue","forestgreen"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":1.513,"max":5.424},"type":"scatter","colors_manual":{"4":"steelblue","6":"firebrick","8":"forestgreen"}},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-020e4e405ab39ac8a1ba" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-020e4e405ab39ac8a1ba">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"6","type":"scatter","data":[{"x":2.62,"y":21},{"x":2.875,"y":21},{"x":3.215,"y":21.4},{"x":3.44,"y":19.2},{"x":3.44,"y":17.8},{"x":3.46,"y":18.1},{"x":2.77,"y":19.7}]},{"name":"4","type":"scatter","data":[{"x":2.32,"y":22.8},{"x":3.19,"y":24.4},{"x":3.15,"y":22.8},{"x":2.2,"y":32.4},{"x":1.615,"y":30.4},{"x":1.835,"y":33.9},{"x":2.465,"y":21.5},{"x":1.935,"y":27.3},{"x":2.14,"y":26},{"x":1.513,"y":30.4},{"x":2.78,"y":21.4}]},{"name":"8","type":"scatter","data":[{"x":3.44,"y":18.7},{"x":3.57,"y":14.3},{"x":3.57,"y":15},{"x":4.07,"y":16.4},{"x":3.73,"y":17.3},{"x":3.78,"y":15.2},{"x":5.25,"y":10.4},{"x":5.424,"y":10.4},{"x":5.345,"y":14.7},{"x":3.52,"y":15.5},{"x":3.435,"y":15.2},{"x":3.84,"y":13.3},{"x":3.845,"y":19.2},{"x":3.17,"y":15.8}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":1,"max":6,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":10,"max":35,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"colors":["firebrick","steelblue","forestgreen"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":1.513,"max":5.424},"type":"scatter","colors_manual":{"4":"steelblue","6":"firebrick","8":"forestgreen"}},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># If missing level, colors are recycled</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">mtcars</span>, </span>
@ -107,8 +107,8 @@
<span class="r-in"> <span class="st">"8"</span> <span class="op">=</span> <span class="st">"forestgreen"</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<span class="r-wrn co"><span class="r-pr">#&gt;</span> <span class="warning">Warning: </span>Some groups doesn't have a corresponding color value</span>
<div id="htmlwidget-1da5f62ca9003439415e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-1da5f62ca9003439415e">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"6","type":"scatter","data":[{"x":2.62,"y":21},{"x":2.875,"y":21},{"x":3.215,"y":21.4},{"x":3.44,"y":19.2},{"x":3.44,"y":17.8},{"x":3.46,"y":18.1},{"x":2.77,"y":19.7}]},{"name":"4","type":"scatter","data":[{"x":2.32,"y":22.8},{"x":3.19,"y":24.4},{"x":3.15,"y":22.8},{"x":2.2,"y":32.4},{"x":1.615,"y":30.4},{"x":1.835,"y":33.9},{"x":2.465,"y":21.5},{"x":1.935,"y":27.3},{"x":2.14,"y":26},{"x":1.513,"y":30.4},{"x":2.78,"y":21.4}]},{"name":"8","type":"scatter","data":[{"x":3.44,"y":18.7},{"x":3.57,"y":14.3},{"x":3.57,"y":15},{"x":4.07,"y":16.4},{"x":3.73,"y":17.3},{"x":3.78,"y":15.2},{"x":5.25,"y":10.4},{"x":5.424,"y":10.4},{"x":5.345,"y":14.7},{"x":3.52,"y":15.5},{"x":3.435,"y":15.2},{"x":3.84,"y":13.3},{"x":3.845,"y":19.2},{"x":3.17,"y":15.8}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":1,"max":6,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":10,"max":35,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"colors":["steelblue","forestgreen"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":1.513,"max":5.424},"type":"scatter","colors_manual":{"4":"steelblue","8":"forestgreen"}},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-69b9c65a4461920cfc6a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-69b9c65a4461920cfc6a">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"6","type":"scatter","data":[{"x":2.62,"y":21},{"x":2.875,"y":21},{"x":3.215,"y":21.4},{"x":3.44,"y":19.2},{"x":3.44,"y":17.8},{"x":3.46,"y":18.1},{"x":2.77,"y":19.7}]},{"name":"4","type":"scatter","data":[{"x":2.32,"y":22.8},{"x":3.19,"y":24.4},{"x":3.15,"y":22.8},{"x":2.2,"y":32.4},{"x":1.615,"y":30.4},{"x":1.835,"y":33.9},{"x":2.465,"y":21.5},{"x":1.935,"y":27.3},{"x":2.14,"y":26},{"x":1.513,"y":30.4},{"x":2.78,"y":21.4}]},{"name":"8","type":"scatter","data":[{"x":3.44,"y":18.7},{"x":3.57,"y":14.3},{"x":3.57,"y":15},{"x":4.07,"y":16.4},{"x":3.73,"y":17.3},{"x":3.78,"y":15.2},{"x":5.25,"y":10.4},{"x":5.424,"y":10.4},{"x":5.345,"y":14.7},{"x":3.52,"y":15.5},{"x":3.435,"y":15.2},{"x":3.84,"y":13.3},{"x":3.845,"y":19.2},{"x":3.17,"y":15.8}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":1,"max":6,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":10,"max":35,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"colors":["steelblue","forestgreen"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":1.513,"max":5.424},"type":"scatter","colors_manual":{"4":"steelblue","8":"forestgreen"}},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Ignore levels not present in data</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">mtcars</span>, </span>
@ -121,8 +121,8 @@
<span class="r-in"> <span class="st">"8"</span> <span class="op">=</span> <span class="st">"forestgreen"</span>,</span>
<span class="r-in"> <span class="st">"99"</span> <span class="op">=</span> <span class="st">"yellow"</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-a3b2acc6f41d3dea28be" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a3b2acc6f41d3dea28be">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"6","type":"scatter","data":[{"x":2.62,"y":21},{"x":2.875,"y":21},{"x":3.215,"y":21.4},{"x":3.44,"y":19.2},{"x":3.44,"y":17.8},{"x":3.46,"y":18.1},{"x":2.77,"y":19.7}]},{"name":"4","type":"scatter","data":[{"x":2.32,"y":22.8},{"x":3.19,"y":24.4},{"x":3.15,"y":22.8},{"x":2.2,"y":32.4},{"x":1.615,"y":30.4},{"x":1.835,"y":33.9},{"x":2.465,"y":21.5},{"x":1.935,"y":27.3},{"x":2.14,"y":26},{"x":1.513,"y":30.4},{"x":2.78,"y":21.4}]},{"name":"8","type":"scatter","data":[{"x":3.44,"y":18.7},{"x":3.57,"y":14.3},{"x":3.57,"y":15},{"x":4.07,"y":16.4},{"x":3.73,"y":17.3},{"x":3.78,"y":15.2},{"x":5.25,"y":10.4},{"x":5.424,"y":10.4},{"x":5.345,"y":14.7},{"x":3.52,"y":15.5},{"x":3.435,"y":15.2},{"x":3.84,"y":13.3},{"x":3.845,"y":19.2},{"x":3.17,"y":15.8}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":1,"max":6,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":10,"max":35,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"colors":["firebrick","steelblue","forestgreen"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":1.513,"max":5.424},"type":"scatter","colors_manual":{"4":"steelblue","6":"firebrick","8":"forestgreen","99":"yellow"}},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-ca0bd076f1de17b9f928" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ca0bd076f1de17b9f928">{"x":{"ax_opts":{"chart":{"type":"scatter"},"series":[{"name":"6","type":"scatter","data":[{"x":2.62,"y":21},{"x":2.875,"y":21},{"x":3.215,"y":21.4},{"x":3.44,"y":19.2},{"x":3.44,"y":17.8},{"x":3.46,"y":18.1},{"x":2.77,"y":19.7}]},{"name":"4","type":"scatter","data":[{"x":2.32,"y":22.8},{"x":3.19,"y":24.4},{"x":3.15,"y":22.8},{"x":2.2,"y":32.4},{"x":1.615,"y":30.4},{"x":1.835,"y":33.9},{"x":2.465,"y":21.5},{"x":1.935,"y":27.3},{"x":2.14,"y":26},{"x":1.513,"y":30.4},{"x":2.78,"y":21.4}]},{"name":"8","type":"scatter","data":[{"x":3.44,"y":18.7},{"x":3.57,"y":14.3},{"x":3.57,"y":15},{"x":4.07,"y":16.4},{"x":3.73,"y":17.3},{"x":3.78,"y":15.2},{"x":5.25,"y":10.4},{"x":5.424,"y":10.4},{"x":5.345,"y":14.7},{"x":3.52,"y":15.5},{"x":3.435,"y":15.2},{"x":3.84,"y":13.3},{"x":3.845,"y":19.2},{"x":3.17,"y":15.8}]}],"dataLabels":{"enabled":false},"xaxis":{"type":"numeric","min":1,"max":6,"tickAmount":5,"crosshairs":{"show":true,"stroke":{"dashArray":0}},"labels":{"style":{"colors":"#848484"}}},"yaxis":{"min":10,"max":35,"tickAmount":5,"labels":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~r')(value) + '';}","style":{"colors":"#848484"}},"tooltip":{"enabled":true}},"grid":{"xaxis":{"lines":{"show":true}}},"colors":["firebrick","steelblue","forestgreen"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":1.513,"max":5.424},"type":"scatter","colors_manual":{"4":"steelblue","6":"firebrick","8":"forestgreen","99":"yellow"}},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co">## Bar</span></span>
@ -142,8 +142,8 @@
<span class="r-in"> B <span class="op">=</span> <span class="st">"peachpuff"</span>,</span>
<span class="r-in"> E <span class="op">=</span> <span class="st">"chartreuse"</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-59e218ab62bb7cd4375c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-59e218ab62bb7cd4375c">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"A","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":5},{"x":"c","y":6},{"x":"d","y":4},{"x":"e","y":4}]},{"name":"B","type":"bar","data":[{"x":"a","y":2},{"x":"b","y":5},{"x":"c","y":6},{"x":"d","y":8},{"x":"e","y":2}]},{"name":"C","type":"bar","data":[{"x":"a","y":3},{"x":"b","y":4},{"x":"c","y":5},{"x":"d","y":4},{"x":"e","y":3}]},{"name":"D","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":3},{"x":"c","y":5},{"x":"d","y":3},{"x":"e","y":4}]},{"name":"E","type":"bar","data":[{"x":"a","y":1},{"x":"b","y":2},{"x":"c","y":2},{"x":"d","y":7},{"x":"e","y":4}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["steelblue","peachpuff","firebrick","forestgreen","chartreuse"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"column","colors_manual":{"A":"steelblue","C":"firebrick","D":"forestgreen","B":"peachpuff","E":"chartreuse"}},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-04b7ccb6c4cefd2ef386" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-04b7ccb6c4cefd2ef386">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"A","type":"bar","data":[{"x":"a","y":5},{"x":"b","y":2},{"x":"c","y":4},{"x":"d","y":3},{"x":"e","y":0}]},{"name":"B","type":"bar","data":[{"x":"a","y":3},{"x":"b","y":2},{"x":"c","y":4},{"x":"d","y":3},{"x":"e","y":5}]},{"name":"C","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":3},{"x":"c","y":5},{"x":"d","y":8},{"x":"e","y":6}]},{"name":"D","type":"bar","data":[{"x":"a","y":3},{"x":"b","y":1},{"x":"c","y":7},{"x":"d","y":3},{"x":"e","y":5}]},{"name":"E","type":"bar","data":[{"x":"a","y":5},{"x":"b","y":7},{"x":"c","y":7},{"x":"d","y":3},{"x":"e","y":2}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["steelblue","peachpuff","firebrick","forestgreen","chartreuse"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"column","colors_manual":{"A":"steelblue","C":"firebrick","D":"forestgreen","B":"peachpuff","E":"chartreuse"}},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -119,8 +119,8 @@ Accepted values <code>"start"</code>, <code>"middle"</code> or <code>"end"</code
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">cut</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span>
<span class="r-in"> <span class="fu">ax_dataLabels</span><span class="op">(</span>enabled <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
<div id="htmlwidget-3491024c90726da8d91c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-3491024c90726da8d91c">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"Fair","y":1610},{"x":"Good","y":4906},{"x":"Very Good","y":12082},{"x":"Premium","y":13791},{"x":"Ideal","y":21551}]}],"dataLabels":{"enabled":true},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-4aef7166c51069c7b4e1" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4aef7166c51069c7b4e1">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"Fair","y":1610},{"x":"Good","y":4906},{"x":"Very Good","y":12082},{"x":"Premium","y":13791},{"x":"Ideal","y":21551}]}],"dataLabels":{"enabled":true},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -95,15 +95,15 @@ option. While, in pie/donut charts, each label corresponds to value in series ar
<span class="r-in"> <span class="fu"><a href="ax_chart.html">ax_chart</a></span><span class="op">(</span>type <span class="op">=</span> <span class="st">"pie"</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu"><a href="ax-series.html">ax_series</a></span><span class="op">(</span><span class="fl">23</span>, <span class="fl">45</span>, <span class="fl">56</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_labels</span><span class="op">(</span><span class="st">"A"</span>, <span class="st">"B"</span>, <span class="st">"C"</span><span class="op">)</span></span>
<div id="htmlwidget-de81d7ccce21272c59a9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-de81d7ccce21272c59a9">{"x":{"ax_opts":{"chart":{"type":"pie"},"series":[23,45,56],"labels":["A","B","C"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-faa58af9ded4dc4675c9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-faa58af9ded4dc4675c9">{"x":{"ax_opts":{"chart":{"type":"pie"},"series":[23,45,56],"labels":["A","B","C"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># same as </span></span>
<span class="r-in"><span class="fu"><a href="apexchart.html">apexchart</a></span><span class="op">(</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu"><a href="ax_chart.html">ax_chart</a></span><span class="op">(</span>type <span class="op">=</span> <span class="st">"pie"</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu"><a href="ax-series.html">ax_series2</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">23</span>, <span class="fl">45</span>, <span class="fl">56</span><span class="op">)</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_labels2</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"A"</span>, <span class="st">"B"</span>, <span class="st">"C"</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-bb563fc2c8b2b14059f5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-bb563fc2c8b2b14059f5">{"x":{"ax_opts":{"chart":{"type":"pie"},"series":[23,45,56],"labels":["A","B","C"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-d1c58e28e17cae3a3583" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d1c58e28e17cae3a3583">{"x":{"ax_opts":{"chart":{"type":"pie"},"series":[23,45,56],"labels":["A","B","C"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -101,8 +101,8 @@
<span class="r-in"> x <span class="op">=</span> <span class="st">"Month"</span>,</span>
<span class="r-in"> y <span class="op">=</span> <span class="st">"Temperature (\u00b0C)"</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-a443547ad37886241143" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a443547ad37886241143">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"tmin","type":"bar","data":[{"x":"January","y":3},{"x":"February","y":3},{"x":"March","y":5},{"x":"April","y":7},{"x":"May","y":11},{"x":"June","y":14},{"x":"July","y":16},{"x":"August","y":16},{"x":"September","y":13},{"x":"October","y":10},{"x":"November","y":6},{"x":"December","y":3}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}},"title":{"text":"Temperature (°C)","style":{"fontWeight":400,"fontSize":"14px"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}},"title":{"text":"Month","style":{"fontWeight":400,"fontSize":"14px"}}},"title":{"text":"Average minimal temperature in Paris","style":{"fontWeight":700,"fontSize":"16px"}},"subtitle":{"text":"Data from NOAA","style":{"fontWeight":400,"fontSize":"14px"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"April","max":"September"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-7ea14036893eac3e9157" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7ea14036893eac3e9157">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"tmin","type":"bar","data":[{"x":"January","y":3},{"x":"February","y":3},{"x":"March","y":5},{"x":"April","y":7},{"x":"May","y":11},{"x":"June","y":14},{"x":"July","y":16},{"x":"August","y":16},{"x":"September","y":13},{"x":"October","y":10},{"x":"November","y":6},{"x":"December","y":3}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}},"title":{"text":"Temperature (°C)","style":{"fontWeight":400,"fontSize":"14px"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}},"title":{"text":"Month","style":{"fontWeight":400,"fontSize":"14px"}}},"title":{"text":"Average minimal temperature in Paris","style":{"fontWeight":700,"fontSize":"16px"}},"subtitle":{"text":"Data from NOAA","style":{"fontWeight":400,"fontSize":"14px"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"April","max":"September"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -156,16 +156,16 @@ when hovered on legend item, it will highlight the paths of the hovered series i
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">manufacturer</span>, fill <span class="op">=</span> <span class="va">year</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_legend</span><span class="op">(</span>position <span class="op">=</span> <span class="st">"right"</span><span class="op">)</span></span>
<div id="htmlwidget-b804b6b77ab21581aeb2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b804b6b77ab21581aeb2">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"1999","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":7},{"x":"dodge","y":16},{"x":"ford","y":15},{"x":"honda","y":5},{"x":"hyundai","y":6},{"x":"jeep","y":2},{"x":"land rover","y":2},{"x":"lincoln","y":2},{"x":"mercury","y":2},{"x":"nissan","y":6},{"x":"pontiac","y":3},{"x":"subaru","y":6},{"x":"toyota","y":20},{"x":"volkswagen","y":16}]},{"name":"2008","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":12},{"x":"dodge","y":21},{"x":"ford","y":10},{"x":"honda","y":4},{"x":"hyundai","y":8},{"x":"jeep","y":6},{"x":"land rover","y":2},{"x":"lincoln","y":1},{"x":"mercury","y":2},{"x":"nissan","y":7},{"x":"pontiac","y":2},{"x":"subaru","y":8},{"x":"toyota","y":14},{"x":"volkswagen","y":11}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"legend":{"position":"right"}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-436d57844f01b76b0629" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-436d57844f01b76b0629">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"1999","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":7},{"x":"dodge","y":16},{"x":"ford","y":15},{"x":"honda","y":5},{"x":"hyundai","y":6},{"x":"jeep","y":2},{"x":"land rover","y":2},{"x":"lincoln","y":2},{"x":"mercury","y":2},{"x":"nissan","y":6},{"x":"pontiac","y":3},{"x":"subaru","y":6},{"x":"toyota","y":20},{"x":"volkswagen","y":16}]},{"name":"2008","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":12},{"x":"dodge","y":21},{"x":"ford","y":10},{"x":"honda","y":4},{"x":"hyundai","y":8},{"x":"jeep","y":6},{"x":"land rover","y":2},{"x":"lincoln","y":1},{"x":"mercury","y":2},{"x":"nissan","y":7},{"x":"pontiac","y":2},{"x":"subaru","y":8},{"x":"toyota","y":14},{"x":"volkswagen","y":11}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"legend":{"position":"right"}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># hide legend</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">mpg</span>,</span>
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">manufacturer</span>, fill <span class="op">=</span> <span class="va">year</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_legend</span><span class="op">(</span>show <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span>
<div id="htmlwidget-459b455a7670392e610f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-459b455a7670392e610f">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"1999","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":7},{"x":"dodge","y":16},{"x":"ford","y":15},{"x":"honda","y":5},{"x":"hyundai","y":6},{"x":"jeep","y":2},{"x":"land rover","y":2},{"x":"lincoln","y":2},{"x":"mercury","y":2},{"x":"nissan","y":6},{"x":"pontiac","y":3},{"x":"subaru","y":6},{"x":"toyota","y":20},{"x":"volkswagen","y":16}]},{"name":"2008","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":12},{"x":"dodge","y":21},{"x":"ford","y":10},{"x":"honda","y":4},{"x":"hyundai","y":8},{"x":"jeep","y":6},{"x":"land rover","y":2},{"x":"lincoln","y":1},{"x":"mercury","y":2},{"x":"nissan","y":7},{"x":"pontiac","y":2},{"x":"subaru","y":8},{"x":"toyota","y":14},{"x":"volkswagen","y":11}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"legend":{"show":false}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-9d18c25b0f46027bd2f5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9d18c25b0f46027bd2f5">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"1999","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":7},{"x":"dodge","y":16},{"x":"ford","y":15},{"x":"honda","y":5},{"x":"hyundai","y":6},{"x":"jeep","y":2},{"x":"land rover","y":2},{"x":"lincoln","y":2},{"x":"mercury","y":2},{"x":"nissan","y":6},{"x":"pontiac","y":3},{"x":"subaru","y":6},{"x":"toyota","y":20},{"x":"volkswagen","y":16}]},{"name":"2008","type":"bar","data":[{"x":"audi","y":9},{"x":"chevrolet","y":12},{"x":"dodge","y":21},{"x":"ford","y":10},{"x":"honda","y":4},{"x":"hyundai","y":8},{"x":"jeep","y":6},{"x":"land rover","y":2},{"x":"lincoln","y":1},{"x":"mercury","y":2},{"x":"nissan","y":7},{"x":"pontiac","y":2},{"x":"subaru","y":8},{"x":"toyota","y":14},{"x":"volkswagen","y":11}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"legend":{"show":false}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -131,8 +131,8 @@
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">date</span>, y <span class="op">=</span> <span class="va">uempmed</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_markers</span><span class="op">(</span>size <span class="op">=</span> <span class="fl">6</span><span class="op">)</span> </span>
<div id="htmlwidget-d4e9e5d25f21391afad1" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d4e9e5d25f21391afad1">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"markers":{"size":6}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2013-09-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-e01bc67ddf78a9243e44" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e01bc67ddf78a9243e44">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"uempmed","type":"line","data":[[1377993600000,16.5],[1380585600000,16.3],[1383264000000,17.1],[1385856000000,17.3],[1388534400000,15.4],[1391212800000,15.9],[1393632000000,15.8],[1396310400000,15.7],[1398902400000,14.6],[1401580800000,13.8],[1404172800000,13.1],[1406851200000,12.9],[1409529600000,13.4],[1412121600000,13.6],[1414800000000,13],[1417392000000,12.9],[1420070400000,13.2],[1422748800000,12.9],[1425168000000,12],[1427846400000,11.5]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"markers":{"size":6}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2013-09-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -113,8 +113,8 @@
<span class="r-in"> text <span class="op">=</span> <span class="st">"Sorry no data to visualize"</span>,</span>
<span class="r-in"> fontSize <span class="op">=</span> <span class="st">"30px"</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-aa5fe59ddce8419fee14" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-aa5fe59ddce8419fee14">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"var2","type":"bar","data":[]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"noData":{"text":"Sorry no data to visualize","align":"center","verticalAlign":"middle","style":{"fontSize":"30px"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-27fc365e7beec26d242f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-27fc365e7beec26d242f">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"var2","type":"bar","data":[]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"noData":{"text":"Sorry no data to visualize","align":"center","verticalAlign":"middle","style":{"fontSize":"30px"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -110,8 +110,8 @@
<span class="r-in"> <span class="fu">ax_plotOptions</span><span class="op">(</span></span>
<span class="r-in"> bar <span class="op">=</span> <span class="fu"><a href="bar_opts.html">bar_opts</a></span><span class="op">(</span>endingShape <span class="op">=</span> <span class="st">"rounded"</span>, columnWidth <span class="op">=</span> <span class="st">"10%"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-35b8bad6cb3aaecb795b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-35b8bad6cb3aaecb795b">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"Fair","y":1610},{"x":"Good","y":4906},{"x":"Very Good","y":12082},{"x":"Premium","y":13791},{"x":"Ideal","y":21551}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false,"endingShape":"rounded","columnWidth":"10%"}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-ad084a58b35fd558a8cd" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ad084a58b35fd558a8cd">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"Fair","y":1610},{"x":"Good","y":4906},{"x":"Very Good","y":12082},{"x":"Premium","y":13791},{"x":"Ideal","y":21551}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false,"endingShape":"rounded","columnWidth":"10%"}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Pie</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">diamonds</span>,</span>
@ -121,8 +121,8 @@
<span class="r-in"> <span class="fu">ax_plotOptions</span><span class="op">(</span></span>
<span class="r-in"> pie <span class="op">=</span> <span class="fu"><a href="pie_opts.html">pie_opts</a></span><span class="op">(</span>customScale <span class="op">=</span> <span class="fl">0.5</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-bc7a12aa09147af8d60e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-bc7a12aa09147af8d60e">{"x":{"ax_opts":{"chart":{"type":"pie"},"series":[1610,4906,12082,13791,21551],"labels":["Fair","Good","Very Good","Premium","Ideal"],"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"plotOptions":{"pie":{"customScale":0.5}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"pie"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-c0a077c68abb9a3e2781" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c0a077c68abb9a3e2781">{"x":{"ax_opts":{"chart":{"type":"pie"},"series":[1610,4906,12082,13791,21551],"labels":["Fair","Good","Very Good","Premium","Ideal"],"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"plotOptions":{"pie":{"customScale":0.5}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Fair","max":"Very Good"},"type":"pie"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Radial</span></span>
<span class="r-in"><span class="fu"><a href="apexchart.html">apexchart</a></span><span class="op">(</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
@ -134,8 +134,8 @@
<span class="r-in"> <span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu"><a href="ax-series.html">ax_series</a></span><span class="op">(</span><span class="fl">70</span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu"><a href="ax_labels.html">ax_labels</a></span><span class="op">(</span><span class="st">"Indicator"</span><span class="op">)</span></span>
<div id="htmlwidget-99637e35c99726d6b1b0" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-99637e35c99726d6b1b0">{"x":{"ax_opts":{"chart":{"type":"radialBar"},"plotOptions":{"radialBar":{"hollow":{"size":"70%"}}},"series":[70],"labels":["Indicator"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-bb4e73498cba9924ac03" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-bb4e73498cba9924ac03">{"x":{"ax_opts":{"chart":{"type":"radialBar"},"plotOptions":{"radialBar":{"hollow":{"size":"70%"}}},"series":[70],"labels":["Indicator"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -110,8 +110,8 @@
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-e10b2c417c5c55cf4fa2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e10b2c417c5c55cf4fa2">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"1999","data":[{"x":"audi","y":9},{"x":"chevrolet","y":7},{"x":"dodge","y":16},{"x":"ford","y":15},{"x":"honda","y":5},{"x":"hyundai","y":6},{"x":"jeep","y":2},{"x":"land rover","y":2},{"x":"lincoln","y":2},{"x":"mercury","y":2},{"x":"nissan","y":6},{"x":"pontiac","y":3},{"x":"subaru","y":6},{"x":"toyota","y":20},{"x":"volkswagen","y":16}]},{"name":"2008","data":[{"x":"audi","y":9},{"x":"chevrolet","y":12},{"x":"dodge","y":21},{"x":"ford","y":10},{"x":"honda","y":4},{"x":"hyundai","y":8},{"x":"jeep","y":6},{"x":"land rover","y":2},{"x":"lincoln","y":1},{"x":"mercury","y":2},{"x":"nissan","y":7},{"x":"pontiac","y":2},{"x":"subaru","y":8},{"x":"toyota","y":14},{"x":"volkswagen","y":11}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":true}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"grid":{"yaxis":{"lines":{"show":false}},"xaxis":{"lines":{"show":true}}},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"legend":{"position":"right"},"responsive":[{"breakpoint":1000,"options":{"plotOptions":{"bar":{"horizontal":false}},"legend":{"position":"bottom"}}}]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"bar"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-ed738bce58dbec7ef4ad" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ed738bce58dbec7ef4ad">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"1999","data":[{"x":"audi","y":9},{"x":"chevrolet","y":7},{"x":"dodge","y":16},{"x":"ford","y":15},{"x":"honda","y":5},{"x":"hyundai","y":6},{"x":"jeep","y":2},{"x":"land rover","y":2},{"x":"lincoln","y":2},{"x":"mercury","y":2},{"x":"nissan","y":6},{"x":"pontiac","y":3},{"x":"subaru","y":6},{"x":"toyota","y":20},{"x":"volkswagen","y":16}]},{"name":"2008","data":[{"x":"audi","y":9},{"x":"chevrolet","y":12},{"x":"dodge","y":21},{"x":"ford","y":10},{"x":"honda","y":4},{"x":"hyundai","y":8},{"x":"jeep","y":6},{"x":"land rover","y":2},{"x":"lincoln","y":1},{"x":"mercury","y":2},{"x":"nissan","y":7},{"x":"pontiac","y":2},{"x":"subaru","y":8},{"x":"toyota","y":14},{"x":"volkswagen","y":11}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":true}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"grid":{"yaxis":{"lines":{"show":false}},"xaxis":{"lines":{"show":true}}},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"legend":{"position":"right"},"responsive":[{"breakpoint":1000,"options":{"plotOptions":{"bar":{"horizontal":false}},"legend":{"position":"bottom"}}}]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"bar"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

View File

@ -107,8 +107,8 @@
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-efe88ef17fb9278436ad" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-efe88ef17fb9278436ad">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":true}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"grid":{"yaxis":{"lines":{"show":false}},"xaxis":{"lines":{"show":true}}},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"states":{"hover":{"filter":{"type":"darken"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"bar"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-8af11f03136d96932bf2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8af11f03136d96932bf2">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":true}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"grid":{"yaxis":{"lines":{"show":false}},"xaxis":{"lines":{"show":true}}},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"states":{"hover":{"filter":{"type":"darken"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"bar"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -101,24 +101,24 @@
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">manufacturer</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_theme</span><span class="op">(</span>mode <span class="op">=</span> <span class="st">"dark"</span><span class="op">)</span></span>
<div id="htmlwidget-b9c466f23b8c777ce6ff" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b9c466f23b8c777ce6ff">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"theme":{"mode":"dark"}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-3c5f8f837831f70cee35" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-3c5f8f837831f70cee35">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"theme":{"mode":"dark"}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Use predefined palette (1 to 10)</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">diamonds</span>,</span>
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">color</span>, fill <span class="op">=</span> <span class="va">cut</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_theme</span><span class="op">(</span>palette <span class="op">=</span> <span class="st">"palette2"</span><span class="op">)</span></span>
<div id="htmlwidget-26ff58cf549ed3d71460" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-26ff58cf549ed3d71460">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Fair","type":"bar","data":[{"x":"D","y":163},{"x":"E","y":224},{"x":"F","y":312},{"x":"G","y":314},{"x":"H","y":303},{"x":"I","y":175},{"x":"J","y":119}]},{"name":"Good","type":"bar","data":[{"x":"D","y":662},{"x":"E","y":933},{"x":"F","y":909},{"x":"G","y":871},{"x":"H","y":702},{"x":"I","y":522},{"x":"J","y":307}]},{"name":"Very Good","type":"bar","data":[{"x":"D","y":1513},{"x":"E","y":2400},{"x":"F","y":2164},{"x":"G","y":2299},{"x":"H","y":1824},{"x":"I","y":1204},{"x":"J","y":678}]},{"name":"Premium","type":"bar","data":[{"x":"D","y":1603},{"x":"E","y":2337},{"x":"F","y":2331},{"x":"G","y":2924},{"x":"H","y":2360},{"x":"I","y":1428},{"x":"J","y":808}]},{"name":"Ideal","type":"bar","data":[{"x":"D","y":2834},{"x":"E","y":3903},{"x":"F","y":3826},{"x":"G","y":4884},{"x":"H","y":3115},{"x":"I","y":2093},{"x":"J","y":896}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"theme":{"mode":"light","palette":"palette2"}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"D","max":"J"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-497b28ae26e49ae1cb77" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-497b28ae26e49ae1cb77">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Fair","type":"bar","data":[{"x":"D","y":163},{"x":"E","y":224},{"x":"F","y":312},{"x":"G","y":314},{"x":"H","y":303},{"x":"I","y":175},{"x":"J","y":119}]},{"name":"Good","type":"bar","data":[{"x":"D","y":662},{"x":"E","y":933},{"x":"F","y":909},{"x":"G","y":871},{"x":"H","y":702},{"x":"I","y":522},{"x":"J","y":307}]},{"name":"Very Good","type":"bar","data":[{"x":"D","y":1513},{"x":"E","y":2400},{"x":"F","y":2164},{"x":"G","y":2299},{"x":"H","y":1824},{"x":"I","y":1204},{"x":"J","y":678}]},{"name":"Premium","type":"bar","data":[{"x":"D","y":1603},{"x":"E","y":2337},{"x":"F","y":2331},{"x":"G","y":2924},{"x":"H","y":2360},{"x":"I","y":1428},{"x":"J","y":808}]},{"name":"Ideal","type":"bar","data":[{"x":"D","y":2834},{"x":"E","y":3903},{"x":"F","y":3826},{"x":"G","y":4884},{"x":"H","y":3115},{"x":"I","y":2093},{"x":"J","y":896}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"theme":{"mode":"light","palette":"palette2"}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"D","max":"J"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># monochrome palette</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">diamonds</span>,</span>
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">color</span>, fill <span class="op">=</span> <span class="va">cut</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_theme</span><span class="op">(</span>monochrome <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>enabled <span class="op">=</span> <span class="cn">TRUE</span>, color <span class="op">=</span> <span class="st">"#0B6121"</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-a5ef671b7dcf887b13a2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a5ef671b7dcf887b13a2">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Fair","type":"bar","data":[{"x":"D","y":163},{"x":"E","y":224},{"x":"F","y":312},{"x":"G","y":314},{"x":"H","y":303},{"x":"I","y":175},{"x":"J","y":119}]},{"name":"Good","type":"bar","data":[{"x":"D","y":662},{"x":"E","y":933},{"x":"F","y":909},{"x":"G","y":871},{"x":"H","y":702},{"x":"I","y":522},{"x":"J","y":307}]},{"name":"Very Good","type":"bar","data":[{"x":"D","y":1513},{"x":"E","y":2400},{"x":"F","y":2164},{"x":"G","y":2299},{"x":"H","y":1824},{"x":"I","y":1204},{"x":"J","y":678}]},{"name":"Premium","type":"bar","data":[{"x":"D","y":1603},{"x":"E","y":2337},{"x":"F","y":2331},{"x":"G","y":2924},{"x":"H","y":2360},{"x":"I","y":1428},{"x":"J","y":808}]},{"name":"Ideal","type":"bar","data":[{"x":"D","y":2834},{"x":"E","y":3903},{"x":"F","y":3826},{"x":"G","y":4884},{"x":"H","y":3115},{"x":"I","y":2093},{"x":"J","y":896}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"theme":{"mode":"light","monochrome":{"enabled":true,"color":"#0B6121"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"D","max":"J"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-b08a91d40c4fa4d88bb7" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b08a91d40c4fa4d88bb7">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Fair","type":"bar","data":[{"x":"D","y":163},{"x":"E","y":224},{"x":"F","y":312},{"x":"G","y":314},{"x":"H","y":303},{"x":"I","y":175},{"x":"J","y":119}]},{"name":"Good","type":"bar","data":[{"x":"D","y":662},{"x":"E","y":933},{"x":"F","y":909},{"x":"G","y":871},{"x":"H","y":702},{"x":"I","y":522},{"x":"J","y":307}]},{"name":"Very Good","type":"bar","data":[{"x":"D","y":1513},{"x":"E","y":2400},{"x":"F","y":2164},{"x":"G","y":2299},{"x":"H","y":1824},{"x":"I","y":1204},{"x":"J","y":678}]},{"name":"Premium","type":"bar","data":[{"x":"D","y":1603},{"x":"E","y":2337},{"x":"F","y":2331},{"x":"G","y":2924},{"x":"H","y":2360},{"x":"I","y":1428},{"x":"J","y":808}]},{"name":"Ideal","type":"bar","data":[{"x":"D","y":2834},{"x":"E","y":3903},{"x":"F","y":3826},{"x":"G","y":4884},{"x":"H","y":3115},{"x":"I","y":2093},{"x":"J","y":896}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"theme":{"mode":"light","monochrome":{"enabled":true,"color":"#0B6121"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"D","max":"J"},"type":"column"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -141,24 +141,24 @@ similar to an absolutely positioned element. Set the offsetX and offsetY then to
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">manufacturer</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_xaxis</span><span class="op">(</span>title <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>text <span class="op">=</span> <span class="st">"Car's manufacturer"</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-93fc6139bb48645cdbcb" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-93fc6139bb48645cdbcb">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}},"title":{"text":"Car's manufacturer"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-c27d930963b3b142fdc3" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c27d930963b3b142fdc3">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}},"title":{"text":"Car's manufacturer"}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># force labels to rotate and increase height</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">mpg</span>,</span>
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">manufacturer</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_xaxis</span><span class="op">(</span>labels <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>rotateAlways <span class="op">=</span> <span class="cn">TRUE</span>, maxHeight <span class="op">=</span> <span class="fl">180</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-ab05471449859228f0c5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ab05471449859228f0c5">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"},"rotateAlways":true,"maxHeight":180}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-c90dfd0d532a5016b896" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c90dfd0d532a5016b896">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"},"rotateAlways":true,"maxHeight":180}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># force to not rotate</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
<span class="r-in"> data <span class="op">=</span> <span class="va">mpg</span>,</span>
<span class="r-in"> mapping <span class="op">=</span> <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span>x <span class="op">=</span> <span class="va">manufacturer</span><span class="op">)</span></span>
<span class="r-in"><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span>
<span class="r-in"> <span class="fu">ax_xaxis</span><span class="op">(</span>labels <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>rotate <span class="op">=</span> <span class="fl">0</span>, trim <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-4a3800d9119a668fc178" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4a3800d9119a668fc178">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"},"rotate":0,"trim":false}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-f0a3f69e4913fc351db4" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f0a3f69e4913fc351db4">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":[],"type":"bar","data":[{"x":"audi","y":18},{"x":"chevrolet","y":19},{"x":"dodge","y":37},{"x":"ford","y":25},{"x":"honda","y":9},{"x":"hyundai","y":14},{"x":"jeep","y":8},{"x":"land rover","y":4},{"x":"lincoln","y":3},{"x":"mercury","y":4},{"x":"nissan","y":13},{"x":"pontiac","y":5},{"x":"subaru","y":14},{"x":"toyota","y":34},{"x":"volkswagen","y":27}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"},"rotate":0,"trim":false}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="fu"><a href="https://rdrr.io/r/utils/data.html" class="external-link">data</a></span><span class="op">(</span><span class="st">"economics"</span>, package <span class="op">=</span> <span class="st">"ggplot2"</span><span class="op">)</span></span>
<span class="r-in"></span>
@ -176,8 +176,8 @@ similar to an absolutely positioned element. Set the offsetX and offsetY then to
<span class="r-in"> stroke <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span>width <span class="op">=</span> <span class="fl">0</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-e87004d57330eec0433c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e87004d57330eec0433c">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"psavert","type":"line","data":[[1298937600000,7],[1301616000000,6.9],[1304208000000,6.9],[1306886400000,7.2],[1309478400000,7.3],[1312156800000,7.2],[1314835200000,6.8],[1317427200000,6.8],[1320105600000,7],[1322697600000,7.8],[1325376000000,8],[1328054400000,8],[1330560000000,8.5],[1333238400000,8.7],[1335830400000,8.8],[1338508800000,9.1],[1341100800000,8.2],[1343779200000,8],[1346457600000,8.2],[1349049600000,8.8],[1351728000000,9.7],[1354320000000,12],[1356998400000,6.3],[1359676800000,5.8],[1362096000000,5.9],[1364774400000,6.4],[1367366400000,6.7],[1370044800000,6.8],[1372636800000,6.6],[1375315200000,6.7],[1377993600000,6.8],[1380585600000,6.3],[1383264000000,6.2],[1385856000000,6.4],[1388534400000,7.1],[1391212800000,7.3],[1393632000000,7.4],[1396310400000,7.4],[1398902400000,7.4],[1401580800000,7.4],[1404172800000,7.5],[1406851200000,7.2],[1409529600000,7.4],[1412121600000,7.2],[1414800000000,7.3],[1417392000000,7.6],[1420070400000,7.7],[1422748800000,7.9],[1425168000000,7.4],[1427846400000,7.6]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}},"crosshairs":{"opacity":1,"width":2,"fill":{"color":"red"},"stroke":{"width":0}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2011-03-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-461a339f89e55a8878c9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-461a339f89e55a8878c9">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"psavert","type":"line","data":[[1298937600000,7],[1301616000000,6.9],[1304208000000,6.9],[1306886400000,7.2],[1309478400000,7.3],[1312156800000,7.2],[1314835200000,6.8],[1317427200000,6.8],[1320105600000,7],[1322697600000,7.8],[1325376000000,8],[1328054400000,8],[1330560000000,8.5],[1333238400000,8.7],[1335830400000,8.8],[1338508800000,9.1],[1341100800000,8.2],[1343779200000,8],[1346457600000,8.2],[1349049600000,8.8],[1351728000000,9.7],[1354320000000,12],[1356998400000,6.3],[1359676800000,5.8],[1362096000000,5.9],[1364774400000,6.4],[1367366400000,6.7],[1370044800000,6.8],[1372636800000,6.6],[1375315200000,6.7],[1377993600000,6.8],[1380585600000,6.3],[1383264000000,6.2],[1385856000000,6.4],[1388534400000,7.1],[1391212800000,7.3],[1393632000000,7.4],[1396310400000,7.4],[1398902400000,7.4],[1401580800000,7.4],[1404172800000,7.5],[1406851200000,7.2],[1409529600000,7.4],[1412121600000,7.2],[1414800000000,7.3],[1417392000000,7.6],[1420070400000,7.7],[1422748800000,7.9],[1425168000000,7.4],[1427846400000,7.6]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}},"crosshairs":{"opacity":1,"width":2,"fill":{"color":"red"},"stroke":{"width":0}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2011-03-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Date format (zoom to see changes)</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span>
@ -194,8 +194,8 @@ similar to an absolutely positioned element. Set the offsetX and offsetY then to
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-74a6caf62c5b72612f02" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-74a6caf62c5b72612f02">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"psavert","type":"line","data":[[1036108800000,5.7],[1038700800000,5.5],[1041379200000,5.5],[1044057600000,5.6],[1046476800000,5.3],[1049155200000,5.3],[1051747200000,5.8],[1054425600000,5.6],[1057017600000,6.3],[1059696000000,6],[1062374400000,5.2],[1064966400000,5.3],[1067644800000,5.4],[1070236800000,5.4],[1072915200000,5],[1075593600000,5],[1078099200000,4.9],[1080777600000,5.3],[1083369600000,5.3],[1086048000000,5.8],[1088640000000,5.3],[1091318400000,5.2],[1093996800000,4.6],[1096588800000,4.5],[1099267200000,4.1],[1101859200000,6.9],[1104537600000,3.7],[1107216000000,3.4],[1109635200000,3.6],[1112313600000,3.1],[1114905600000,3.5],[1117584000000,2.9],[1120176000000,2.2],[1122854400000,2.7],[1125532800000,2.7],[1128124800000,3.1],[1130803200000,3.5],[1133395200000,3.7],[1136073600000,4.2],[1138752000000,4.2],[1141171200000,4.2],[1143849600000,4],[1146441600000,3.8],[1149120000000,4],[1151712000000,3.4],[1154390400000,3.6],[1157068800000,3.6],[1159660800000,3.6],[1162339200000,3.9],[1164931200000,3.7],[1167609600000,3.7],[1170288000000,4.1],[1172707200000,4.4],[1175385600000,4.2],[1177977600000,4],[1180656000000,3.8],[1183248000000,3.7],[1185926400000,3.4],[1188604800000,3.5],[1191196800000,3.4],[1193875200000,3.1],[1196467200000,3.6],[1199145600000,3.7],[1201824000000,4.1],[1204329600000,4],[1207008000000,3.4],[1209600000000,7.8],[1212278400000,5.5],[1214870400000,4.4],[1217548800000,3.8],[1220227200000,4.7],[1222819200000,5.5],[1225497600000,6.4],[1228089600000,6.4],[1230768000000,6.2],[1233446400000,5.5],[1235865600000,5.9],[1238544000000,6.8],[1241136000000,8.2],[1243814400000,6.7],[1246406400000,6],[1249084800000,4.9],[1251763200000,5.9],[1254355200000,5.4],[1257033600000,5.9],[1259625600000,5.9],[1262304000000,6.1],[1264982400000,5.8],[1267401600000,5.7],[1270080000000,6.4],[1272672000000,7],[1275350400000,6.9],[1277942400000,6.8],[1280620800000,6.9],[1283299200000,6.7],[1285891200000,6.6],[1288569600000,6.6],[1291161600000,7.1],[1293840000000,7.4],[1296518400000,7.6],[1298937600000,7],[1301616000000,6.9],[1304208000000,6.9],[1306886400000,7.2],[1309478400000,7.3],[1312156800000,7.2],[1314835200000,6.8],[1317427200000,6.8],[1320105600000,7],[1322697600000,7.8],[1325376000000,8],[1328054400000,8],[1330560000000,8.5],[1333238400000,8.7],[1335830400000,8.8],[1338508800000,9.1],[1341100800000,8.2],[1343779200000,8],[1346457600000,8.2],[1349049600000,8.8],[1351728000000,9.7],[1354320000000,12],[1356998400000,6.3],[1359676800000,5.8],[1362096000000,5.9],[1364774400000,6.4],[1367366400000,6.7],[1370044800000,6.8],[1372636800000,6.6],[1375315200000,6.7],[1377993600000,6.8],[1380585600000,6.3],[1383264000000,6.2],[1385856000000,6.4],[1388534400000,7.1],[1391212800000,7.3],[1393632000000,7.4],[1396310400000,7.4],[1398902400000,7.4],[1401580800000,7.4],[1404172800000,7.5],[1406851200000,7.2],[1409529600000,7.4],[1412121600000,7.2],[1414800000000,7.3],[1417392000000,7.6],[1420070400000,7.7],[1422748800000,7.9],[1425168000000,7.4],[1427846400000,7.6]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"},"datetimeFormatter":{"year":"yyyy-MM","month":"yyyy-MM-dd","day":"yyyy-MM-dd HH:mm"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2002-11-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-b13046d4fc2c399a0e55" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b13046d4fc2c399a0e55">{"x":{"ax_opts":{"chart":{"type":"line"},"series":[{"name":"psavert","type":"line","data":[[1036108800000,5.7],[1038700800000,5.5],[1041379200000,5.5],[1044057600000,5.6],[1046476800000,5.3],[1049155200000,5.3],[1051747200000,5.8],[1054425600000,5.6],[1057017600000,6.3],[1059696000000,6],[1062374400000,5.2],[1064966400000,5.3],[1067644800000,5.4],[1070236800000,5.4],[1072915200000,5],[1075593600000,5],[1078099200000,4.9],[1080777600000,5.3],[1083369600000,5.3],[1086048000000,5.8],[1088640000000,5.3],[1091318400000,5.2],[1093996800000,4.6],[1096588800000,4.5],[1099267200000,4.1],[1101859200000,6.9],[1104537600000,3.7],[1107216000000,3.4],[1109635200000,3.6],[1112313600000,3.1],[1114905600000,3.5],[1117584000000,2.9],[1120176000000,2.2],[1122854400000,2.7],[1125532800000,2.7],[1128124800000,3.1],[1130803200000,3.5],[1133395200000,3.7],[1136073600000,4.2],[1138752000000,4.2],[1141171200000,4.2],[1143849600000,4],[1146441600000,3.8],[1149120000000,4],[1151712000000,3.4],[1154390400000,3.6],[1157068800000,3.6],[1159660800000,3.6],[1162339200000,3.9],[1164931200000,3.7],[1167609600000,3.7],[1170288000000,4.1],[1172707200000,4.4],[1175385600000,4.2],[1177977600000,4],[1180656000000,3.8],[1183248000000,3.7],[1185926400000,3.4],[1188604800000,3.5],[1191196800000,3.4],[1193875200000,3.1],[1196467200000,3.6],[1199145600000,3.7],[1201824000000,4.1],[1204329600000,4],[1207008000000,3.4],[1209600000000,7.8],[1212278400000,5.5],[1214870400000,4.4],[1217548800000,3.8],[1220227200000,4.7],[1222819200000,5.5],[1225497600000,6.4],[1228089600000,6.4],[1230768000000,6.2],[1233446400000,5.5],[1235865600000,5.9],[1238544000000,6.8],[1241136000000,8.2],[1243814400000,6.7],[1246406400000,6],[1249084800000,4.9],[1251763200000,5.9],[1254355200000,5.4],[1257033600000,5.9],[1259625600000,5.9],[1262304000000,6.1],[1264982400000,5.8],[1267401600000,5.7],[1270080000000,6.4],[1272672000000,7],[1275350400000,6.9],[1277942400000,6.8],[1280620800000,6.9],[1283299200000,6.7],[1285891200000,6.6],[1288569600000,6.6],[1291161600000,7.1],[1293840000000,7.4],[1296518400000,7.6],[1298937600000,7],[1301616000000,6.9],[1304208000000,6.9],[1306886400000,7.2],[1309478400000,7.3],[1312156800000,7.2],[1314835200000,6.8],[1317427200000,6.8],[1320105600000,7],[1322697600000,7.8],[1325376000000,8],[1328054400000,8],[1330560000000,8.5],[1333238400000,8.7],[1335830400000,8.8],[1338508800000,9.1],[1341100800000,8.2],[1343779200000,8],[1346457600000,8.2],[1349049600000,8.8],[1351728000000,9.7],[1354320000000,12],[1356998400000,6.3],[1359676800000,5.8],[1362096000000,5.9],[1364774400000,6.4],[1367366400000,6.7],[1370044800000,6.8],[1372636800000,6.6],[1375315200000,6.7],[1377993600000,6.8],[1380585600000,6.3],[1383264000000,6.2],[1385856000000,6.4],[1388534400000,7.1],[1391212800000,7.3],[1393632000000,7.4],[1396310400000,7.4],[1398902400000,7.4],[1401580800000,7.4],[1404172800000,7.5],[1406851200000,7.2],[1409529600000,7.4],[1412121600000,7.2],[1414800000000,7.3],[1417392000000,7.6],[1420070400000,7.7],[1422748800000,7.9],[1425168000000,7.4],[1427846400000,7.6]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}}},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"},"datetimeFormatter":{"year":"yyyy-MM","month":"yyyy-MM-dd","day":"yyyy-MM-dd HH:mm"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"2002-11-01","max":"2015-04-01"},"type":"line"},"evals":[],"jsHooks":[]}</script></code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
</nav></aside></div>

Some files were not shown because too many files have changed in this diff Show More