Built site for apexcharter: 0.3.0.9000@036244b

This commit is contained in:
pvictor 2021-12-10 17:44:12 +00:00
parent df7d77b344
commit fd335363cc
59 changed files with 355 additions and 355 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

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-7e33b4aa8b3e2d51808c" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7e33b4aa8b3e2d51808c">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639180800000,61],[1639267200000,35],[1639353600000,35],[1639440000000,51],[1639526400000,43],[1639612800000,47],[1639699200000,58],[1639785600000,73],[1639872000000,44],[1639958400000,55],[1640044800000,49],[1640131200000,57],[1640217600000,58],[1640304000000,56],[1640390400000,15],[1640476800000,46],[1640563200000,47],[1640649600000,53],[1640736000000,52],[1640822400000,50]]}],"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.25,"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-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 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-538395502bae5c375aaa" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-538395502bae5c375aaa">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639180800000,61],[1639267200000,35],[1639353600000,35],[1639440000000,51],[1639526400000,43],[1639612800000,47],[1639699200000,58],[1639785600000,73],[1639872000000,44],[1639958400000,55],[1640044800000,49],[1640131200000,57],[1640217600000,58],[1640304000000,56],[1640390400000,15],[1640476800000,46],[1640563200000,47],[1640649600000,53],[1640736000000,52],[1640822400000,50]]}],"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.25,"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-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 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

File diff suppressed because one or more lines are too long

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-10T16:16Z
last_built: 2021-12-10T17:42Z
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-68f453500c85067ec41f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-68f453500c85067ec41f">{"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-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>
<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-6b1adf5d1e5040d45c18" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6b1adf5d1e5040d45c18">{"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-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>
<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-6142e8957a5e77b6f3da" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6142e8957a5e77b6f3da">{"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-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>
</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-5d964a236412ec2ea373" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-5d964a236412ec2ea373">{"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-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>
<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-6507052ecf3a3a0d970f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6507052ecf3a3a0d970f">{"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-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>
<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-9c5878f246d5e5780778" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9c5878f246d5e5780778">{"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-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>
<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-91bc0167b3ec7197cc33" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-91bc0167b3ec7197cc33">{"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-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>
</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-04df829398370a94fcf2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-04df829398370a94fcf2">{"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-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>
<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-fc9d9821fe85529b7756" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-fc9d9821fe85529b7756">{"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-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>
<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-64d6b0bdc711dde9782f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-64d6b0bdc711dde9782f">{"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":5.77358490566038,"y":2.69245283018868,"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-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>
</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-51cae879bf7756b33773" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-51cae879bf7756b33773">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[31,70,48,50,76]}],"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-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>
<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-64dffbacd509a9125218" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-64dffbacd509a9125218">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[83,61,85,15,70]}],"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-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>
</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-6856af7644029fc8335c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6856af7644029fc8335c">{"x":{"ax_opts":{"series":[{"name":"rnorm","data":[1.07023162994334,-1.3013010038337,1.7822566758385,-1.37441875631015,-1.38199901056699,1.19627880827412,-0.605137909881788,-0.40563229215457,-1.4235018955144,1.05854484819488]}]},"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-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>
<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-22f093f2b5e669aa9daf" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-22f093f2b5e669aa9daf">{"x":{"ax_opts":{"series":[{"name":"rnorm 1","data":[1.12521125369829,-1.46962367377891,1.45330626525293,0.958819101605058,-0.821514397261799,0.187213851773301,0.198092067971571,0.984903451755628,1.62481128760445,1.24073029579712]},{"name":"rnorm 2","data":[-1.07587492112713,-0.626036199482193,-1.09367787494037,0.404781955797089,0.0192003455446153,-0.892642086991456,-1.11714635464968,0.177956941435556,-1.66193946162321,0.514210377122766]}]},"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-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>
</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-4de870dd88130f6cbd22" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4de870dd88130f6cbd22">{"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-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>
<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-17857c0aaed16d733bee" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-17857c0aaed16d733bee">{"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-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>
<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-8de0782f4f65ba41fc80" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8de0782f4f65ba41fc80">{"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-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>
<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-2fe50e37a46d8fac01be" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2fe50e37a46d8fac01be">{"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-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>
</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-4a9d92006dba80c7d213" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4a9d92006dba80c7d213">{"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-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>
<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-8668ee4c349a7d2405b1" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8668ee4c349a7d2405b1">{"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-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>
</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-7df5b75ae2e186a0002b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7df5b75ae2e186a0002b">{"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-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>
<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-d06d301275d57be6e907" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d06d301275d57be6e907">{"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-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>
<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-c54f7deaab507a969ed4" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c54f7deaab507a969ed4">{"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-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>
<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-a9aaebe3bee09990e470" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a9aaebe3bee09990e470">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"A","type":"bar","data":[{"x":"a","y":5},{"x":"b","y":3},{"x":"c","y":6},{"x":"d","y":7},{"x":"e","y":4}]},{"name":"B","type":"bar","data":[{"x":"a","y":2},{"x":"b","y":5},{"x":"c","y":7},{"x":"d","y":1},{"x":"e","y":7}]},{"name":"C","type":"bar","data":[{"x":"a","y":3},{"x":"b","y":2},{"x":"c","y":4},{"x":"d","y":3},{"x":"e","y":4}]},{"name":"D","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":2},{"x":"c","y":3},{"x":"d","y":5},{"x":"e","y":5}]},{"name":"E","type":"bar","data":[{"x":"a","y":2},{"x":"b","y":2},{"x":"c","y":5},{"x":"d","y":2},{"x":"e","y":7}]}],"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-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>
</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-f54733d9af78d7fcce1a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f54733d9af78d7fcce1a">{"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-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>
</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-9846b9c7f60d5a741350" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9846b9c7f60d5a741350">{"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-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>
<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-2e33f5109be0db2de75f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2e33f5109be0db2de75f">{"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-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>
</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-053b3944e48bd8624c07" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-053b3944e48bd8624c07">{"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-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>
</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-156f02259c19705da516" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-156f02259c19705da516">{"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-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>
<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-a668ef3e167a16454b31" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a668ef3e167a16454b31">{"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-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>
</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-64c2266f334f88a5407f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-64c2266f334f88a5407f">{"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-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>
</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-020c9839efb9b89479a9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-020c9839efb9b89479a9">{"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-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>
</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-a4aba67d7b3d30dce41e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a4aba67d7b3d30dce41e">{"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-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>
<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-d37261831b2d042e80da" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d37261831b2d042e80da">{"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-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>
<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-4823040909231dfbae29" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4823040909231dfbae29">{"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-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>
</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-51380badef6e7892108f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-51380badef6e7892108f">{"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-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>
</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-025285d9374d4c9d3e05" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-025285d9374d4c9d3e05">{"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-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>
</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-95c4f563ae85befd559e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-95c4f563ae85befd559e">{"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-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>
<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-affb71c67e0c68c155fd" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-affb71c67e0c68c155fd">{"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-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>
<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-cc2fd490620048ba067c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-cc2fd490620048ba067c">{"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-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>
</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-5e40f62afb533530b11f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-5e40f62afb533530b11f">{"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-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>
<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-0a43dd26c8746b8d1dfe" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-0a43dd26c8746b8d1dfe">{"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-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>
<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-36e9fd61045b63a5a124" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-36e9fd61045b63a5a124">{"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-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>
<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-e85a12ff136ee78397d2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e85a12ff136ee78397d2">{"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-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>
<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-58d5b1f90a8126f8aeeb" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-58d5b1f90a8126f8aeeb">{"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-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>
</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

@ -118,8 +118,8 @@
<span class="r-in"> distributed <span class="op">=</span> <span class="cn">TRUE</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-4e7639c702b438a21cdd" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4e7639c702b438a21cdd">{"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,"endingShape":"rounded","columnWidth":100,"distributed":true}},"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":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"> </span>
<div id="htmlwidget-73b950699702f1598b2f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-73b950699702f1598b2f">{"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,"endingShape":"rounded","columnWidth":100,"distributed":true}},"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":"audi","max":"volkswagen"},"type":"column"},"evals":[],"jsHooks":[]}</script><span class="r-in"> </span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

View File

@ -101,8 +101,8 @@ If a bubble value is too large to cover the chart, this size will be used.</p></
<span class="r-in"> maxBubbleRadius <span class="op">=</span> <span class="fl">20</span></span>
<span class="r-in"> <span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span></span>
<div id="htmlwidget-648cfc4a400499e68780" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-648cfc4a400499e68780">{"x":{"ax_opts":{"chart":{"type":"bubble"},"series":[{"name":"mpg","type":"bubble","data":[{"x":2.62,"y":21,"z":16.46},{"x":2.875,"y":21,"z":17.02},{"x":2.32,"y":22.8,"z":18.61},{"x":3.215,"y":21.4,"z":19.44},{"x":3.44,"y":18.7,"z":17.02},{"x":3.46,"y":18.1,"z":20.22},{"x":3.57,"y":14.3,"z":15.84},{"x":3.19,"y":24.4,"z":20},{"x":3.15,"y":22.8,"z":22.9},{"x":3.44,"y":19.2,"z":18.3},{"x":3.44,"y":17.8,"z":18.9},{"x":4.07,"y":16.4,"z":17.4},{"x":3.73,"y":17.3,"z":17.6},{"x":3.78,"y":15.2,"z":18},{"x":5.25,"y":10.4,"z":17.98},{"x":5.424,"y":10.4,"z":17.82},{"x":5.345,"y":14.7,"z":17.42},{"x":2.2,"y":32.4,"z":19.47},{"x":1.615,"y":30.4,"z":18.52},{"x":1.835,"y":33.9,"z":19.9},{"x":2.465,"y":21.5,"z":20.01},{"x":3.52,"y":15.5,"z":16.87},{"x":3.435,"y":15.2,"z":17.3},{"x":3.84,"y":13.3,"z":15.41},{"x":3.845,"y":19.2,"z":17.05},{"x":1.935,"y":27.3,"z":18.9},{"x":2.14,"y":26,"z":16.7},{"x":1.513,"y":30.4,"z":16.9},{"x":3.17,"y":15.8,"z":14.5},{"x":2.77,"y":19.7,"z":15.5},{"x":3.57,"y":15,"z":14.6},{"x":2.78,"y":21.4,"z":18.6}]}],"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}}},"plotOptions":{"bubble":{"minBubbleRadius":1,"maxBubbleRadius":20}}},"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":"bubble"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-40d13568ff91f25cd617" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-40d13568ff91f25cd617">{"x":{"ax_opts":{"chart":{"type":"bubble"},"series":[{"name":"mpg","type":"bubble","data":[{"x":2.62,"y":21,"z":16.46},{"x":2.875,"y":21,"z":17.02},{"x":2.32,"y":22.8,"z":18.61},{"x":3.215,"y":21.4,"z":19.44},{"x":3.44,"y":18.7,"z":17.02},{"x":3.46,"y":18.1,"z":20.22},{"x":3.57,"y":14.3,"z":15.84},{"x":3.19,"y":24.4,"z":20},{"x":3.15,"y":22.8,"z":22.9},{"x":3.44,"y":19.2,"z":18.3},{"x":3.44,"y":17.8,"z":18.9},{"x":4.07,"y":16.4,"z":17.4},{"x":3.73,"y":17.3,"z":17.6},{"x":3.78,"y":15.2,"z":18},{"x":5.25,"y":10.4,"z":17.98},{"x":5.424,"y":10.4,"z":17.82},{"x":5.345,"y":14.7,"z":17.42},{"x":2.2,"y":32.4,"z":19.47},{"x":1.615,"y":30.4,"z":18.52},{"x":1.835,"y":33.9,"z":19.9},{"x":2.465,"y":21.5,"z":20.01},{"x":3.52,"y":15.5,"z":16.87},{"x":3.435,"y":15.2,"z":17.3},{"x":3.84,"y":13.3,"z":15.41},{"x":3.845,"y":19.2,"z":17.05},{"x":1.935,"y":27.3,"z":18.9},{"x":2.14,"y":26,"z":16.7},{"x":1.513,"y":30.4,"z":16.9},{"x":3.17,"y":15.8,"z":14.5},{"x":2.77,"y":19.7,"z":15.5},{"x":3.57,"y":15,"z":14.6},{"x":2.78,"y":21.4,"z":18.6}]}],"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}}},"plotOptions":{"bubble":{"minBubbleRadius":1,"maxBubbleRadius":20}}},"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":"bubble"},"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

@ -98,14 +98,14 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"> <span class="fu"><a href="ax_yaxis.html">ax_yaxis</a></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></span>
<span class="r-in"> formatter <span class="op">=</span> <span class="fu">format_num</span><span class="op">(</span><span class="st">"~s"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-2d76875987aa1bd95fd4" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2d76875987aa1bd95fd4">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":10000},{"x":"charts","y":20000}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~s')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-917ad39f2e7e5a39285e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-917ad39f2e7e5a39285e">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":10000},{"x":"charts","y":20000}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~s')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span><span class="va">dat</span>, <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">labels</span>, <span class="va">values</span> <span class="op">*</span> <span class="fl">100</span><span class="op">)</span>, <span class="st">"column"</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_yaxis.html">ax_yaxis</a></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></span>
<span class="r-in"> formatter <span class="op">=</span> <span class="fu">format_num</span><span class="op">(</span><span class="st">"~s"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-27701b856cfc493f6607" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-27701b856cfc493f6607">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values * 100","type":"bar","data":[{"x":"apex","y":1000000},{"x":"charts","y":2000000}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~s')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-cb0db617079ab21153d5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-cb0db617079ab21153d5">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values * 100","type":"bar","data":[{"x":"apex","y":1000000},{"x":"charts","y":2000000}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('~s')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"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"># Percentage</span></span>
<span class="r-in"><span class="va">dat</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span>
@ -117,8 +117,8 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"> <span class="fu"><a href="ax_yaxis.html">ax_yaxis</a></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></span>
<span class="r-in"> formatter <span class="op">=</span> <span class="fu">format_num</span><span class="op">(</span><span class="st">".0%"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-530d648cf01e22b58f58" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-530d648cf01e22b58f58">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":0.45},{"x":"charts","y":0.55}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('.0%')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-68fc73da89033c53224b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-68fc73da89033c53224b">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":0.45},{"x":"charts","y":0.55}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('.0%')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"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"># Currency</span></span>
<span class="r-in"><span class="va">dat</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span>
@ -130,15 +130,15 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"> <span class="fu"><a href="ax_yaxis.html">ax_yaxis</a></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></span>
<span class="r-in"> formatter <span class="op">=</span> <span class="fu">format_num</span><span class="op">(</span><span class="st">"$,.2f"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-97f66a5dea6e06a22800" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-97f66a5dea6e06a22800">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":570},{"x":"charts","y":1170}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('$,.2f')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-1d22592477804a30fd1b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-1d22592477804a30fd1b">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":570},{"x":"charts","y":1170}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format('$,.2f')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"><span class="co"># Change locale</span></span>
<span class="r-in"><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span><span class="va">dat</span>, <span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">labels</span>, <span class="va">values</span><span class="op">)</span>, <span class="st">"column"</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_yaxis.html">ax_yaxis</a></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></span>
<span class="r-in"> formatter <span class="op">=</span> <span class="fu">format_num</span><span class="op">(</span><span class="st">"$,.2f"</span>, locale <span class="op">=</span> <span class="st">"fr-FR"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-844e4ad51b3ea4f4e644" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-844e4ad51b3ea4f4e644">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":570},{"x":"charts","y":1170}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \",\", \"thousands\": \"\\u00a0\", \"grouping\": [3], \"currency\": [\"\", \"\\u00a0\\u20ac\"], \"percent\": \"\\u202f%\"}')); return '' + locale.format('$,.2f')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.yaxis.labels.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-ba76ed02550c8d530f9e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ba76ed02550c8d530f9e">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":570},{"x":"charts","y":1170}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"},"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \",\", \"thousands\": \"\\u00a0\", \"grouping\": [3], \"currency\": [\"\", \"\\u00a0\\u20ac\"], \"percent\": \"\\u202f%\"}')); return '' + locale.format('$,.2f')(value) + '';}"}},"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":"apex","max":"charts"},"type":"column"},"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"># Customize tooltip value</span></span>
@ -152,8 +152,8 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"> <span class="fu"><a href="ax_tooltip.html">ax_tooltip</a></span><span class="op">(</span>y <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></span>
<span class="r-in"> formatter <span class="op">=</span> <span class="fu">format_num</span><span class="op">(</span><span class="st">","</span>, suffix <span class="op">=</span> <span class="st">" GW/h"</span><span class="op">)</span></span>
<span class="r-in"> <span class="op">)</span><span class="op">)</span></span>
<div id="htmlwidget-be54c6fe71c295cdc694" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-be54c6fe71c295cdc694">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":10000},{"x":"charts","y":20000}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true,"y":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format(',')(value) + ' GW/h';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.tooltip.y.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-9d22b19a61d5eb5d949c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9d22b19a61d5eb5d949c">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"values","type":"bar","data":[{"x":"apex","y":10000},{"x":"charts","y":20000}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true,"y":{"formatter":"function(value) {var locale = formatLocale(JSON.parse('{ \"decimal\": \".\", \"thousands\": \",\", \"grouping\": [3], \"currency\": [\"$\", \"\"]}')); return '' + locale.format(',')(value) + ' GW/h';}"}},"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":"apex","max":"charts"},"type":"column"},"evals":["ax_opts.tooltip.y.formatter"],"jsHooks":[]}</script><span class="r-in"></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

View File

@ -121,8 +121,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-0e3881f7c81c24ecb02e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-0e3881f7c81c24ecb02e">{"x":{"ax_opts":{"chart":{"type":"heatmap"},"series":[{"name":"Obi-Wan","data":[{"x":"January","y":1},{"x":"February","y":0},{"x":"March","y":1},{"x":"April","y":1},{"x":"May","y":1},{"x":"June","y":0},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":0},{"x":"October","y":0},{"x":"November","y":0},{"x":"December","y":1}]},{"name":"Luke","data":[{"x":"January","y":0},{"x":"February","y":0},{"x":"March","y":1},{"x":"April","y":0},{"x":"May","y":0},{"x":"June","y":1},{"x":"July","y":1},{"x":"August","y":1},{"x":"September","y":1},{"x":"October","y":1},{"x":"November","y":0},{"x":"December","y":1}]},{"name":"Anakin","data":[{"x":"January","y":0},{"x":"February","y":0},{"x":"March","y":1},{"x":"April","y":0},{"x":"May","y":0},{"x":"June","y":0},{"x":"July","y":0},{"x":"August","y":1},{"x":"September","y":0},{"x":"October","y":0},{"x":"November","y":0},{"x":"December","y":1}]},{"name":"Leia","data":[{"x":"January","y":1},{"x":"February","y":1},{"x":"March","y":0},{"x":"April","y":1},{"x":"May","y":1},{"x":"June","y":0},{"x":"July","y":1},{"x":"August","y":1},{"x":"September","y":0},{"x":"October","y":1},{"x":"November","y":1},{"x":"December","y":1}]}],"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"plotOptions":{"heatmap":{"enableShades":false,"colorScale":{"ranges":[{"from":0,"to":0.5,"color":"#FF0000"},{"from":0.5,"to":1,"color":"#088A08"}]}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"heatmap"},"evals":[],"jsHooks":[]}</script><span class="r-in"> </span>
<div id="htmlwidget-e657a5f3c91fef827601" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e657a5f3c91fef827601">{"x":{"ax_opts":{"chart":{"type":"heatmap"},"series":[{"name":"Obi-Wan","data":[{"x":"January","y":0},{"x":"February","y":0},{"x":"March","y":0},{"x":"April","y":1},{"x":"May","y":1},{"x":"June","y":1},{"x":"July","y":0},{"x":"August","y":1},{"x":"September","y":0},{"x":"October","y":1},{"x":"November","y":1},{"x":"December","y":1}]},{"name":"Luke","data":[{"x":"January","y":1},{"x":"February","y":1},{"x":"March","y":1},{"x":"April","y":1},{"x":"May","y":1},{"x":"June","y":0},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":0},{"x":"October","y":0},{"x":"November","y":0},{"x":"December","y":0}]},{"name":"Anakin","data":[{"x":"January","y":1},{"x":"February","y":0},{"x":"March","y":0},{"x":"April","y":1},{"x":"May","y":0},{"x":"June","y":1},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":0},{"x":"October","y":1},{"x":"November","y":0},{"x":"December","y":0}]},{"name":"Leia","data":[{"x":"January","y":0},{"x":"February","y":1},{"x":"March","y":0},{"x":"April","y":0},{"x":"May","y":0},{"x":"June","y":1},{"x":"July","y":1},{"x":"August","y":1},{"x":"September","y":1},{"x":"October","y":0},{"x":"November","y":1},{"x":"December","y":0}]}],"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"plotOptions":{"heatmap":{"enableShades":false,"colorScale":{"ranges":[{"from":0,"to":0.5,"color":"#FF0000"},{"from":0.5,"to":1,"color":"#088A08"}]}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"heatmap"},"evals":[],"jsHooks":[]}</script><span class="r-in"> </span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

File diff suppressed because one or more lines are too long

View File

@ -113,8 +113,8 @@ and <code>background</code> (The background color of the pie).</p></dd>
<span class="r-in"> donut <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>size <span class="op">=</span> <span class="st">"90%"</span>, background <span class="op">=</span> <span class="st">"#BABABA"</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-7929ad633689d0f24e39" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7929ad633689d0f24e39">{"x":{"ax_opts":{"chart":{"type":"donut"},"series":[81,4,79,70],"labels":["4","5","6","8"],"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"plotOptions":{"pie":{"donut":{"size":"90%","background":"#BABABA"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"4","max":"8"},"type":"donut"},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-f2de659c45cdef0b6a36" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f2de659c45cdef0b6a36">{"x":{"ax_opts":{"chart":{"type":"donut"},"series":[81,4,79,70],"labels":["4","5","6","8"],"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"plotOptions":{"pie":{"donut":{"size":"90%","background":"#BABABA"}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"4","max":"8"},"type":"donut"},"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

@ -137,8 +137,8 @@
<span class="r-in"> <span class="fu"><a href="ax_stroke.html">ax_stroke</a></span><span class="op">(</span>dashArray <span class="op">=</span> <span class="fl">4</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">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-7c332e280b1c16fb389a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7c332e280b1c16fb389a">{"x":{"ax_opts":{"chart":{"type":"radialBar"},"plotOptions":{"radialBar":{"startAngle":-135,"endAngle":135,"dataLabels":{"name":{"fontSize":"16px","offsetY":120},"value":{"offsetY":76,"fontSize":"22px","formatter":"function (val) {return val + '%';}"}}}},"stroke":{"dashArray":4},"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":["ax_opts.plotOptions.radialBar.dataLabels.value.formatter"],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-9097360a0e0a4e14e767" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9097360a0e0a4e14e767">{"x":{"ax_opts":{"chart":{"type":"radialBar"},"plotOptions":{"radialBar":{"startAngle":-135,"endAngle":135,"dataLabels":{"name":{"fontSize":"16px","offsetY":120},"value":{"offsetY":76,"fontSize":"22px","formatter":"function (val) {return val + '%';}"}}}},"stroke":{"dashArray":4},"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":["ax_opts.plotOptions.radialBar.dataLabels.value.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

@ -129,8 +129,8 @@ with size &gt; 0 and set tooltip's options <code>intersect = TRUE</code> and <co
<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="apex.html">apex</a></span><span class="op">(</span><span class="fu"><a href="apexcharter-exports.html">aes</a></span><span class="op">(</span><span class="va">month</span>, <span class="va">value</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">set_input_click</span><span class="op">(</span><span class="st">"month_click"</span>, multiple <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
<div id="htmlwidget-a161b00912cb7c13613e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a161b00912cb7c13613e">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"value","type":"bar","data":[{"x":"Jan","y":31},{"x":"Feb","y":67},{"x":"Mar","y":91},{"x":"Apr","y":2},{"x":"May","y":43},{"x":"Jun","y":82},{"x":"Jul","y":75},{"x":"Aug","y":30},{"x":"Sep","y":19},{"x":"Oct","y":1},{"x":"Nov","y":59},{"x":"Dec","y":98}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"states":{"active":{"allowMultipleDataPointsSelection":true,"filter":{"type":"darken","value":0.35}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Apr","max":"Sep"},"type":"column","shinyEvents":{"click":{"inputId":"month_click"}}},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<div id="htmlwidget-66b64d14329b2aae19e5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-66b64d14329b2aae19e5">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"value","type":"bar","data":[{"x":"Jan","y":68},{"x":"Feb","y":77},{"x":"Mar","y":92},{"x":"Apr","y":71},{"x":"May","y":40},{"x":"Jun","y":13},{"x":"Jul","y":88},{"x":"Aug","y":2},{"x":"Sep","y":10},{"x":"Oct","y":9},{"x":"Nov","y":42},{"x":"Dec","y":86}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"states":{"active":{"allowMultipleDataPointsSelection":true,"filter":{"type":"darken","value":0.35}}}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"xaxis":{"min":"Apr","max":"Sep"},"type":"column","shinyEvents":{"click":{"inputId":"month_click"}}},"evals":[],"jsHooks":[]}</script><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Interactive examples:</span></span>
<span class="r-in"><span class="kw">if</span> <span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/interactive.html" class="external-link">interactive</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -134,8 +134,8 @@ Boxes have CSS class <code>"apexcharter-spark-box"</code> if you need more styli
<span class="r-in"> 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>, </span>
<span class="r-in"> subtitle <span class="op">=</span> <span class="st">"Variable 1"</span></span>
<span class="r-in"><span class="op">)</span></span>
<div id="htmlwidget-b2b6035feb6faa1bb6de" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b2b6035feb6faa1bb6de">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639180800000,48],[1639267200000,34],[1639353600000,36],[1639440000000,51],[1639526400000,48],[1639612800000,50],[1639699200000,47],[1639785600000,46],[1639872000000,52],[1639958400000,56],[1640044800000,39],[1640131200000,35],[1640217600000,43],[1640304000000,47],[1640390400000,64],[1640476800000,59],[1640563200000,47],[1640649600000,35],[1640736000000,73],[1640822400000,57]]}],"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":48.35,"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><span class="r-in"></span>
<div id="htmlwidget-df9e18718388d372723b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-df9e18718388d372723b">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1639180800000,38],[1639267200000,53],[1639353600000,53],[1639440000000,49],[1639526400000,38],[1639612800000,49],[1639699200000,39],[1639785600000,60],[1639872000000,35],[1639958400000,48],[1640044800000,53],[1640131200000,43],[1640217600000,52],[1640304000000,56],[1640390400000,60],[1640476800000,48],[1640563200000,60],[1640649600000,37],[1640736000000,53],[1640822400000,74]]}],"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.9,"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><span class="r-in"></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># In Shiny</span></span>
<span class="r-in"><span class="kw">if</span> <span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/interactive.html" class="external-link">interactive</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span>

File diff suppressed because one or more lines are too long