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
dashArraynow 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: v8.4.1...v8.5.0