npm apexcharts 8.3.1
💎 Version 8.3.1

3 hours ago

A security fix: a node name containing HTML could run script when its treemap, sunburst or icicle tooltip opened. Names and data colours are now escaped there; HTML a tooltip formatter returns still renders. Upgrade if those charts show names that come from user data.

Also faster hover, fewer leftover nodes after updates, and these changes you may notice:

Change What to check
Tooltip node names show as text markup in node names
scrolled skips a pan that moves nothing scrolled counts
animationEnd waits for the last scatter dot work timed off it
An open tooltip stays open on update live or streaming data
Number formatters hide repeated y labels yaxis label formatters

🐛 Fixes

  • Give a repeated x its own CSV row. Thanks @NotAFlightRisk.
  • Count a repeated timestamp once when picking the date format. Thanks @NotAFlightRisk.
  • Give equal categories a stable sort order. Thanks @NotAFlightRisk.
  • Darken a clicked slice whose expandOffset cannot be drawn.
  • Drop the empty breadcrumb band on flat treemaps with zoom.
  • Stop converting a treemap's x axis to numeric.
  • Keep the stagger delay when animateGradually is turned on.
  • Reject chart.type 'constructor' instead of crashing.
  • Fire animationEnd when the last scatter marker lands.
  • Keep an open tooltip open across a data update.
  • Hide repeated labels when a formatter returns numbers.
  • Stop firing scrolled for a pan that does not move the chart.
  • Apply zoom.breadcrumb.offsetY to the zoom breadcrumb.
  • Escape node names in treemap, sunburst and icicle tooltips.

Upgrading is npm install apexcharts@8.3.1.

Full changelog, with the detail behind each change: v8.3.0...v8.3.1

Don't miss a new apexcharts release

NewReleases is sending notifications on new releases.