Deploying to gh-pages from @ dreamRs/apexcharter@4cbf760e29 🚀

This commit is contained in:
pvictor 2022-12-01 14:29:56 +00:00
parent d0c126e48c
commit 52139c5a7b
51 changed files with 347 additions and 347 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -104,8 +104,8 @@
<span> 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> subtitle <span class="op">=</span> <span class="st">"Variable 1"</span></span>
<span><span class="op">)</span></span></code></pre></div>
<div id="htmlwidget-2a123b3e02bcb837473d" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2a123b3e02bcb837473d">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1669939200000,50],[1670025600000,58],[1670112000000,70],[1670198400000,58],[1670284800000,40],[1670371200000,29],[1670457600000,56],[1670544000000,52],[1670630400000,40],[1670716800000,34],[1670803200000,54],[1670889600000,44],[1670976000000,75],[1671062400000,42],[1671148800000,51],[1671235200000,66],[1671321600000,48],[1671408000000,26],[1671494400000,50],[1671580800000,62]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#2E93fA"],"title":{"text":50.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":"2022-12-02","max":"2022-12-21"},"type":"area"},"evals":[],"jsHooks":[]}</script><p>With more styles :</p>
<div id="htmlwidget-29fa52e1273295f85ba2" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-29fa52e1273295f85ba2">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1669939200000,47],[1670025600000,59],[1670112000000,49],[1670198400000,53],[1670284800000,47],[1670371200000,50],[1670457600000,36],[1670544000000,43],[1670630400000,59],[1670716800000,69],[1670803200000,57],[1670889600000,57],[1670976000000,69],[1671062400000,56],[1671148800000,64],[1671235200000,62],[1671321600000,56],[1671408000000,40],[1671494400000,55],[1671580800000,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":54.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":"2022-12-02","max":"2022-12-21"},"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><span class="fu"><a href="../../reference/spark_box.html">spark_box</a></span><span class="op">(</span></span>
<span> data <span class="op">=</span> <span class="va">spark_data</span>,</span>
@ -115,8 +115,8 @@
<span> 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>,</span>
<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>
<span><span class="op">)</span></span></code></pre></div>
<div id="htmlwidget-356e70265992a176d6a9" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-356e70265992a176d6a9">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1669939200000,50],[1670025600000,58],[1670112000000,70],[1670198400000,58],[1670284800000,40],[1670371200000,29],[1670457600000,56],[1670544000000,52],[1670630400000,40],[1670716800000,34],[1670803200000,54],[1670889600000,44],[1670976000000,75],[1671062400000,42],[1671148800000,51],[1671235200000,66],[1671321600000,48],[1671408000000,26],[1671494400000,50],[1671580800000,62]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#FFF"],"title":{"text":50.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":"2022-12-02","max":"2022-12-21"},"type":"area"},"evals":[],"jsHooks":[]}</script><p>You can also use spark boxes in Shiny application, use code to launch
<div id="htmlwidget-07fc35fa79cd2b946c67" style="width:100%;height:160px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-07fc35fa79cd2b946c67">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1669939200000,47],[1670025600000,59],[1670112000000,49],[1670198400000,53],[1670284800000,47],[1670371200000,50],[1670457600000,36],[1670544000000,43],[1670630400000,59],[1670716800000,69],[1670803200000,57],[1670889600000,57],[1670976000000,69],[1671062400000,56],[1671148800000,64],[1671235200000,62],[1671321600000,56],[1671408000000,40],[1671494400000,55],[1671580800000,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":["#FFF"],"title":{"text":54.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":"2022-12-02","max":"2022-12-21"},"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><span class="fu">run_sparkbox_demo</span><span class="op">(</span><span class="op">)</span></span></code></pre></div>

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: 2022-12-01T13:30Z
last_built: 2022-12-01T14:28Z
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

@ -122,8 +122,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span> <span class="st">"column"</span></span></span>
<span class="r-in"><span> <span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-25d02b736c293faf4b0a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-25d02b736c293faf4b0a">{"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></span>
<div id="htmlwidget-2d868169a52d3cc705e8" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2d868169a52d3cc705e8">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># On a scatter chart</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
@ -133,8 +133,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span></span>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-4210e340e6aed6038e16" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4210e340e6aed6038e16">{"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></span>
<div id="htmlwidget-e49d64cc23882f1f3a3e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e49d64cc23882f1f3a3e">{"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></span>
<span class="r-in"><span><span class="co"># With labels</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">cars</span>,</span></span>
@ -152,8 +152,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span> borderColor <span class="op">=</span> <span class="st">"red"</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-0cdc7ca2c11ed4fad11a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-0cdc7ca2c11ed4fad11a">{"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-8dcca54888db6ee9405a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8dcca54888db6ee9405a">{"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

@ -119,27 +119,27 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span><span class="co"># specify from and to date</span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-aeb5eb005a30de775333" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-aeb5eb005a30de775333">{"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></span>
<div id="htmlwidget-907488964248121a57d7" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-907488964248121a57d7">{"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></span>
<span class="r-in"><span><span class="co"># several events</span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-58532ae0a2ceaf163e57" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-58532ae0a2ceaf163e57">{"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></span>
<div id="htmlwidget-1627156f0260dd82e2e0" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-1627156f0260dd82e2e0">{"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></span>
<span class="r-in"><span><span class="co"># Add labels on events</span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <span class="fu">add_event</span><span class="op">(</span></span></span>
<span class="r-in"><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></span>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-1a15f1f0b4fa01b5c975" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-1a15f1f0b4fa01b5c975">{"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></span>
<div id="htmlwidget-002eda0b2d2c90c158b6" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-002eda0b2d2c90c158b6">{"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></span>
<span class="r-in"><span><span class="co"># can be combined with shade</span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-3f76ec60829e8e964af5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-3f76ec60829e8e964af5">{"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-a18fa5a763c6abf2fd79" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a18fa5a763c6abf2fd79">{"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

@ -156,8 +156,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span> 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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-ba909866ff871ea28472" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ba909866ff871ea28472">{"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></span>
<div id="htmlwidget-225af204557432a1998e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-225af204557432a1998e">{"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></span>
<span class="r-in"><span><span class="co"># Some options</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">iris</span>,</span></span>
@ -172,8 +172,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span> size <span class="op">=</span> <span class="fl">8</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-33946e22718a885cc59b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-33946e22718a885cc59b">{"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></span>
<div id="htmlwidget-8a704a027db9164ebfe6" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8a704a027db9164ebfe6">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Several points</span></span></span>
<span class="r-in"><span><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></span>
@ -186,8 +186,8 @@ or see <code><a href="label.html">label</a></code> for more controls.</p></dd>
<span class="r-in"><span> 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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-17aaa5c47e69f7dcc4eb" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-17aaa5c47e69f7dcc4eb">{"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-127a28b585ba4fd3c8a8" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-127a28b585ba4fd3c8a8">{"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":6.81276595744681,"y":3.07446808510638,"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}}]}},"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

@ -126,8 +126,8 @@ use <code><a href="config_update.html">config_update()</a></code> for more contr
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span><span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-e38486f07fec68390b79" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e38486f07fec68390b79">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[82,57,38,65,77]}],"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></span>
<div id="htmlwidget-a82a167e39b54f0bcbd2" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a82a167e39b54f0bcbd2">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[63,20,15,18,69]}],"xaxis":{"categories":["A","B","C","D","E"]}},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false},"evals":[],"jsHooks":[]}</script><span class="r-in"><span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Or use apexchart() to initialize the chart</span></span></span>
<span class="r-in"><span><span class="co"># before passing parameters</span></span></span>
@ -143,8 +143,8 @@ use <code><a href="config_update.html">config_update()</a></code> for more contr
<span class="r-in"><span> <span class="fu"><a href="ax_xaxis.html">ax_xaxis</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-36d7a91b86665657ee99" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-36d7a91b86665657ee99">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[29,66,22,46,71]}],"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-41387434d661bdc85e58" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-41387434d661bdc85e58">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"Example","data":[49,17,66,31,35]}],"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

