chartjs/Chart.js
 Watch   
 Star   
 Fork   
1 days ago
Chart.js

v4.6.2

Essential Links

Bugs Fixed

  • #12411 fix: skip missing active elements when setting hover
  • #12414 fix: apply category bounds after inferring labels
  • #12421 fix: let responsive charts grow back in containers sized by their content
  • #12426 fix: zero tick format bounds, plus docs and tests for the 4.6.2 scale and legend fixes
  • #12415 fix: exclude explicit scale bounds from grace
  • #12379 fix: align inner tick labels inwards on reversed linear axes
  • #12352 fix: do not throw when ticks.format sets only one fraction digits bound
  • #12348 fix(legend): call onLeave on mouseout over a legend item
  • #12339 Fix width calculation for multiline vertical legend labels
  • #12323 Fix resize update mode being an array when resizeDelay is set
  • #12292 fix legend line point style not showing the dataset dash
  • #12282 Fix floating point drift in generated linear scale ticks
  • #12289 fix(scale): make time getValueForPixel the inverse of getPixelForValue
  • #12302 fix: apply number format options to zero ticks
  • #12420 fix(tooltip): tolerate a missing dataset controller on events outside chartArea
  • #12419 fix: update before drawing when a resize arrives before the first update
  • #12194 fix: handle splice with single argument
  • #12286 fix(helpers): resolveObjectKey returns wrong value for Object.prototype keys

Types

  • #12264 fix(types): allow skipNull on bar datasets

Documentation

  • #12404 docs: describe multiple axes with the scales option instead of xAxes/yAxes
  • #12393 docs: fix tooltip titleSpacing, bodySpacing and footerSpacing descriptions
  • #12377 docs(elements): document point and bar hover color options
  • #12338 docs: fix broken in-page anchors
  • #12278 docs: note lineTension rename to tension in v3 migration guide
  • #12410 Clarify chart-specific legend overrides
  • #12228 Minor bug fix in usage.md example code
  • #12394 docs: remove duplicated word in doughnut spacing JSDoc

Development

  • #12433 chore: version bump to 4.6.2 to prepare for release
  • #12424 docs: design the migration of the docs site from VuePress to VitePress
  • #12423 docs: design the migration of the test suite from Karma to Vitest
  • #12402 add oklch colors by updating to @kurkle/color 0.6
  • #12270 Add regression test for enter animation with fractional container width
  • #12417 chore: remove unused coveralls dev dependency
  • #12408 chore: upgrade rollup to v4 and karma/jasmine dependencies
  • #12407 Upgrade to pnpm 12 and node lts 26

Thanks to @Aurantium-47, @Hashim1999164, @HuzaifaChaudary, @MarkAStevens04, @Ph0tonic, @SatvikMishra08, @SrkianFardin25, @UlikGames, @adityajai119, @azizu06, @contactjawad, @dieterstemmet, @etimberg, @farisbasha, @kerdofficial, @kurkle, @kwy404, @ninglinLiu, @pei711, @pentaoa, @puneetdixit200, @spokodev, @veeceey, @wozhenbang2004 and @zizhao-hu

2026-10-23 01:12:42
Chart.js

v4.6.1

Essential Links

  • #12355 fix: trusted publishing fix + version 4.6.1 bump

Thanks to @etimberg

2026-10-23 00:24:36
Chart.js

v4.6.0

Essential Links

  • #12354 chore: version bump to 4.6.0 to prepare for release
  • #12328 test: stabilize overlapping polar-area label fixture

Enhancements

  • #12238 Corrected spacing in pie/doughnut/polarArea (Fixes #10059)
  • #12130 Enable scale title stroke (12092)

Bugs Fixed

  • #12283 filler plugin fill extends past line when offset: true + index scale min/max
  • #12155 Fix early exit from clearStacks
  • #12142 Use integer canvas dimensions

Types

  • #12321 fix(types): allow scriptable and indexed grid tick widths

Documentation

  • #12258 Add a note that axis labels can span lines
  • #12134 docs: Add note about flexbox/grid layout responsivity issue
  • #12139 Fix amount of category scales count in docs

Development

  • #12306 Bump actions/setup-node from 6 to 7
  • #12303 Bump actions/checkout from 6 to 7
  • #12307 Bump pnpm/action-setup from 4.2.0 to 6.1.0
  • #12310 Specify build script for compressed size
  • #12309 Use node 24 for CI
  • #12206 Bump rollup from 3.20.2 to 3.30.0
  • #12207 Bump minimatch from 3.1.2 to 3.1.5
  • #12163 Bump preactjs/compressed-size-action from 2 to 3
  • #12160 Bump actions/checkout from 4 to 6
  • #12159 Bump js-yaml from 3.14.1 to 3.14.2
  • #12138 Bump actions/setup-node from 5 to 6
  • #12133 Bump pnpm/action-setup from 4.1.0 to 4.2.0

Thanks to @DrWarpMan, @LeeLenaleee, @asmenezes, @danielgindi, @dependabot[bot], @etimberg, @jakezwang, @joshkel, @markw65, @sarathkumarsasi and dependabot[bot]

