Skip to contents

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() or ax_labs(y = ) after ax_yaxis2()). ax_yaxis2() now also works when no primary y-axis is defined.
  • apex(): argument serie_name was ignored for type = "boxplot" and type = "violin".
  • apex(type = "candlestick"): fixed wrong dates (January 1970) when x is a Date.
  • 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 using new Date() in the browser: this fixes a shift by the browser time zone with POSIXct or datetime strings. Character strings are interpreted in UTC. Date and POSIXct objects can now also be used in add_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, format and na_label are now escaped, so they can contain quotes (e.g. suffix = " d'habitants"). Fixed locale = "de-CH" (thousands separator is an apostrophe), and na_label is now also used for undefined values.
  • apex(type = "heatmap"): missing x aesthetic is now correctly detected.
  • apex(): when counting observations (no y aesthetic), x keeps its Date/POSIXct class, so the x-axis stays a datetime axis. Counts are no longer computed when ymin/ymax aesthetics are used.
  • renderSparkBox() now uses sparkBoxOutput() (default height of 160px when rendered dynamically).
  • ax_forecast_data_points() and ax_nodata(): additional arguments in ... are now passed to ApexCharts.
  • bubble_opts() and boxplot_opts(): all arguments are now optional.
  • Annotations markers: fixed offsetX/offsetY options names.
  • ax_proxy_series() can now update several series at once: use a list of series (each one being a list with a data element, and optionally name, type, …). Passing data for a single serie still works as before.
  • apex(): new type = "waterfall", with optional logical aesthetics subtotal and total to add running total bars. New function waterfall_opts() to use in ax_plotOptions().
  • apex(): documentation of argument type now lists all available types and the aesthetics they use.

apexcharter 0.5.1

CRAN release: 2026-09-23

apexcharter 0.5.0

CRAN release: 2026-06-23

apexcharter 0.4.6

apexcharter 0.4.5

CRAN release: 2026-01-07

apexcharter 0.4.4

CRAN release: 2024-09-06

apexcharter 0.4.3

CRAN release: 2024-05-15

apexcharter 0.4.2

CRAN release: 2024-02-28

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.3.0

CRAN release: 2021-10-21

  • Updated ApexCharts.js to 3.29.0
  • Internal: use {packer} to manage JavaScript assets.
  • d3.format JavaScript functions are now available in browser under format() and formatLocale().

apexcharter 0.2.0

CRAN release: 2021-05-11

apexcharter 0.1.8

CRAN release: 2020-11-18

  • Updated ApexCharts.js to 3.22.2

Bugfixes

  • Fixed bad JavaScript namespace
  • Fixed bug in groups with scatter chart

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 accept polarArea as type of chart.

apexcharter 0.1.6

CRAN release: 2020-09-09

  • Updated ApexCharts.js to 3.20.1
  • New functions add_line() and add_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 argument synchronize to easily synchronize charts together.
  • apex() has new charts type: area-spline, area-step and step.

New functions

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() and set_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_chart for 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).

apexcharter 0.1.1

CRAN release: 2019-07-28

  • First CRAN release: create interactive chart with the JavaScript ‘ApexCharts’ library. Types of graphics available : bars, columns, splines, lines, scatter, pie, donuts, heatmap, gauge.