@ -102,8 +102,8 @@
<span class="r-in"><span> name <span class="op">=</span> <span class="st">"rnorm"</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-35192deb4f6042c7d001" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-35192deb4f6042c7d001">{"x":{"ax_opts":{"series":[{"name":"rnorm","data":[-1.38456214329168,-1.43431420435145,-2.10895333753997,-0.594018371912229,-1.40557946802595,0.558908135972477,1.46511528570116,-0.617905286814223,-1.23363363331075,-0.237838689716638]}]},"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></span>
<div id="htmlwidget-ca29ea5fd842dff1f796" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ca29ea5fd842dff1f796">{"x":{"ax_opts":{"series":[{"name":"rnorm","data":[-0.622031156109012,-0.0837211135477675,0.296977010683214,-0.343236568398865,0.39697368602622,-1.18757702419025,-0.880838657118505,0.535936478149942,1.42382062599268,1.11398561990778]}]},"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></span>
<span class="r-in"><span><span class="co"># Two series</span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <span class="fu">ax_series</span><span class="op">(</span></span></span>
@ -116,8 +116,8 @@
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-adf45af808976f02103b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-adf45af808976f02103b">{"x":{"ax_opts":{"series":[{"name":"rnorm 1","data":[1.848808292162,-1.59936429832822,0.154551693826813,0.146638880963547,-0.216777865899247,0.320724330795014,-0.743746505737976,1.09516131584842,0.13279231333226,-0.100159701484511]},{"name":"rnorm 2","data":[0.632655170452765,1.04057173275946,-2.48233044273426,-0.391974650884657,1.71114616674321,-0.0362850698190687,0.323689395916575,0.602597971448266,0.574521091609357,0.300790014608376]}]},"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-9ecc5c0a0f018f246476" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9ecc5c0a0f018f246476">{"x":{"ax_opts":{"series":[{"name":"rnorm 1","data":[-0.375604231129934,-0.398835943305394,0.145752861201095,1.12725964222343,0.880817105095181,-0.16940466521289,-0.41070873303173,1.00821875990045,-0.544838874494448,-0.863632648732628]},{"name":"rnorm 2","data":[1.38314688136077,-0.23457478308585,-0.910409719548347,2.48369720965394,-2.40349509296518,-1.72020977135351,-0.0508389575611192,-0.987506299500883,1.14408129007006,-1.18871229656367]}]},"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

@ -136,8 +136,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-2144a6a997c79a81db10" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2144a6a997c79a81db10">{"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></span>
<div id="htmlwidget-424e7582cf57ad86b719" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-424e7582cf57ad86b719">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Vertical line</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
@ -160,8 +160,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-6f8757f5c716105ef616" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6f8757f5c716105ef616">{"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></span>
<div id="htmlwidget-50ec325b1be9fe89328c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-50ec325b1be9fe89328c">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Vertical range</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
@ -185,8 +185,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-5c53e1b68d47a535e7f3" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-5c53e1b68d47a535e7f3">{"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></span>
<div id="htmlwidget-f1412f47b10ff13d2c0d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f1412f47b10ff13d2c0d">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Point annotation</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
@ -215,8 +215,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-52d91a8686014290872b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-52d91a8686014290872b">{"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-fc0ad61f06c12579381a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-fc0ad61f06c12579381a">{"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

@ -101,8 +101,8 @@
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span></span>
<span class="r-in"><span> <span class="fu">ax_colors</span><span class="op">(</span><span class="st">"#F7D358"</span><span class="op">)</span></span></span>
<div id="htmlwidget-973abba92749c7c62b88" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-973abba92749c7c62b88">{"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></span>
<div id="htmlwidget-4800a14757d8e5b55b31" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4800a14757d8e5b55b31">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
@ -110,8 +110,8 @@
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-41b47429ebbcf97690d5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-41b47429ebbcf97690d5">{"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-99d44773503f0d15339b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-99d44773503f0d15339b">{"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

@ -101,8 +101,8 @@
<span class="r-in"><span> <span class="st">"6"</span> <span class="op">=</span> <span class="st">"firebrick"</span>,</span></span>
<span class="r-in"><span> <span class="st">"8"</span> <span class="op">=</span> <span class="st">"forestgreen"</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-0736be2e0d148e9707ed" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-0736be2e0d148e9707ed">{"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></span>
<div id="htmlwidget-98c0484a99fc72a36259" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-98c0484a99fc72a36259">{"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></span>
<span class="r-in"><span><span class="co"># If missing level, colors are recycled</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">mtcars</span>, </span></span>
@ -114,8 +114,8 @@
<span class="r-in"><span> <span class="st">"8"</span> <span class="op">=</span> <span class="st">"forestgreen"</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></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-08b7a277ca626aeccff9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-08b7a277ca626aeccff9">{"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></span>
<div id="htmlwidget-880ac7e5142d5c7a083e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-880ac7e5142d5c7a083e">{"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></span>
<span class="r-in"><span><span class="co"># Ignore levels not present in data</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">mtcars</span>, </span></span>
@ -128,8 +128,8 @@
<span class="r-in"><span> <span class="st">"8"</span> <span class="op">=</span> <span class="st">"forestgreen"</span>,</span></span>
<span class="r-in"><span> <span class="st">"99"</span> <span class="op">=</span> <span class="st">"yellow"</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-de4fcca2a8afca5e2235" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-de4fcca2a8afca5e2235">{"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></span>
<div id="htmlwidget-708e01d82a88477bb01d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-708e01d82a88477bb01d">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co">## Bar</span></span></span>
@ -149,8 +149,8 @@
<span class="r-in"><span> B <span class="op">=</span> <span class="st">"peachpuff"</span>,</span></span>
<span class="r-in"><span> E <span class="op">=</span> <span class="st">"chartreuse"</span></span></span>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-828f0912d6b8738e1bcc" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-828f0912d6b8738e1bcc">{"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":6},{"x":"e","y":3}]},{"name":"B","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":3},{"x":"c","y":7},{"x":"d","y":6},{"x":"e","y":3}]},{"name":"C","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":3},{"x":"c","y":5},{"x":"d","y":4},{"x":"e","y":2}]},{"name":"D","type":"bar","data":[{"x":"a","y":3},{"x":"b","y":5},{"x":"c","y":5},{"x":"d","y":2},{"x":"e","y":2}]},{"name":"E","type":"bar","data":[{"x":"a","y":1},{"x":"b","y":1},{"x":"c","y":4},{"x":"d","y":9},{"x":"e","y":4}]}],"dataLabels":{"enabled":false},"plotOptions":{"bar":{"horizontal":false}},"tooltip":{"shared":true,"intersect":false,"followCursor":true},"yaxis":{"labels":{"style":{"colors":"#848484"}}},"xaxis":{"labels":{"style":{"colors":"#848484"}}},"colors":["steelblue","peachpuff","firebrick","forestgreen","chartreuse"]},"auto_update":{"series_animate":true,"update_options":false,"options_animate":true,"options_redrawPaths":true,"update_synced_charts":false},"sparkbox":false,"type":"column","colors_manual":{"A":"steelblue","C":"firebrick","D":"forestgreen","B":"peachpuff","E":"chartreuse"}},"evals":[],"jsHooks":[]}</script></code></pre></div>
<div id="htmlwidget-aec3eb26299171f5610d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-aec3eb26299171f5610d">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"A","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":2},{"x":"c","y":7},{"x":"d","y":3},{"x":"e","y":5}]},{"name":"B","type":"bar","data":[{"x":"a","y":6},{"x":"b","y":4},{"x":"c","y":4},{"x":"d","y":2},{"x":"e","y":7}]},{"name":"C","type":"bar","data":[{"x":"a","y":5},{"x":"b","y":3},{"x":"c","y":4},{"x":"d","y":3},{"x":"e","y":5}]},{"name":"D","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":1},{"x":"c","y":6},{"x":"d","y":2},{"x":"e","y":1}]},{"name":"E","type":"bar","data":[{"x":"a","y":4},{"x":"b","y":5},{"x":"c","y":7},{"x":"d","y":2},{"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

@ -140,8 +140,8 @@ Accepted values <code>"start"</code>, <code>"middle"</code> or <code>"end"</code
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span></span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-5b44c2816da238ea229e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-5b44c2816da238ea229e">{"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-784cb9bd7ad6b049e0c5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-784cb9bd7ad6b049e0c5">{"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

@ -104,15 +104,15 @@ option. While, in pie/donut charts, each label corresponds to value in series ar
<span class="r-in"><span> <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>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-fad7d27361432082dcee" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-fad7d27361432082dcee">{"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></span>
<div id="htmlwidget-3779b403783b7ec7c764" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-3779b403783b7ec7c764">{"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></span>
<span class="r-in"><span><span class="co"># same as </span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-b09fe998b6c3b4eaeb03" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b09fe998b6c3b4eaeb03">{"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-db6b6f77737ad0a58948" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-db6b6f77737ad0a58948">{"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

@ -114,8 +114,8 @@
<span class="r-in"><span> x <span class="op">=</span> <span class="st">"Month"</span>,</span></span>
<span class="r-in"><span> y <span class="op">=</span> <span class="st">"Temperature (\u00b0C)"</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-4d81667c917ef9c469a6" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4d81667c917ef9c469a6">{"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-f0f8bce8fff959a45020" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f0f8bce8fff959a45020">{"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

@ -199,16 +199,16 @@ when hovered on legend item, it will highlight the paths of the hovered series i
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-f9a26d12691b2865cee8" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f9a26d12691b2865cee8">{"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></span>
<div id="htmlwidget-c53bcf87e59a8934a7d8" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c53bcf87e59a8934a7d8">{"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></span>
<span class="r-in"><span><span class="co"># hide legend</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">mpg</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-57ddb89a83fadd283ff4" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-57ddb89a83fadd283ff4">{"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-401ccc0122ba2317316f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-401ccc0122ba2317316f">{"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

@ -160,8 +160,8 @@
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-95837549478bc94bde7b" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-95837549478bc94bde7b">{"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-b7feeb230010efd36212" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b7feeb230010efd36212">{"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

@ -132,8 +132,8 @@
<span class="r-in"><span> text <span class="op">=</span> <span class="st">"Sorry no data to visualize"</span>,</span></span>
<span class="r-in"><span> fontSize <span class="op">=</span> <span class="st">"30px"</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-8a92ac9ae4c9de60bdfa" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8a92ac9ae4c9de60bdfa">{"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-e73a9fcf967587a08ff8" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e73a9fcf967587a08ff8">{"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

@ -127,8 +127,8 @@
<span class="r-in"><span> <span class="fu">ax_plotOptions</span><span class="op">(</span></span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-488bbf7e8bd3227d2ee5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-488bbf7e8bd3227d2ee5">{"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></span>
<div id="htmlwidget-caba4c8357a8f28eff94" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-caba4c8357a8f28eff94">{"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></span>
<span class="r-in"><span><span class="co"># Pie</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">diamonds</span>,</span></span>
@ -138,8 +138,8 @@
<span class="r-in"><span> <span class="fu">ax_plotOptions</span><span class="op">(</span></span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-12cedd822e33ec77f5bc" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-12cedd822e33ec77f5bc">{"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></span>
<div id="htmlwidget-fbbe4d816eae5b2c70fa" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-fbbe4d816eae5b2c70fa">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Radial</span></span></span>
<span class="r-in"><span><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>
@ -151,8 +151,8 @@
<span class="r-in"><span> <span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-a131415bdcf2258b5a83" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a131415bdcf2258b5a83">{"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-7eed70b188c6347f2efd" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-7eed70b188c6347f2efd">{"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

@ -117,8 +117,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-41459d98c83c25693286" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-41459d98c83c25693286">{"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-69852af44f297f9b2727" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-69852af44f297f9b2727">{"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

@ -120,8 +120,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-d96bc6b65d9494e2f4dc" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d96bc6b65d9494e2f4dc">{"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-f4d7172cbb90fec3a94e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f4d7172cbb90fec3a94e">{"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

@ -114,24 +114,24 @@
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-6702ae98a34d6db75500" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6702ae98a34d6db75500">{"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></span>
<div id="htmlwidget-a514af47629a9f2bf663" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a514af47629a9f2bf663">{"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></span>
<span class="r-in"><span><span class="co"># Use predefined palette (1 to 10)</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">diamonds</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-82c8521bcc195f601d46" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-82c8521bcc195f601d46">{"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></span>
<div id="htmlwidget-20c315a010dbde71a24e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-20c315a010dbde71a24e">{"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></span>
<span class="r-in"><span><span class="co"># monochrome palette</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">diamonds</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-b5c32377743b2c02e002" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b5c32377743b2c02e002">{"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-dcb4a14f913553446f59" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-dcb4a14f913553446f59">{"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

@ -176,24 +176,24 @@ similar to an absolutely positioned element. Set the offsetX and offsetY then to
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-b870d8ca85dc680695f3" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-b870d8ca85dc680695f3">{"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></span>
<div id="htmlwidget-401b367a5fc7670ea4a3" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-401b367a5fc7670ea4a3">{"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></span>
<span class="r-in"><span><span class="co"># force labels to rotate and increase height</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">mpg</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-d299ba624a2a2e86f8b5" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-d299ba624a2a2e86f8b5">{"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></span>
<div id="htmlwidget-56757f0db7766c69b57d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-56757f0db7766c69b57d">{"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></span>
<span class="r-in"><span><span class="co"># force to not rotate</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> data <span class="op">=</span> <span class="va">mpg</span>,</span></span>
<span class="r-in"><span> 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>
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-c0ed008760b78e35d8a3" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c0ed008760b78e35d8a3">{"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></span>
<div id="htmlwidget-2d086424860abc7d6d00" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2d086424860abc7d6d00">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span></span></span>
@ -211,8 +211,8 @@ similar to an absolutely positioned element. Set the offsetX and offsetY then to
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-2b8c2eff55d5c8a1576a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-2b8c2eff55d5c8a1576a">{"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></span>
<div id="htmlwidget-00ad447573cfd3fa7852" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-00ad447573cfd3fa7852">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Date format (zoom to see changes)</span></span></span>
<span class="r-in"><span><span class="fu"><a href="apex.html">apex</a></span><span class="op">(</span></span></span>
@ -229,8 +229,8 @@ similar to an absolutely positioned element. Set the offsetX and offsetY then to
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-3567c05999030c74efb9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-3567c05999030c74efb9">{"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-62b497eaa6ebd6d97bc0" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-62b497eaa6ebd6d97bc0">{"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

@ -135,8 +135,8 @@
<span class="r-in"><span> distributed <span class="op">=</span> <span class="cn">TRUE</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-604194b30f5dbd2ac05a" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-604194b30f5dbd2ac05a">{"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> </span></span>
<div id="htmlwidget-01a4040f0ede96a16650" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-01a4040f0ede96a16650">{"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> </span></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

View File

@ -108,8 +108,8 @@ If a bubble value is too large to cover the chart, this size will be used.</p></
<span class="r-in"><span> maxBubbleRadius <span class="op">=</span> <span class="fl">20</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-0b3b7dda4297a3f3a35c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-0b3b7dda4297a3f3a35c">{"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-a0acfe259ac3fd699764" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a0acfe259ac3fd699764">{"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

@ -107,14 +107,14 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"><span> <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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-47ec6b63d95238e0b65e" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-47ec6b63d95238e0b65e">{"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></span>
<div id="htmlwidget-c767bda5d54b56d22685" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c767bda5d54b56d22685">{"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></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-ea56ce67894685fb7fb6" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-ea56ce67894685fb7fb6">{"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></span>
<div id="htmlwidget-a215ffec49ad49143a61" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a215ffec49ad49143a61">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Percentage</span></span></span>
<span class="r-in"><span><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></span>
@ -126,8 +126,8 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"><span> <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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-9442b657550f8b75c285" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-9442b657550f8b75c285">{"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></span>
<div id="htmlwidget-5c1773e2ea00900a49fe" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-5c1773e2ea00900a49fe">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Currency</span></span></span>
<span class="r-in"><span><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></span>
@ -139,15 +139,15 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"><span> <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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-f6c5b512698596ff4ecf" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f6c5b512698596ff4ecf">{"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></span>
<div id="htmlwidget-e47a625b4859fd35a555" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e47a625b4859fd35a555">{"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></span>
<span class="r-in"><span><span class="co"># Change locale</span></span></span>
<span class="r-in"><span><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>
<span class="r-in"><span> <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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-54acf6b486e12d3bccc9" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-54acf6b486e12d3bccc9">{"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></span>
<div id="htmlwidget-8d5ba960146b95f72d76" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8d5ba960146b95f72d76">{"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Customize tooltip value</span></span></span>
@ -161,8 +161,8 @@ see possible values here: <a href="https://github.com/d3/d3-format/tree/master/l
<span class="r-in"><span> <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>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span><span class="op">)</span></span></span>
<div id="htmlwidget-6b15a6d47b0d7ce43935" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-6b15a6d47b0d7ce43935">{"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></span></span>
<div id="htmlwidget-10757a0d86a21f79ba63" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-10757a0d86a21f79ba63">{"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></span></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

View File

@ -132,8 +132,8 @@
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-a0e0f7f247d4916fe30f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a0e0f7f247d4916fe30f">{"x":{"ax_opts":{"chart":{"type":"heatmap"},"series":[{"name":"Obi-Wan","data":[{"x":"January","y":1},{"x":"February","y":1},{"x":"March","y":0},{"x":"April","y":1},{"x":"May","y":0},{"x":"June","y":0},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":1},{"x":"October","y":0},{"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":0},{"x":"May","y":1},{"x":"June","y":1},{"x":"July","y":0},{"x":"August","y":1},{"x":"September","y":1},{"x":"October","y":0},{"x":"November","y":1},{"x":"December","y":1}]},{"name":"Anakin","data":[{"x":"January","y":0},{"x":"February","y":1},{"x":"March","y":1},{"x":"April","y":0},{"x":"May","y":1},{"x":"June","y":0},{"x":"July","y":1},{"x":"August","y":1},{"x":"September","y":1},{"x":"October","y":0},{"x":"November","y":1},{"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":1},{"x":"June","y":1},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":1},{"x":"October","y":0},{"x":"November","y":0},{"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> </span></span>
<div id="htmlwidget-4c9290b9042d7b455e48" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4c9290b9042d7b455e48">{"x":{"ax_opts":{"chart":{"type":"heatmap"},"series":[{"name":"Obi-Wan","data":[{"x":"January","y":1},{"x":"February","y":1},{"x":"March","y":1},{"x":"April","y":0},{"x":"May","y":1},{"x":"June","y":1},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":1},{"x":"October","y":1},{"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":1},{"x":"May","y":1},{"x":"June","y":0},{"x":"July","y":1},{"x":"August","y":0},{"x":"September","y":0},{"x":"October","y":0},{"x":"November","y":0},{"x":"December","y":1}]},{"name":"Anakin","data":[{"x":"January","y":1},{"x":"February","y":1},{"x":"March","y":0},{"x":"April","y":0},{"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":0},{"x":"December","y":0}]},{"name":"Leia","data":[{"x":"January","y":1},{"x":"February","y":0},{"x":"March","y":0},{"x":"April","y":1},{"x":"May","y":0},{"x":"June","y":0},{"x":"July","y":0},{"x":"August","y":0},{"x":"September","y":0},{"x":"October","y":1},{"x":"November","y":0},{"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> </span></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

View File

@ -128,8 +128,8 @@ and <code>background</code> (The background color of the pie).</p></dd>
<span class="r-in"><span> 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>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<div id="htmlwidget-c7e89a427bee427321f1" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-c7e89a427bee427321f1">{"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-a1ef417680dd93b3f487" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-a1ef417680dd93b3f487">{"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

@ -158,8 +158,8 @@
<span class="r-in"><span> <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>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-f5ae9ab3c32d2d9ed2de" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f5ae9ab3c32d2d9ed2de">{"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-8e2a923a73784f53509f" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-8e2a923a73784f53509f">{"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

@ -144,8 +144,8 @@ with size &gt; 0 and set tooltip's options <code>intersect = TRUE</code> and <co
<span class="r-in"><span><span class="op">)</span> <span class="op"><a href="apexcharter-exports.html">%&gt;%</a></span> </span></span>
<span class="r-in"><span> <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>
<span class="r-in"><span> <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></span>
<div id="htmlwidget-f70d069a89d40b045f06" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-f70d069a89d40b045f06">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"value","type":"bar","data":[{"x":"Jan","y":31},{"x":"Feb","y":67},{"x":"Mar","y":100},{"x":"Apr","y":60},{"x":"May","y":16},{"x":"Jun","y":34},{"x":"Jul","y":52},{"x":"Aug","y":84},{"x":"Sep","y":24},{"x":"Oct","y":59},{"x":"Nov","y":97},{"x":"Dec","y":42}]}],"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></span>
<div id="htmlwidget-e22563d3738bca031c00" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-e22563d3738bca031c00">{"x":{"ax_opts":{"chart":{"type":"bar"},"series":[{"name":"value","type":"bar","data":[{"x":"Jan","y":89},{"x":"Feb","y":28},{"x":"Mar","y":53},{"x":"Apr","y":81},{"x":"May","y":23},{"x":"Jun","y":85},{"x":"Jul","y":55},{"x":"Aug","y":84},{"x":"Sep","y":8},{"x":"Oct","y":60},{"x":"Nov","y":100},{"x":"Dec","y":38}]}],"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></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Interactive examples:</span></span></span>
<span class="r-in"><span><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></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

@ -157,8 +157,8 @@ Boxes have CSS class <code>"apexcharter-spark-box"</code> if you need more styli
<span class="r-in"><span> 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>
<span class="r-in"><span> subtitle <span class="op">=</span> <span class="st">"Variable 1"</span></span></span>
<span class="r-in"><span><span class="op">)</span></span></span>
<div id="htmlwidget-286a9fcafcc8f3f7798c" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-286a9fcafcc8f3f7798c">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1669939200000,48],[1670025600000,48],[1670112000000,64],[1670198400000,62],[1670284800000,57],[1670371200000,51],[1670457600000,31],[1670544000000,42],[1670630400000,34],[1670716800000,61],[1670803200000,46],[1670889600000,47],[1670976000000,54],[1671062400000,46],[1671148800000,40],[1671235200000,48],[1671321600000,39],[1671408000000,44],[1671494400000,55],[1671580800000,59]]}],"dataLabels":{"enabled":false},"stroke":{"curve":"straight","width":2},"yaxis":{"decimalsInFloat":2,"labels":{"style":{"colors":"#848484"}},"show":false},"xaxis":{"type":"datetime","labels":{"style":{"colors":"#848484"}}},"colors":["#2E93fA"],"title":{"text":48.8,"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":"2022-12-02","max":"2022-12-21"},"type":"area"},"evals":[],"jsHooks":[]}</script><span class="r-in"><span></span></span>
<div id="htmlwidget-4476360767df2a4a2b8d" style="width:700px;height:432.632880098888px;" class="apexcharter html-widget"></div>
<script type="application/json" data-for="htmlwidget-4476360767df2a4a2b8d">{"x":{"ax_opts":{"chart":{"type":"area","sparkline":{"enabled":true}},"series":[{"name":"var1","type":"area","data":[[1669939200000,81],[1670025600000,46],[1670112000000,59],[1670198400000,51],[1670284800000,45],[1670371200000,64],[1670457600000,56],[1670544000000,51],[1670630400000,60],[1670716800000,58],[1670803200000,48],[1670889600000,61],[1670976000000,44],[1671062400000,57],[1671148800000,16],[1671235200000,44],[1671321600000,54],[1671408000000,56],[1671494400000,39],[1671580800000,47]]}],"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":51.85,"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":"2022-12-02","max":"2022-12-21"},"type":"area"},"evals":[],"jsHooks":[]}</script><span class="r-in"><span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># In Shiny</span></span></span>
<span class="r-in"><span><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></span>

File diff suppressed because one or more lines are too long