2025-10-13 13:37:11
Chart.js

v4.5.1

Essential Links

Bugs Fixed

  • #12098 Do not notify plugins after their uninstall function has been called
  • #12096 Sync Doughnut chart legend options to legend plugin
  • #12097 Attempt fixing charts shrinking on certain zoom values in Chrome

Types

  • #12122 fix(types): add drawingArea to RadialLinearScale
  • #12120 fix(types): allow null for line chart point values (#12027)
  • #12099 Add data.datasets[].tooltip.callbacks to Typescript types

Development

  • #12132 Bump version to 4.5.1
  • #12118 Bump actions/setup-node from 4 to 5

Thanks to @LeeLenaleee, @anshukushwaha07, @bojidar-bg, @dependabot[bot] and dependabot[bot]

2025-06-15 04:19:17
Chart.js

v4.5.0

Essential Links

Enhancements

  • #11470 Fix min js two renames
  • #12054 [fix] #12048 - Add selfJoin option for doughnut graphs
  • #12058 feature: make above/below colors in filler plugin work with pivoted line charts

Bugs Fixed

  • #12070 Fix: display stacked bar with multiple x-Axis

Types

  • #12064 Document requirement of 'this' when calling tick formatters
  • #12063 Add type definition for beforeEvent changed

Documentation

  • #12088 Fix grammar typo: 'only draw line' -> 'only draw lines'
  • #12087 Fix minified URL for development builds in the docs
  • #12084 fix: correct grammar in segment comments (an segment -> a segment)
  • #12082 Update docs for Developers API
  • #12068 Fix minor typo, missing period

Development

  • #12090 bump version to 4.5.0
  • #12025 Bump pnpm/action-setup from 4.0.0 to 4.1.0

Thanks to @FabTechAT, @Jee-on, @LeeLenaleee, @R2Jeu-prive, @dependabot[bot], @ffdm, @fulldecent, @joshkel, @lucasleung8, @nakanoh, @xavierleune and dependabot[bot]

2025-04-15 21:19:05
Chart.js

v4.4.9

Essential Links

  • #12037 Update docs

Bugs Fixed

  • #12057 fix: respect dataset clipping area when filling line charts

Documentation

  • #12039 Add docs on using from Node.js

Development

  • #12062 Bump version to 4.4.9

Thanks to @LeeLenaleee, @adrianbrs and @joshkel

2025-02-19 23:37:15
Chart.js

v4.4.8

Essential Links

  • #12034 [fix] Handle non-primitives in isNumber

Bugs Fixed

  • #12035 Export ...ParsedData interfaces
  • #12012 Fix helpers `Chart` type
  • #11991 Bugfix: TypeError in Interaction due to out-of-bounds index
  • #11986 Bugfix: return nearest non-null point on interaction when spanGaps=true
  • #11984 Bugfix: span gaps over null values beyond scale limits

Types

  • #12035 Export ...ParsedData interfaces
  • #12012 Fix helpers `Chart` type
  • #12010 Type fixes for time adapters

Documentation

  • #12005 Correct broken link in animations.md
  • #11997 Update linear-step-size.md

Development

  • #12036 chore: bump to v4.4.8

Thanks to @etimberg, @joshkel, @marisst, @pensono and @prems51

2024-12-02 00:35:13
Chart.js

v4.4.7

Essential Links

Types

  • #11521 fix: correct typing for doughnut, pie, and polarArea charts
  • #11948 Export TRBL from geometric

Documentation

  • #11968 Add documentation about setting default tooltip fonts
  • #11962 Show correct title in multi series pie chart example

Development

  • #11969 Chore: bump version to 4.4.7
  • #11959 Bump cross-spawn from 6.0.5 to 6.0.6
  • #11501 Simplify check undefinded

Thanks to @Connormiha, @DustinEwan, @LeeLenaleee, @dependabot and @dependabot[bot]

2024-10-28 21:36:05
Chart.js

v4.4.6

Essential Links

Bugs Fixed

  • #11938 Fix: applyStack() returned the sum of all values for hidden dataset indices, which causes incorrect animations when showing/hiding stacked datasets.

Development

  • #11943 chore: version bump for 4.4.6 release
  • #11933 Fix 404 to samples in release drafter

Thanks to @DeyLak, @LeeLenaleee and @etimberg

2024-10-16 02:50:45
Chart.js

v4.4.5

Essential Links

Bugs Fixed

  • #11927 Don't apply default colors in the colors plugin when defaults are used
  • #11907 Avoid error if borderOpts.dash is undefined
  • #11882 Fix initial dataset stacks

Types

  • #11931 Allow array's in backgroundColor defaults and add hover background and border color to defaults

Documentation

  • #11930 Fix typo in time.md

Development

  • #11932 Bump package version to 4.4.5
  • #11875 Bump socket.io from 4.6.1 to 4.7.5

Thanks to @HieroglypH, @LeeLenaleee, @dependabot, @dependabot[bot] and @dregad