CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 08:13:08 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"2a54ef5cbf35a5098dd91457cbc95ddc"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ND9eF9D9DTVs1rh3iVues0tp5Nve9INahd5Yn1qMune47g85KP52WvVR9gIkssvOBmU1isYB17%2FpzYbkoV1GlOm04m2TCdTgCYZHTCyFH3sf0AFGfQWMSA8uUQBulyMhu9%2FS2IYSdzNVY7OGsk%2BSvwnugnyhuPWvXBuqp3W%2FNl0%2BEiIgthB8HlAj1hxaZYMCSsoXsoTt4R78rBP%2FgJE23Oo8LgJFq%2FMiQvw3FVjBbg5kI%2F3e%2BMwg47KyTBzGl719Q7%2FRctbXJAxtUTZWoPs4BQ%3D%3D--8sd1gNkJ2H0VxYKK--P4%2BCH%2B9sAzRzLdhNx6zdJA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1337220428.1752912787; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 08:13:07 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 08:13:07 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 90EE:0A87:29A580:356E40:687B5393
Release v2.9.0 · chartjs/Chart.js · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12k
v2.9.0
Compare
Breaking changes
- #6131
helpers._decimalPlaces
is now private
Enhancements
- #6527 Hover styling for dataset in 'dataset' mode
- #6268 Implement
dataset.order
- #6509 Make
autoSkip
aware of major ticks - #6460 Implemented RTL support for legends and tooltips
- #6490 HTML DOM building
- #6326 Draw the rightmost grid line when
offsetGridLines
is true - #6343 Handle reverse support in core.scale
- #6289 Support
spanGaps
in radar charts - #6323 Support object values for bar charts
- #6287 Support rotation for
pointStyle
image - #6257 Allow specifying labels in time scale options
- #6281 Support boundary filling modes in radialLinear scale
- #6056 Add support for floating bar chart (
[start, end]
) - #6241 Implement layers (z-index) for layout items
- #5621 Make legend appearance consistent with chart elements
- #5999 Implement per-dataset type (default and per-chart) options
- #6097 Specify time scale
min
andmax
in standard manner - #6141 Legend align option. Thanks @dkichler
- #6128 Make line options scriptable. Thanks @janelledement
Performance
- #6594 Remove a couple calls to
helpers.each
- #6247 Remove duplicate scale building
- #6579 Cache resolved data element options
- #6575 Simplify line drawing
- #6508 Add
ticks.sampleSize
option - #6354 Perf improvement for
ticks.source:'labels'
- #6301 Replace
helpers.each
with for-loops - #6304 Refactor
core.layout
- #6307 Faster major tick calculation
- #6250 Cache
getScaleForId()
calls in the line controller - #6148 Replace
helpers.extend
Bug Fixes
- #6249 Bar options should be defined on dataset instead of scale
- #6556 Inject styles into Shadow DOM when inside Shadow DOM
- #6583 Fix unit determination when
autoSkip
is enabled - #6581 Return correct index/value id in radar/polarArea
- #6580 Fix logarithmic test to use correct scale
- #6528 Make sure
zeroLineIndex
is defined - #6523 Fix right side scale ticks
- #6423 Clamp argument of
toExponential
between 0 and 20. Thanks @veggiesaurus - #6328 Fix
getValueForPixel
in time scale - #6292 Adjust vertical alignment of tooltip items
- #6321 Update dataset metadata when axisID changes
- #6291 Assign unique scale IDs
- #6288 Fix regression in
lineTension
- #6282 Treat null as NaN in radialLinear scale
- #6285 Keep lines on the left and right edges from being cut
- #6269 Apply lineJoin style at the first point in radar charts
- #6280 Fix point label counting in radialLinear scale
- #6279 Treat 0 as a valid point label
- #6265 Utilize
tick.major
intickFormatFunction
- #6264 Apply offset regardless of min/max setting
- #6258 Fix ticks generation for vertical time scale
- #6259 Fix
determineUnitForFormatting
floating point error - #6115 Fix overlapping auto-generated ticks on time scale
- #6238 Fix tooltip title in radar charts
- #6224 Fix arc size calculation when circumference is under 2*PI
- #6215 Fix arc border with circumference over 2*PI
- #5961 Fix tick label rotation and layout issues
- #6182 Use the appropriate time format for auto tick generation
- #6208 Fill before drawing lines
- #6209 Fix missing tooltip value in radar charts
- #6177 Normalize angle for index in radialLinear scale
- #6102 Fix
ticks.minor
andticks.major
issues - #6129 Fix hover animation
- #6120 Improved
helpers.almostWhole
Documentation
- #6585 Add a note to the perf documentation about rotation
- #6554 Add link to linear radial axis for radar chart doc
- #6491 Add
elements.arc.angle
in documentation - #6466 Fixed incorrect spelling in pie dataset options. Thanks @SeppPenner
- #6435 Add link back to home page from docs
- #6393 Add radar chart config options
- #6293 Correct descriptions on
ticks.display
and addpointLabels.display
- #6263 Add sample for radar scriptable options
- #6244 Fix data in timeseries sample
- #6186 Typo in doughnut documentation. Thanks @joshuamcewen
- #6132 Make docs consistent for
cubicInterpolationMode
andfill
. Thanks @stockiNail - #6119 Demonstrate multiple units on timeseries example
- #6139 Documented tooltip alignment options
- #6134 Documented date adapter
Development
- #6507 Improved minimization when calling helpers
- #6497 Reduce indentation
- #6355 Do
autoSkip
inupdate
- #6493 Upgrade rollup and plugins
- #6362 Improved code minimization
- #6360 Create
helpers.math._factorize
- #6351 Lazily compute label sizes
- #6347 Render charts only once in time scale tests
- #6246 Avoid time related deprecation warnings in tests
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
Assets 9
You can’t perform that action at this time.