apexcharter/reference/index.html

447 lines
19 KiB
HTML

<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Function reference • apexcharter</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/Poppins-0.4.9/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Function reference"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
<nav class="navbar fixed-top navbar-dark navbar-expand-lg bg-primary"><div class="container">
<a class="navbar-brand me-2" href="../index.html">apexcharter</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.4.1.9300</small>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
<ul class="navbar-nav me-auto"><li class="nav-item">
<a class="nav-link" href="../articles/apexcharter.html">Get started</a>
</li>
<li class="active nav-item">
<a class="nav-link" href="../reference/index.html">Reference</a>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
<a class="dropdown-item" href="../articles/extra/advanced-configuration.html">Advanced configuration examples</a>
<a class="dropdown-item" href="../articles/extra/chart-options.html">Customize chart options</a>
<a class="dropdown-item" href="../articles/extra/facets.html">Create grid of charts</a>
<a class="dropdown-item" href="../articles/extra/shiny-integration.html">Use in Shiny application</a>
<a class="dropdown-item" href="../articles/extra/spark-box.html">Create boxes with sparklines</a>
<a class="dropdown-item" href="../articles/extra/sync-charts.html">Synchronize charts with each other</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="../news/index.html">Changelog</a>
</li>
</ul><form class="form-inline my-2 my-lg-0" role="search">
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
<ul class="navbar-nav"><li class="nav-item">
<a class="external-link nav-link" href="https://github.com/dreamRs/apexcharter/" aria-label="github">
<span class="fab fa fab fa-github fa-lg"></span>
</a>
</li>
</ul></div>
</div>
</nav><div class="container template-reference-index">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
<img src="" class="logo" alt=""><h1>Function reference</h1>
</div>
<div class="section level2">
<h2 id="all-functions">All functions<a class="anchor" aria-label="anchor" href="#all-functions"></a></h2>
</div><div id="" class="section level2">
<dl><dt>
<code><a href="add-line.html">add_line()</a></code> <code><a href="add-line.html">add_smooth_line()</a></code>
</dt>
<dd>Add a line to a chart</dd>
</dl><dl><dt>
<code><a href="add-shade.html">add_shade()</a></code> <code><a href="add-shade.html">add_shade_weekend()</a></code>
</dt>
<dd>Add a shaded area to a chart</dd>
</dl><dl><dt>
<code><a href="add-vh-lines.html">add_hline()</a></code> <code><a href="add-vh-lines.html">add_vline()</a></code>
</dt>
<dd>Add horizontal or vertical line</dd>
</dl><dl><dt>
<code><a href="add_event.html">add_event()</a></code>
</dt>
<dd>Add an event to a chart</dd>
</dl><dl><dt>
<code><a href="add_event_marker.html">add_event_marker()</a></code>
</dt>
<dd>Add an event marker to a chart</dd>
</dl><dl><dt>
<code><a href="add_point.html">add_point()</a></code>
</dt>
<dd>Add an annotation point</dd>
</dl><dl><dt>
<code><a href="apex-facets.html">ax_facet_wrap()</a></code> <code><a href="apex-facets.html">ax_facet_grid()</a></code>
</dt>
<dd>Facets for ApexCharts</dd>
</dl><dl><dt>
<code><a href="apex.html">apex()</a></code>
</dt>
<dd>Quick ApexCharts</dd>
</dl><dl><dt>
<code><a href="apex_grid.html">apex_grid()</a></code>
</dt>
<dd>Create a grid of ApexCharts</dd>
</dl><dl><dt>
<code><a href="apexchart.html">apexchart()</a></code>
</dt>
<dd>Create an ApexCharts widget</dd>
</dl><dl><dt>
<code><a href="apexchartProxy.html">apexchartProxy()</a></code>
</dt>
<dd>Proxy for <code>apexchart</code></dd>
</dl><dl><dt>
<code><a href="apexcharter-exports.html">apexcharter-exports</a></code> <code><a href="apexcharter-exports.html">%&gt;%</a></code> <code><a href="apexcharter-exports.html">aes</a></code> <code><a href="apexcharter-exports.html">vars</a></code> <code><a href="apexcharter-exports.html">label_value</a></code> <code><a href="apexcharter-exports.html">JS</a></code>
</dt>
<dd>apexcharter exported operators and S3 methods</dd>
</dl><dl><dt>
<code><a href="apexcharter-package.html">apexcharter</a></code> <code><a href="apexcharter-package.html">apexcharter-package</a></code>
</dt>
<dd>An <code>htmlwidget</code> interface to the
ApexCharts javascript chart library</dd>
</dl><dl><dt>
<code><a href="apexcharter-shiny-facets.html">apexfacetOutput()</a></code> <code><a href="apexcharter-shiny-facets.html">renderApexfacet()</a></code>
</dt>
<dd>Shiny bindings for faceting with apexcharter</dd>
</dl><dl><dt>
<code><a href="apexcharter-shiny-grid.html">apexgridOutput()</a></code> <code><a href="apexcharter-shiny-grid.html">renderApexgrid()</a></code>
</dt>
<dd>Shiny bindings for grid with apexcharter</dd>
</dl><dl><dt>
<code><a href="apexcharter-shiny.html">apexchartOutput()</a></code> <code><a href="apexcharter-shiny.html">renderApexchart()</a></code> <code><a href="apexcharter-shiny.html">sparkBoxOutput()</a></code> <code><a href="apexcharter-shiny.html">renderSparkBox()</a></code>
</dt>
<dd>Shiny bindings for apexcharter</dd>
</dl><dl><dt>
<code><a href="ax-series.html">ax_series()</a></code> <code><a href="ax-series.html">ax_series2()</a></code>
</dt>
<dd>Add data to a chart</dd>
</dl><dl><dt>
<code><a href="ax_annotations.html">ax_annotations()</a></code>
</dt>
<dd>Annotations properties</dd>
</dl><dl><dt>
<code><a href="ax_chart.html">ax_chart()</a></code>
</dt>
<dd>Chart parameters</dd>
</dl><dl><dt>
<code><a href="ax_colors.html">ax_colors()</a></code>
</dt>
<dd>Colors</dd>
</dl><dl><dt>
<code><a href="ax_colors_manual.html">ax_colors_manual()</a></code>
</dt>
<dd>Set specific color's series</dd>
</dl><dl><dt>
<code><a href="ax_dataLabels.html">ax_dataLabels()</a></code>
</dt>
<dd>Labels on data</dd>
</dl><dl><dt>
<code><a href="ax_fill.html">ax_fill()</a></code>
</dt>
<dd>Fill property</dd>
</dl><dl><dt>
<code><a href="ax_forecast_data_points.html">ax_forecast_data_points()</a></code>
</dt>
<dd>Forecast data points</dd>
</dl><dl><dt>
<code><a href="ax_grid.html">ax_grid()</a></code>
</dt>
<dd>Add grids on chart</dd>
</dl><dl><dt>
<code><a href="ax_labels.html">ax_labels()</a></code> <code><a href="ax_labels.html">ax_labels2()</a></code>
</dt>
<dd>Alternative axis labels</dd>
</dl><dl><dt>
<code><a href="ax_labs.html">ax_labs()</a></code>
</dt>
<dd>Modify axis, legend, and chart labels</dd>
</dl><dl><dt>
<code><a href="ax_legend.html">ax_legend()</a></code>
</dt>
<dd>Legend properties</dd>
</dl><dl><dt>
<code><a href="ax_markers.html">ax_markers()</a></code>
</dt>
<dd>Markers properties</dd>
</dl><dl><dt>
<code><a href="ax_nodata.html">ax_nodata()</a></code>
</dt>
<dd>Configuration for charts with no data</dd>
</dl><dl><dt>
<code><a href="ax_plotOptions.html">ax_plotOptions()</a></code>
</dt>
<dd>Specific options for chart</dd>
</dl><dl><dt>
<code><a href="ax_proxy_options.html">ax_proxy_options()</a></code>
</dt>
<dd>Proxy for updating options</dd>
</dl><dl><dt>
<code><a href="ax_proxy_series.html">ax_proxy_series()</a></code>
</dt>
<dd>Proxy for updating series.</dd>
</dl><dl><dt>
<code><a href="ax_responsive.html">ax_responsive()</a></code>
</dt>
<dd>Responsive options</dd>
</dl><dl><dt>
<code><a href="ax_states.html">ax_states()</a></code>
</dt>
<dd>Charts' states</dd>
</dl><dl><dt>
<code><a href="ax_stroke.html">ax_stroke()</a></code>
</dt>
<dd>Stroke properties</dd>
</dl><dl><dt>
<code><a href="ax_subtitle.html">ax_subtitle()</a></code>
</dt>
<dd>Chart's subtitle</dd>
</dl><dl><dt>
<code><a href="ax_theme.html">ax_theme()</a></code>
</dt>
<dd>Theme for charts</dd>
</dl><dl><dt>
<code><a href="ax_title.html">ax_title()</a></code>
</dt>
<dd>Chart's title</dd>
</dl><dl><dt>
<code><a href="ax_tooltip.html">ax_tooltip()</a></code>
</dt>
<dd>Tooltip options</dd>
</dl><dl><dt>
<code><a href="ax_xaxis.html">ax_xaxis()</a></code>
</dt>
<dd>X-axis options</dd>
</dl><dl><dt>
<code><a href="ax_yaxis.html">ax_yaxis()</a></code>
</dt>
<dd>Y-axis options</dd>
</dl><dl><dt>
<code><a href="ax_yaxis2.html">ax_yaxis2()</a></code>
</dt>
<dd>Secondary Y-axis options</dd>
</dl><dl><dt>
<code><a href="bar_opts.html">bar_opts()</a></code>
</dt>
<dd>Bar options</dd>
</dl><dl><dt>
<code><a href="boxplot_opts.html">boxplot_opts()</a></code>
</dt>
<dd>Boxplot options</dd>
</dl><dl><dt>
<code><a href="bubble_opts.html">bubble_opts()</a></code>
</dt>
<dd>Bubble options</dd>
</dl><dl><dt>
<code><a href="candles.html">candles</a></code>
</dt>
<dd>Candlestick demo data</dd>
</dl><dl><dt>
<code><a href="climate_paris.html">climate_paris</a></code>
</dt>
<dd>Paris Climate</dd>
</dl><dl><dt>
<code><a href="config_update.html">config_update()</a></code>
</dt>
<dd>Configuration for auto update</dd>
</dl><dl><dt>
<code><a href="consumption.html">consumption</a></code>
</dt>
<dd>Electricity consumption and forecasting</dd>
</dl><dl><dt>
<code><a href="eco2mix.html">eco2mix</a></code>
</dt>
<dd>eco2mix data</dd>
</dl><dl><dt>
<code><a href="events_opts.html">events_opts()</a></code>
</dt>
<dd>Events options</dd>
</dl><dl><dt>
<code><a href="format_date.html">format_date()</a></code>
</dt>
<dd>Format date in JS</dd>
</dl><dl><dt>
<code><a href="format_num.html">format_num()</a></code>
</dt>
<dd>Format numbers (with D3)</dd>
</dl><dl><dt>
<code><a href="heatmap_opts.html">heatmap_opts()</a></code>
</dt>
<dd>Heatmap options</dd>
</dl><dl><dt>
<code><a href="label.html">label()</a></code>
</dt>
<dd>Label for annotations</dd>
</dl><dl><dt>
<code><a href="life_expec.html">life_expec</a></code>
</dt>
<dd>Life expectancy data</dd>
</dl><dl><dt>
<code><a href="parse_df.html">parse_df()</a></code>
</dt>
<dd>Convert a <code>data.frame</code> to a <code>list</code></dd>
</dl><dl><dt>
<code><a href="pie_opts.html">pie_opts()</a></code>
</dt>
<dd>Pie options</dd>
</dl><dl><dt>
<code><a href="radialBar_opts.html">radialBar_opts()</a></code>
</dt>
<dd>Radial bar options</dd>
</dl><dl><dt>
<code><a href="run_demo_input.html">run_demo_input()</a></code>
</dt>
<dd>Run Shiny input events examples</dd>
</dl><dl><dt>
<code><a href="run_demo_sparkbox.html">run_demo_sparkbox()</a></code>
</dt>
<dd>Run Shiny spark boxes example</dd>
</dl><dl><dt>
<code><a href="run_demo_sync.html">run_demo_sync()</a></code>
</dt>
<dd>Run Shiny synchronization example</dd>
</dl><dl><dt>
<code><a href="set_input_click.html">set_input_click()</a></code>
</dt>
<dd>Retrieve click information in Shiny</dd>
</dl><dl><dt>
<code><a href="set_input_export.html">set_input_export()</a></code>
</dt>
<dd>Retrieve chart's base64 dataURI.</dd>
</dl><dl><dt>
<code><a href="set_input_selection.html">set_input_selection()</a></code>
</dt>
<dd>Retrieve selection information in Shiny</dd>
</dl><dl><dt>
<code><a href="set_input_zoom.html">set_input_zoom()</a></code>
</dt>
<dd>Retrieve zoom information in Shiny</dd>
</dl><dl><dt>
<code><a href="set_tooltip_fixed.html">set_tooltip_fixed()</a></code>
</dt>
<dd>Fixed tooltip</dd>
</dl><dl><dt>
<code><a href="spark_box.html">spark_box()</a></code>
</dt>
<dd>Create a box with a sparkline</dd>
</dl><dl><dt>
<code><a href="temperatures.html">temperatures</a></code>
</dt>
<dd>Temperature data</dd>
</dl><dl><dt>
<code><a href="unhcr_ts.html">unhcr_ts</a></code>
</dt>
<dd>UNHCR data by continent of origin</dd>
</dl></div>
</main></div>
<footer><div class="pkgdown-footer-left">
<p></p><p>Developed by <a href="https://twitter.com/_pvictorr" class="external-link"><img src="https://pbs.twimg.com/profile_images/844237339404722177/E1U61aM8_normal.jpg"> Victor Perrier</a>, <a href="https://twitter.com/_mfaan" class="external-link"><img src="https://pbs.twimg.com/profile_images/912313931326218240/o1-wvA18_normal.jpg"> Fanny Meyer</a>.</p>
</div>
<div class="pkgdown-footer-right">
<p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
</div>
</footer></div>
</body></html>