Skip to content

build(deps): Bump apexcharts from 5.12.0 to 6.10.0 - #8565

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/apexcharts-6.10.0
Open

build(deps): Bump apexcharts from 5.12.0 to 6.10.0#8565
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/apexcharts-6.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 22, 2026

Copy link
Copy Markdown
Contributor

Bumps apexcharts from 5.12.0 to 6.10.0.

Release notes

Sourced from apexcharts's releases.

💎 Version 6.10.0

A feature release built around one question: what if the arrangement of a chart's marks were something you could hand it?

The unit chart already drew one dot per thing counted, and 6.9.0 opened a seam for supplying the positions yourself. This release ships the thing that seam was for. apexcharts/unit-shapes is a companion kit of 39 shapes a count can take: a heart, a house, a globe, a checkmark, a heartbeat trace, or the figure 1,024 drawn in 1,024 dots. Each one is a function of the marks and the plot rectangle rather than a picture, so the same shape serves 40 dots in a sparkline and 3,000 in a poster.

Alongside it: outer name labels for those shapes, so a crowd of dots reads without a legend, and a fix worth reading even if you never draw a heart, because it swallowed any update that changed only a callback.

✨ New

apexcharts/unit-shapes, 39 shapes a count can take

A new entry point, tree-shaken per shape. Importing one costs about 4 KB gzipped; importing the catalog is not something you need to do.

import ApexCharts from 'apexcharts'
import { heart } from 'apexcharts/unit-shapes'
new ApexCharts(el, {
chart: { type: 'unit' },
series: [57600, 16800, 4200, 3400],
labels: ['Repeat donors', 'First-time', 'Workplace drives', 'Emergency call-ups'],
plotOptions: {
unit: { layout: 'custom', positions: heart, unitValue: 100 },
},
}).render()

A shape is a plain callable, so positions: heart needs no registration step, and plotOptions.unit.positions already accepted a function: nothing in the chart had to learn about shapes.

The dots are packed, not stamped onto a template. Rows are cut across the outline, each row split into the spans that fall inside it, and the gap between dots is then bisected until the spans hold exactly the number of marks the data asks for. Density follows the shape's own area, which is why one outline covers three orders of magnitude of dot count. A thin limb, fin or tip keeps its single dot rather than dropping out, because that is what stops a shape dissolving as the count falls.

Three kinds, because things in the world are not all areas:

  • Silhouettes (29) fill an outline: heart, house, tree, leaf, flame, droplet, fish, sun, human, group, star, crown, trophy, moneybag, funnel, shield, gear, robot, bulb, flask, car, plane, rocket, battery, pin, mountain, cross, bolt, arrow.
  • Strokes (7) pack a thickened centreline, for a thing with no interior: check, wifi, pulse, xmark, percent, question, spiral. A dotted checkmark still reads as a checkmark, which is how a stroke degrades where a thin silhouette feature would simply vanish.
  • Generated (3) compute their positions from maths and have no outline at all: globe (latitude rings with a tilt), target (concentric bands), pyramid (tiers).

Every shape carries its metadata: which category it belongs to, how it was made, and minUnits, the count below which it stops being recognisable. Ask for fewer and the chart says so in a console warning naming the shape, rather than rendering mush.

Composition, rather than a bigger catalog

outlined(heart)                  // trace the outline instead of filling it
heart.with({ order: 'cols' })    // where each series band lands inside the shape
glyphs('1,024')                  // the number, drawn in that many dots
preview(heart, { series })       // -> an SVG string, no chart and no DOM

outlined() gives all 29 silhouettes a hollow twin for no new artwork, since a stroked closed path is a ring. The fill order is what decides where each category sits: rows bands a shape top to bottom, cols left to right (which is why battery fills like a charge meter), centerOut puts the first series at its heart. preview() renders a shape to standalone SVG, so docs galleries, README images and launch graphics can be generated at build time or on a server from the catalog alone.

... (truncated)

Commits
  • 177de62 release: 6.10.0
  • 586919e chore: bump version to 6.10.0
  • 92ac754 docs(readme): document the unit-shapes kit
  • 446a0f5 fix(update): an update that changes only a function no longer vanishes
  • 73d9faf fix(unit-shapes): preview() draws series bands, not one flat colour
  • 82148a9 feat(unit-shapes): outline variants, digit composer, four more glyphs
  • 9d1bfbf docs(samples): demos for the three stroke shapes
  • c761847 feat(unit-shapes): stroke region, for shapes made of lines (P3)
  • 3fa81d6 refactor(unit-shapes): drop mortarboard, hand and cloud
  • 9905051 docs(samples): a demo per category for the new shapes, and a 35 shape gallery
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 22, 2026
@github-actions
github-actions Bot enabled auto-merge August 22, 2026 00:47
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/apexcharts-6.10.0 branch 14 times, most recently from aeda3e9 to bd29683 Compare August 25, 2026 02:55
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 5.12.0 to 6.10.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](apexcharts/apexcharts.js@v5.12.0...v6.10.0)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-version: 6.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/apexcharts-6.10.0 branch from bd29683 to 721d8a0 Compare August 25, 2026 03:35
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants