Changelog
Source:NEWS.md
apexcharter 0.5.2
- Updated ApexCharts.js to 8.10.0 (see https://github.com/apexcharts/apexcharts.js/releases).
-
ax_yaxis()/ax_yaxis2(): fixed options being ignored once a secondary y-axis was defined (e.g.ax_yaxis()orax_labs(y = )afterax_yaxis2()).ax_yaxis2()now also works when no primary y-axis is defined. -
apex(): argumentserie_namewas ignored fortype = "boxplot"andtype = "violin". -
apex(type = "candlestick"): fixed wrong dates (January 1970) whenxis aDate. - Dates in annotations (
add_event(),add_event_marker(),add_shade(),add_shade_weekend(),add_point()), timelines and facets scales are now converted to timestamps in R instead of usingnew Date()in the browser: this fixes a shift by the browser time zone withPOSIXctor datetime strings. Character strings are interpreted in UTC.DateandPOSIXctobjects can now also be used inadd_event()/add_shade(). -
format_date()now returns a numeric timestamp (milliseconds since epoch) instead of a JavaScript expression, and is vectorized. -
format_num():prefix,suffix,formatandna_labelare now escaped, so they can contain quotes (e.g.suffix = " d'habitants"). Fixedlocale = "de-CH"(thousands separator is an apostrophe), andna_labelis now also used forundefinedvalues. -
apex(type = "heatmap"): missingxaesthetic is now correctly detected. -
apex(): when counting observations (noyaesthetic),xkeeps itsDate/POSIXctclass, so the x-axis stays a datetime axis. Counts are no longer computed whenymin/ymaxaesthetics are used. -
renderSparkBox()now usessparkBoxOutput()(default height of 160px when rendered dynamically). -
ax_forecast_data_points()andax_nodata(): additional arguments in...are now passed to ApexCharts. -
bubble_opts()andboxplot_opts(): all arguments are now optional. - Annotations markers: fixed
offsetX/offsetYoptions names. -
ax_proxy_series()can now update several series at once: use a list of series (each one being a list with adataelement, and optionallyname,type, …). Passing data for a single serie still works as before. -
apex(): newtype = "waterfall", with optional logical aestheticssubtotalandtotalto add running total bars. New functionwaterfall_opts()to use inax_plotOptions(). -
apex(): documentation of argumenttypenow lists all available types and the aesthetics they use.
apexcharter 0.5.1
CRAN release: 2026-09-23
- Updated ApexCharts.js to 7.4.0 (see https://github.com/apexcharts/apexcharts.js/releases).
apexcharter 0.5.0
CRAN release: 2026-06-23
- Updated ApexCharts.js to 5.15.2 (see https://github.com/apexcharts/apexcharts.js/releases).
-
apex(): added support fortype = "violin", see vignette for an example. -
apexchart()changed default size in rmarkdown document to “400px”.
apexcharter 0.4.6
- Updated ApexCharts.js to 5.10.1 (see https://github.com/apexcharts/apexcharts.js/releases).
apexcharter 0.4.5
CRAN release: 2026-01-07
- Updated ApexCharts.js to 5.3.6 (see https://github.com/apexcharts/apexcharts.js/releases).
-
format_num(): addedna_labelargument to specify how to represent missing values.
apexcharter 0.4.4
CRAN release: 2024-09-06
- Updated ApexCharts.js to 3.53.0 (see https://github.com/apexcharts/apexcharts.js/releases).
-
ax_facet_wrap: fixed a bug generating CSS grid when using an xaxis title.
apexcharter 0.4.3
CRAN release: 2024-05-15
- Updated ApexCharts.js to 3.49.1 (see https://github.com/apexcharts/apexcharts.js/releases).
- New chart type : slope charts.
apexcharter 0.4.2
CRAN release: 2024-02-28
- Updated ApexCharts.js to 3.46.0 (see https://github.com/apexcharts/apexcharts.js/releases).
apexcharter 0.4.1
CRAN release: 2023-06-14
- Updated ApexCharts.js to 3.41.0 (new charts type: dumbbell chart and funnel chart).
-
apex(): added support for boxplot. - New function
ax_forecast_data_points()to mark points as forecasted values.
apexcharter 0.4.0
CRAN release: 2023-01-08
- Updated ApexCharts.js to 3.36.3.
- New chart type : range area charts.
- Facets: correctly manage secondary y axis.
apexcharter 0.3.1
CRAN release: 2022-02-27
- Updated ApexCharts.js to 3.33.1
- Minimal {htmlwidgets} version required >= 1.5.3
apexcharter 0.2.0
CRAN release: 2021-05-11
- Updated ApexCharts.js to 3.26.2
- New functions
ax_facet_wrap()andax_facet_grid()to create faceting charts. - New function
apex_grid()to combine several charts in a grid.
apexcharter 0.1.7
CRAN release: 2020-10-16
- Updated ApexCharts.js to 3.22.0
- New chart type: treemap, see vignette for example.
- New function
ax_colors_manual()to set color mapping manually. -
apex()now acceptpolarAreaas type of chart.
apexcharter 0.1.6
CRAN release: 2020-09-09
- Updated ApexCharts.js to 3.20.1
- New functions
add_line()andadd_smooth_line()to add simple or trend line on charts (scatter & bars). - New Shiny input: export, to retrieve chart’s base64 dataURI.
apexcharter 0.1.5
CRAN release: 2020-06-23
- Updated ApexCharts.js to 3.18.1
- Support for candlestick charts in
apex(). -
apex()has a new argumentsynchronizeto easily synchronize charts together. -
apex()has new charts type: area-spline, area-step and step.
New functions
-
spark_boxto create boxes with sparkline, see corresponding vignette for more details. -
add_shade(),add_shade_weekend(),add_event()to add annotations on time-series charts. -
add_hline(),add_vline(),add_point()to add annotations on charts. -
set_tooltip_fixed()to fix tooltip in specific position.
Bugfixes
- Xaxis datetime now display properly with columns and bars.
- Dark mode wasn’t activated properly in
ax_theme().
apexcharter 0.1.4
CRAN release: 2020-03-31
- Upgraded ApexCharts.js to 3.17.1
- Fixed a bug in grouped bar charts with different levels in groups.
- New vignette to explain how to sync charts.
- New vignette to show shiny usage.
- Added functions
set_input_click(),set_input_zoom()andset_input_selection()to add interaction in Shiny applications.
apexcharter 0.1.3
CRAN release: 2019-11-27
- Upgraded ApexCharts.js to 3.10.1
- New function
format_num()to format labels on y-axis or tooltip for example. - Added localization configs file, see
?ax_chartfor examples.
apexcharter 0.1.2
CRAN release: 2019-08-22
- Upgraded ApexCharts.js to 3.8.2
- Set parent container height to 0 by default (fix #2).