A fix release: about 50 fixes from the rest of the 8.x audit, to stacked and grouped bars, axes, tooltips, morphing, unit charts, treemaps, Weave plugins and server rendering. A few change behaviour you may rely on:
| Change | What to check |
|---|---|
| Ragged date/number stacks stack by x | hidden segments now show |
| seriesGroups may reuse series names | groups stack apart |
| Range column labels get [start, end] | formatters reading val |
| Bar label formatters run once | formatter side effects |
| Sparse numeric bars use the edges | xaxis min/max to pad |
| renderToHTML emits the legend | legend.show: false |
| Treemap branches get their own tooltip | .apexcharts-treemap-tooltip |
Keyboard zoom keys now do nothing on a chart that cannot zoom, and a shared tooltip row hides when tooltip.y.formatter returns null.
🐛 Fixes
- Let tooltip.y.formatter return null to hide a shared row (#5344).
- Toggle a series when a live update rebuilds the legend mid-click (#5345). Thanks @jamalkamaladdin.
- Place a fixed tooltip only in its corner on marker hover.
- Rebind the watermark wrap observer after a full redraw.
- Align plugin overlays with reversed and logarithmic y-axes.
- Keep a legend-hidden series whole on reset with a plugin series.
- Release everything a removed or disabled plugin held.
- Report a failed plugin re-render instead of an unhandled rejection.
- Fly every unit cluster into its own mark on a type change.
- Tile the whole wedge when dots morph to and from a pie.
- Start a type change from the shapes on screen.
- Fade out gradient and pattern marks on a unit type change.
- Let the outgoing chart finish fading after a quick update.
- Fade the grid with the axes and stop all work on destroy.
- Name a flat series list on an axis chart instead of crashing.
- Trim Date and string x on a datetime axis.
- Ease each chart on its own chart.animations.easing.
- Skip the pen reveal for column labels in a line combo.
- Switching theme.name drops the old theme's mode and colours.
- Resolve a CSS variable colour where the chart is.
- Local ticks in the repeated DST hour no longer jump back.
- Destroy() clears the pending tick fade-in.
- Restore zoom tools when a chart becomes zoomable.
- Stop a treemap render overwriting the grid and y-axis config.
- Route appendData and refreshTokens on a trellis host to its grid.
- Honour export options on a trellis host.
- Bound the data reducer's raw stash under chart.streaming.
- Re-decide the numeric category axis when the chart type changes.
- Apply or remove the sparkline preset when updateOptions toggles it.
- Reach crossfilter and perspectives statics from every class copy.
- Fade pie slice labels in after the entrance sweep.
- A root's own color paints its legend marker too.
- Parsing maps rows that also carry an x or y field.
- DataReducer keeps spikes in date and string-valued series.
- Draw a series given in a different format from the others.
- Keep the edge columns of a continuous-x heatmap whole.
- Show the hovered category in the card with 'between' ticks.
- Stop sparse numeric bar charts wasting the plot edges.
- Give zoom back when a horizontal bar turns vertical.
- Fit semicircle pies and donuts to their real arc.
- Continue in-flight pieces through an update.
- Remove a breakpoint's options when it is left (#5347).
- Emit the legend with renderToHTML.
- Stack columns by x and resolve series groups by index.
- Size, label and place bar-family marks from the drawn data.
- Compare every x when checking that series share x.
- Keep log, bound and tick settings on their own axis (#2800).
- Harden synced toolbar and keyboard zoom edge cases.
- Tolerate non-string x and give branches their own tooltip.
Upgrading is npm install apexcharts@8.2.0.
Full changelog, with the detail behind each change: v8.1.0...v8.2.0