apexcharts/apexcharts.js
 Watch   
 Star   
 Fork   
6 days ago
apexcharts.js

💎 Version 8.9.1

A patch release for the unit chart and the unit shapes kit. A pictogram whose pictogram.scale, padding or fit changes on an update now eases from the size it was drawn at, where every glyph used to jump on the first frame. A narrow row of dots in a unit shape (two to four dots across, such as a funnel or a limb) is kept evenly spaced instead of fanning out into stripes.

Behaviour changes: unit shapes place the dots of rows two to four dots across slightly differently, centred at an even gap; wider rows, and so every shape's width and height, are unchanged. A glyph whose draw settings change on an update now animates the size change instead of applying it at once.

🐛 Fixes

  • Ease a pictogram's size when its scale, padding or fit changes.
  • Keep a narrow row of dots evenly spaced instead of fanning it out.

Upgrading is npm install apexcharts@8.9.1.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.9.0...v8.9.1

7 days ago
apexcharts.js

💎 Version 8.9.0

A minor release. A unit chart's pictogram mark takes its viewBox in the SVG string form ('0 0 24 24'), so an icon's own attribute can be pasted as it is, and a cluster label splits over several lines with "\n". Hovering the hole of a ring glyph keeps its tooltip open instead of flickering, and an open tooltip stays on the mark under a resting pointer across an update.

Behaviour changes: a mark whose viewBox is given but cannot be read now draws pictogram.fallback and warns once, where it used to take the 0..100 box and draw small in a corner of its slot. chart.events.animationEnd now fires for unit charts, once when the marks settle, as it does for every other chart type.

✨ New

  • Read a pictogram viewBox given as an SVG string.
  • Split a cluster label over several lines with "\n".

🐛 Fixes

  • Keep the y-axis hidden when an update passes yaxis. Thanks @lazerg.
  • Hand over stroke width, curve and lineCap on a type change. Thanks @lazerg.
  • Keep a type-owned value the user set equal to the default.
  • Draw a series that ends in null beside a longer one (#5439).
  • Make a sparkline with no tooltip an image, not a tab stop (#5431).
  • Keep the tooltip open over the hole of a ring glyph.
  • Fire animationEnd when a unit chart's marks settle.
  • Keep an open tooltip on a disc among rings across an update.

Upgrading is npm install apexcharts@8.9.0.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.8.2...v8.9.0

11 days ago
apexcharts.js

💎 Version 8.8.2

A patch release. Open tooltips now stay open across data updates, and a drag zoom holds when a framework wrapper re-sends the chart's options on render (pair it with react-apexcharts 2.2.1).

🐛 Fixes

  • Clamp brush drag start and end to the plot (#4934). Thanks @itisrmk.
  • Stop niceScale looping on values that differ by rounding. Thanks @lazerg.
  • Keep the nice step when no axis bound is set. Thanks @lazerg.
  • Mark the animation over after every render. Thanks @arekm.
  • Keep an open tooltip open when an update rebuilds its box. Thanks @arekm.
  • Keep an open intersect tooltip open across an update. Thanks @arekm.
  • Keep a tooltip open across an update after a click. Thanks @arekm.
  • Show a kept tooltip's new data at once, the dot on landing. Thanks @arekm.
  • Run the rounding check after the min/max swap. Thanks @lazerg.
  • Keep an xy zoom and its reset across updateOptions().

Upgrading is npm install apexcharts@8.8.2.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.8.1...v8.8.2

16 days ago
apexcharts.js

💎 Version 8.8.1

A patch release for a resize regression in 8.7.0 and 8.8.0: a chart with a percentage height (chart.height: '100%') inside a parent sized by its content, such as a card holding a heading and the chart, grew taller on every redraw without end. It now keeps its height, as in 8.6.0, and still follows a parent that has a height of its own.

apexcharts.min.js grows by about 130 B gzipped.

🐛 Fixes

  • Stop a percentage height chart growing with its parent.

Upgrading is npm install apexcharts@8.8.1.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.8.0...v8.8.1

16 days ago
apexcharts.js

💎 Version 8.8.0

A minor release: charts can follow an Ignite UI theme, two new family tokens, and colour fixes.

Ignite UI theming is an opt-in add-on. Import apexcharts/features/ignite-ui (or load dist/features/ignite-ui.js after apexcharts.js) and charts take their series colours, text, gridlines, tooltips, menus, font and light or dark variant from the Ignite UI theme on the page. Without the add-on, --ig-* variables are ignored. theme.designSystem: false turns it off for one chart.

New tokens: --apx-font-family sets the chart font, --apx-radius-factor scales the built-in corner radii, and a registered theme takes tokens.font.

Behaviour changes to check when upgrading:

  • A chart.foreColor, grid colour or axis colour the page sets now wins over --apx-fore, --apx-grid and a named theme's tokens, even when it equals the default.
  • --apx-font-family and a named theme's tokens.font set the chart font unless the page sets chart.fontFamily. The context menu, the ink card and the trellis headers, legend and title follow it too (the menus used Helvetica).
  • apexcharts.min.js grows by about 4.9 KB gzipped: the token layers moved onto apex-commons 0.10.0, plus the colour fixes. The add-on is 3.7 KB.

✨ New

  • Follow an Ignite UI theme loaded on the page.
  • Scale fixed corner radii by --apx-radius-factor.
  • Style tooltips and menus from the Ignite UI theme.
  • Load Ignite UI theming from an opt-in add-on.

🐛 Fixes

  • Align horizontal bar points with the row. Thanks @itisrmk.
  • Keep custom legend markers fully opaque (#4711). Thanks @itisrmk.
  • Pass context to y formatter in range tooltips. Thanks @itisrmk.
  • Keep the selected slice in the centre label (#4013). Thanks @itisrmk.
  • Leave no gap for a hidden y axis (#5004). Thanks @nk-batman21.
  • Paint modern CSS colours and container-scoped variables.
  • Keep a named foreColor, apply a late dark mode on render 1.
  • Let ApexCharts.exec reach refreshTokens.

The default bundle is 282,423 B gzipped, up 4,892 B (1.8%) from 8.7.0. The full bundle is 408,174 B gzipped, up 5,497 B (1.4%) from 8.7.0.

Upgrading is npm install apexcharts@8.8.0.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.7.0...v8.8.0

24 days ago
apexcharts.js

💎 Version 8.7.0

A minor release: six chart fixes that first came up in the Blazor wrapper, plus a fix for line series in candlestick charts.

Fixes:

  • A palette you name is kept. theme.palette: 'palette1' in dark mode, or 'palette4' in light mode, used to be swapped for the mode's default at render and after updateOptions. Charts that set no palette still follow the mode, including through undo, redo and perspectives.
  • CSV export writes each point's own x. On a category axis that became numeric (numeric x values with no xaxis.type), rows took the axis tick labels instead, so with tickAmount set the first rows read 1, 40, 80 and so on.
  • An intersect tooltip lists every series whose marker is drawn at the hovered spot, not only the topmost one (#4778).
  • An x range annotation stays drawn when you zoom inside it on a category axis converted to numeric.
  • A line or area series keeps its line when a string x repeats.
  • A single series with numeric x values and no axis type gets its default tick count back, instead of one tick per point (a regression since 8.3.0). An explicit tickAmount: 'dataPoints' is unchanged.
  • A line series in a candlestick chart no longer floors the y axis.

Behaviour changes to check when upgrading:

  • markerClick and dataPointSelection, and click on the SVG renderer, carry a new coincident list naming every point drawn at that spot. seriesIndex and dataPointIndex still name the marker drawn on top. The canvas renderer's click does not carry it; use markerClick there.
  • Where markers overlap, the intersect tooltip shows one row per series.
  • perspectives.capture() and the captured view state include theme.paletteExplicit.
  • CSV output changes for two shapes that were wrong: a category axis converted to numeric now writes each point's x, and a bar chart with Date x values writes the epoch.
  • apexcharts.min.js grows by about 2.6 KB gzipped, mostly the coincident marker lookup in core.

🐛 Fixes

  • Shade the 3D funnel connector of a hex alpha or named colour (#4949). Thanks @nk-batman21.
  • Follow a container that moves in the frame the chart draws.
  • Keep an x range on a zoomed category axis when its ends are off screen.
  • Write each point's own x in the CSV, not the axis ticks.
  • Keep the default tick count on numeric x values with no axis type.
  • List every series whose marker is drawn at the hovered spot.
  • Keep a palette the page names, palette1 and palette4 included.
  • Let undo, perspectives and the default mode keep a defaulted palette following the mode.
  • Keep the chart's tickAmount when an update brings a formatter or categories.
  • Keep the CSV category a string and a Date x its epoch.
  • Keep the line when a string x repeats.
  • Keep a line series in a candlestick chart from flooring the y axis (#5407).

The default bundle is 277,531 B gzipped, up 2,889 B (1.1%) from 8.6.0.

Upgrading is npm install apexcharts@8.7.0.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.6.0...v8.7.0

26 days ago
apexcharts.js

💎 Version 8.6.0

A minor release: ApexCharts stops writing on the element you render into, plus fixes for unit chart updates and destroy timing.

Behaviour changes to check when upgrading:

  • ApexCharts no longer sets min-height on the element passed to new ApexCharts(el). The height it reserves (the chart height plus chart.parentHeightOffset) is now a min-height on its own .apexcharts-canvas wrapper, so a min-height you give the element, through a style prop or a class, applies while the chart is mounted and survives destroy() (react-apexcharts#751). Rendered heights are otherwise unchanged; code that read the reservation from the element should read it from .apexcharts-canvas.
  • Unit chart updates follow chart.animations.dynamicAnimation: 350 ms by default (was 800), and no tween when it is disabled. Set dynamicAnimation: { speed: 800 } for the old pace.

🐛 Fixes

  • Updates follow dynamicAnimation, 350 ms by default (was 800).
  • Resolve tweened var() colours inside the chart.
  • Cancel gesture timers on destroy, start clean on render.
  • Finish an update mid piece-morph on the morph's clock.
  • Leave the host element's min-height to the user.

Upgrading is npm install apexcharts@8.6.0.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.5.0...v8.6.0

2026-10-25 03:12:58
apexcharts.js

💎 Version 8.5.0

A minor release: fixes and features from a batch of 29 issues (#5363 to #5391), plus five contributor PRs.

Behaviour changes to check when upgrading:

  • Trellis panels no longer reserve the empty title band above each plot. Other charts keep it; the grid.padding docs in the types say how far it can be pulled in.
  • Horizontal bar charts thin overlapping category names instead of drawing them over each other.
  • stackType 100% area and line charts now draw percentages, as 100% bars already did.

Also new:

  • radialBar targets ship as an add-on: import apexcharts/features/radial-targets (the full bundle includes it).
  • The plugin API's dashArray now also carries pattern strings and per-series patterns, so a plugin that assumed a number should handle those.
  • Legend and keyboard announcements are translated in every locale. The translations have not had a native-speaker review, so corrections are welcome.

✨ New

  • Full dash patterns everywhere, line caps on annotations (#5383).
  • Trellis panels drop the empty title band above each plot.
  • Thin overlapping category names on horizontal bar charts (#5371).
  • A balanced hide order for overlapping labels (#5378).
  • Tooltip.visible false keeps hover without the box (#5382).
  • Band gap units, radial geometry for plugins, targets add-on (#5374, #5380, #5381).

🐛 Fixes

  • Keep points appended to a hidden series (#3200). Thanks @lbesecker195.
  • Ignore chart click when a selection drag ends (#5060). Thanks @itisrmk.
  • Don't draw end dots for a null row (#4458). Thanks @b84330808.
  • Blend colour scale stops written with a hex alpha. Thanks @Enesuygurs.
  • End a derived linear scale exactly on its max. Thanks @Pharex38.
  • Fade a faded whole's own stroke when there is no outline. Thanks @lazerg.
  • Fire marker hover and selection events. Thanks @lazerg.
  • Honour avoidOverlap.maxShift of 0. Thanks @lazerg.
  • Apply legend.labels.colors to the shared legend. Thanks @lazerg.
  • Hide a stacked column label that is wider than its column. Thanks @lazerg.
  • Keep a covered whole's stroke through the pick and clear frames. Thanks @lazerg.
  • Clear the zoomed flag when updateSeries resets the axes. Thanks @lazerg.
  • UpdateOptions({ trellis: null }) turns the grid back into one chart. Thanks @lazerg.
  • Keep the label of a part of 0 on a stacked bar. Thanks @lazerg.
  • Clear row and column when trellis is set to null. Thanks @lazerg.
  • Keep the grid when two updateOptions calls land in one task. Thanks @lazerg.
  • Warn instead of throwing when the chart type has no annotation groups. Thanks @lazerg.
  • Measure a vertical stacked column label across the column. Thanks @lazerg.
  • Use chart.fontFamily and legend.fontFamily in the HTML chrome. Thanks @lazerg.
  • Place a zero part's label at its part edge. Thanks @lazerg.
  • Remove the Reset Zoom button when updateSeries clears the zoom. Thanks @lazerg.
  • Count exponent-notation decimals in preciseAddition. Thanks @Pharex38.
  • Use stepSize when it divides a fixed min..max window. Thanks @Pharex38.
  • Translate legend and keyboard announcements, fill locale gaps (#5373, #5376).
  • Warn when a needle gauge overrides the indicator (#5385).
  • Keep a hidden series' stroke as drawn with an outline on.
  • Keep the zoomed view across internal updates and on y for xy (#5389, #5369).
  • Keep the edge columns inside the plot while zoomed (#5368).
  • Draw stackType 100% area and line charts as percentages (#5384).
  • Rotate and thin category labels against the drawn plot (#5370).
  • Never rotate radar category names.
  • ResetSeries keeps a legend-hidden series after appendData.

The default bundle is 275,373 B gzipped, up 2,798 B (1.0%) from 8.4.1. The full bundle is 400,755 B gzipped, up 5,279 B (1.3%) from 8.4.1.

Upgrading is npm install apexcharts@8.5.0.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.4.1...v8.5.0

2026-10-21 21:22:13
apexcharts.js

💎 Version 8.4.1

Charts now work inside a shadow root: menus, undo, ink and storyboard keep working, CSS variable colours set on the host resolve against the chart, and exports bake them in. Every chart's styles are injected into its own root and removed when the last chart there is destroyed.

🐛 Fixes

  • Bind the hold-to-measure key after the first render.
  • Keep menus, undo, ink and storyboard working inside a shadow root.
  • Resolve CSS variable colours against the chart, and bake them into exports.
  • Close the export menu on outside presses, resolve treemap scale vars.

Upgrading is npm install apexcharts@8.4.1.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.4.0...v8.4.1

2026-10-20 20:19:45
apexcharts.js

💎 Version 8.4.0

A security fix: a series name, category or goal name containing HTML could run script in the legend or tooltip, also in server-rendered HTML. Data you pass in now shows as text there; HTML a formatter returns still renders. Upgrade if those labels come from user data.

Also less work per render for bars, timelines and treemaps, tooltip.custom on sunburst, icicle and treemap branches, and these changes you may notice:

Change What to check
Names and labels show HTML as text markup in names
tooltip.custom runs on treemap branches custom reading points
Trellis honours chart.zoom.enabled false grids that set it
Sunburst, icicle honour dataLabels.enabled dataLabels.enabled
Sunburst crumb uses drilldown.breadcrumb breadcrumb options

🐛 Fixes

  • Project stream-scroll pathFrom from the joined path (#5316). Thanks @SahinurDEV.
  • Do not expand zero stacked columns by series stroke width (#5046). Thanks @SahinurDEV.
  • Draw series added to a shared logarithmic axis. Thanks @Arthur031221.
  • Read dates past year 9999 as utc, not local time.
  • Fire legendHover once per item, not on every mouse move.
  • Keep reordered series on a shared logarithmic axis (#5353).
  • Ease an axis border from its own extent.
  • Draw server renders the way the browser draws them.
  • Return to a level as it is now, its overrides undone.
  • Honour enabled toggles and settle async levels safely.
  • Hand back the raw series when an alias type is switched off.
  • Grid tooltip reads numeric x and horizontal bars right.
  • Push one panel data patch from render and updateSeries.
  • Keep legend, zoom and tool state in step across rebuilds.
  • Respect zoom.enabled false; edge labels read effective y.
  • Sort dates, leave combo series alone.
  • Restored zoom focus keeps its ancestors.
  • Gradient legend spans explicit colour stops.
  • Keep line forecasts and gradient area strokes on SVG.
  • Paint primitive styling and custom series identity.
  • Divide 100% stacked parts by their own stack's total.
  • Fade every exit ghost, also of a series left empty.
  • Plugin highlight() says null on a nested treemap.
  • Drilled treemap leaves, morph rings, pie part filters.
  • One name per reference series, one warning per dupe set.
  • CSV category labels; export only the promoted panel.
  • Resolve only registered layout names, never inherited ones.
  • Keep the series stroke for the sideways inset of empty columns. Thanks @SahinurDEV.
  • Draw the host subtitle; honour title align and font.
  • Honour tooltip.custom in sunburst and icicle tooltips.
  • Key ISO date strings by epoch on a datetime x axis.
  • Shared y per axis, log decades and clean label decimals.
  • Colour map follows the theme palette and monochrome.
  • Show series names, categories and goal names as text.
  • Keep the stepline run that leads into a null (#4787). Thanks @itisrmk.
  • Keep morph pieces and exit labels in step.
  • Stop padding the user's y axis label colours in place.
  • Ignore a non-number multi-axis bound like a single axis.
  • UpdateSeries(data, false) lands without a tween.
  • Sunburst crumb and morph race, dataLabels.enabled.
  • Honour tooltip.custom in branch tooltips.
  • Close a full-turn slice as a circle so its stroke has no seam. Thanks @itisrmk.
  • Fold an empty stacked column onto its base edge.
  • Draw a zero slice as a lone moveto so morphs still reach it.

The full bundle is 394,666 B gzipped, up 4,585 B (1.2%) from 8.3.1.

Upgrading is npm install apexcharts@8.4.0.

Full changelog, with the detail behind each change: https://github.com/apexcharts/apexcharts.js/compare/v8.3.1...v8.4.0