npm apexcharts 8.0.0
💎 Version 8.0.0

2 hours ago

8.0 takes three chart types and four features out of the default bundle, so most pages download less, and adds a bundle that has everything. If a chart stops drawing after the upgrade, the console names the line to add.

Moved out of the default bundle Import next to 'apexcharts'
unit (with waffle and beeswarm) apexcharts/unit
sunburst apexcharts/sunburst
violin apexcharts/violin
drilldown apexcharts/features/drilldown
waterfall apexcharts/features/waterfall
dumbbell apexcharts/features/dumbbell
streamgraph apexcharts/features/streamgraph

With script tags, add the matching file: dist/unit.js, dist/sunburst.js, dist/violin.js, or dist/features/.js for the four features. Raincloud, already opt-in, now needs dist/violin.js before dist/features/raincloud.js. Add-on tags may come before or after the ApexCharts one. Or load apexcharts.full.min.js (import ApexCharts from 'apexcharts/full' in a bundler), which has every chart type and feature.

On the lean core (apexcharts/core), violin and raincloud also need apexcharts/bar, and a boxPlot or violin of raw observations needs apexcharts/features/stats; without it the console now says so.

Unversioned CDN URLs move to 8.0 today. Pin apexcharts@7 to stay on 7, or add the add-on tags now: the files exist in 7.9.1 too.

🐛 Fixes

  • Keep the chart when an update asks for a chart or series type the page never loaded.
  • Keep the drill state when a level is refused.
  • Point lean-core missing-renderer errors at files that exist.
  • Resolve typed subpaths (apexcharts/core, ssr, client, full) under node10 module resolution.
  • Warn when a boxPlot or violin has raw data and no stats feature.
  • Let a script-tag add-on load before the ApexCharts script.

The default bundle is 263,188 B gzipped, down 28,575 B (9.8%) from 7.9.1. The new full bundle, apexcharts.full.min.js, has every chart type and feature in one file: 381,135 B gzipped.

Upgrading is npm install apexcharts@8.0.0.

Full changelog, with the detail behind each change: v7.9.1...v8.0.0

Don't miss a new apexcharts release

NewReleases is sending notifications on new releases.