Releases: chartjs/Chart.js
v3.9.1
v3.9.0
Essential Links
Enhancements
- #10439 feat: remove line element from scatter controller
- #10528 feat: pass some chart options to DateAdapter
- #10405 Add circular prop to arc element
- #10530 Skip all borders if borderSkipped === true
- #10517 parsing: support dot(s) in object keys
- #10519 Enable borderDash option in the grid as scriptable
Performance
- #10517 parsing: support dot(s) in object keys
Bugs Fixed
- #10524 pass boxWidth only if pointStyleWidth presents
- #10523 fix: calc visible points on update #10467
Documentation
- #10527 Add docs for changing from time scale to logarithmic/linear scale
- #10518 Improve docs radial linear grid
- #10522 Fix Stack Overflow tag: chart.js
- #10520 Fix Stack Overflow tag: chart.js
- #10515 Fix dead link on reload or open in new tab
- #10516 Clarifying threshold requirement in the docs for decimation
Development
- #10541 Bump to 3.9.0
Thanks to @LeeLenaleee, @M4sterShake, @benmccann, @dangreen, @kurkle, @peterhauke, @stockiNail, @thabarbados and @touletan
v3.8.2
v3.8.1
Essential Links
Enhancements
Bugs Fixed
- #10484 Resolve plugin defaults for local plugins
- #10489 draw tooltip with object borderwidth
- #10451 Fix options update when changing to shared opts
- #10454 Fix crash with skipNull and uneven datasets
- #10414 Respect `fill: false` with custom draw times
Types
- #10494 Allow clip to be configurable in options object typescript
- #10436 Add index to legendItem interface
- #10404 Add padding to pointLabels type, add type to scriptable context
- #10387 Allow for each dataset to be individually typed without a main type
Documentation
- #10490 document defaults for plugins
- #10497 Update link to be able to use within github
- #10446 Add a stale version warning + a link to the latest version of docs
- #10470 Update integration.md
- #10447 Enforce maximum width on chart editor blocks in the docs
- #10456 Update aspectRatio documentation
- #10415 Update responsive.md
- #10434 Clarify helpers need to be imported when using bundlers
- #10410 Fix typo in link to documentation from sample
- #10400 Fix default value of 'includeInvisible' option in the documentation
- #10392 Clarify api docs
Development
- #10509 Bump to 3.8.1
- #10493 Bump terser from 4.8.0 to 4.8.1
- #10471 Bump moment from 2.29.2 to 2.29.4
- #10431 Bump actions/setup-node from 2 to 3
- #10430 Bump actions/checkout from 2 to 3
- #10393 Bump eventsource from 1.1.0 to 1.1.1
Thanks to @LeeLenaleee, @Pourbahrami, @andrewl64, @dependabot, @dependabot[bot], @etimberg, @ideabrian, @igorlukanin, @kurkle, @naveensrinivasan, @stockiNail and @touletan
v3.8.0
Essential Links
- #10341 Correct auto.esm.js import to allow module to work in browser
- #10316 Use abs() when comparing for spanGaps
- #10320 Bump async from 2.6.3 to 2.6.4
- #10290 Bump moment from 2.29.1 to 2.29.2
- #10260 Bump minimist from 1.2.5 to 1.2.6
- #10204 Bump karma from 6.3.14 to 6.3.16
- #10200 Bump url-parse from 1.5.7 to 1.5.10
- #10198 Bump prismjs from 1.25.0 to 1.27.0
- #10181 Bump url-parse from 1.5.3 to 1.5.7
- #10146 Bump karma from 6.3.9 to 6.3.14
- #10150 Bump log4js from 6.3.0 to 6.4.1
- #10152 Bump engine.io from 6.1.0 to 6.1.2
- #10151 Bump node-fetch from 2.6.6 to 2.6.7
- #10149 Bump follow-redirects from 1.14.6 to 1.14.8
Enhancements
- #10362 Add option to include invisible points
- #10328 Resolve canvasGradient is undefined in node
- #10293 Enable configuration of radial scale point label border radius
- #10278 Allow time scale to offset using skipped ticks
- #10046 Interaction functions
- #10182 Allow individual chart controllers to opt-in to the decimation plugin
- #10088 Make object notation usable for polarArea and radar
- #10106 Add new align 'inner' for X axis
Bugs Fixed
- #10371 Update to v0.2.1 color dependency to fix bug with invalid colours
- #10340 Update scale polarArea correctly on data hide
- #10289 display tooltips only at points in chart area
- #10328 Resolve canvasGradient is undefined in node
- #10301 Trigger legend onLeave when the mouse leaves the canvas
- #10276 Document tooltip draw hooks and only call hooks when the tooltip draws
- #10157 minimum bar length setting keeps bar base in view
Types
- #10364 Types: Allow font to be partial scriptable and individually scriptable
- #10283 Types: add 'middle' to borderSkipped
- #10275 Export types for cartesian and radial tick options
- #10269 add startAngle to radial scale options typings
- #10254 Add missing fields to the ScriptableContext type
- #10179 Allow array for line opts in dataset
Documentation
- #10308 Add links to docs in all the samples
- #10259 Fix a typo in data-structures.md
- #10266 Correct chart initialization flow
- #10250 Update link to filler plugin
- #10184 Fix broken link in Animations docs page.
- #10158 remove hardcoded licenseYear in docs
- #10156 update link to license and bump license year
- #10154 Document scale update plugin hooks
Development
- #10377 Bump to 3.8.0
- #10247 Resolve circulair import filler plugin
- #10243 Replace deprecated String.prototype.substr()
- #10040 Refactor filler plugin for easier maintenance
Thanks to @CommanderRoot, @LeeLenaleee, @Talla2XLC, @akiraaso, @dependabot, @dependabot[bot], @etimberg, @joshkel, @kurkle, @kylejonesdev, @linkviii, @luke-heberling, @msteiger, @pzelnip, @t-mangoe and @yhvicey
v3.7.1
Essential Links
Bugs Fixed
- #10024 Fix using above/below filling option with discontinuous lines
Types
- #10124 Add missing mouse events to CoreChartOptions.events type
- #10133 Allow spanGaps to be specified on LineOptions
- #10137 Ensure that min/max of TimeScaleOptions can be a string
- #10075 fix: allow colors as array
- #10131 Correct type for updateHoverStyle
- #10130 Type Chart.legend property
- #10111 Change repeating alingment string to single type
- #10078 Move scriptable and array to helper function in types
- #10057 add typing and docs for maxTicksLimit all scales
Documentation
- #10138 Sort docs sub menus alphabetically, add line and plugin sample
- #10100 Sort line and bubble dataset options alphabetically
- #10103 Fix typos found by codespell
- #10057 add typing and docs for maxTicksLimit all scales
- #10045 typo Cofiguration
Development
- #10148 Bump to 3.7.1
- #10117 add SubTitle to TS register test
- #10078 Move scriptable and array to helper function in types
- #10038 Improve issue templates
Thanks to @DimitriPapadopoulos, @LeeLenaleee, @LovelyAndy, @caub, @charlesmass2, @etimberg, @jmorel and @stockiNail
v3.7.0
Essential Links
Enhancements
- #9949 Add centerPointLabels option for linear radial scale
- #9970 Limit active element changes to chartArea
- #9944 Improvements to tooltip positioners
- #9933 add beforeDestroy hook
- #9919 Support "r" axis for non-intersecting interaction
- #9920 Feature/active elements on top
- #9877 Add borderJoinStyle option for arc elements
Bugs Fixed
- #10021 radialLinear: fix positioning & scaling
- #10020 radialLinear: fix getIndexAngle when there are no labels (left)
- #10018 radialLinear: Hide pointLabels of hidden data
- #9992 Fix setActiveElements behavior after a mouse event
- #9970 Limit active element changes to chartArea
- #9969 Pass object from array as value to _fallback
Types
- #9986 Types/ type suggestedMin and suggestedMax for time scale
- #9985 Types/Allow min-max as string timescale
- #9937 Types/allow for multiline labels in tick callback
Documentation
- #10013 Docs/Add sample for centered point labels
- #9994 Docs/clarify usage of ticks callback (#9991)
- #9960 Docs/clarify samples
- #9952 Try to improve documentation for new users
Development
- #10011 Bump version to 3.7.0, update deps
Thanks to @LeeLenaleee, @doug-a-brunner, @joshkel, @kurkle, @luukdv and @t-mangoe
v3.6.2
v3.6.1
Essential Links
- #9683 Update stale documentation for axis titles
Bugs Fixed
- #9922 Fix tooltip caret position when it is positioned at the corners
- #9921 Category: Track automatically added labels
- #9915 Chart area boxes receive 0 margin during the final layout process
- #9876 Detect detach/attach in same observation
- #9857 Synchronize data visibility with data changes
- #9871 Fix inRange for full circle arc
- #9872 Configure all datasets before updating any
- #9861 Prevent proxying CanvasGradient in Node platform
- #9855 Fix incomplete TS type for Chart.register + others
- #9831 Pass number format to tooltip
- #9794 Remove scriptability from defaults.font types
Types
- #9917 Add a note about the type parameters of the ChartData type
- #9916 Doughnut chart options have an offset property
- #9858 Types: add autopadding to typing
- #9855 Fix incomplete TS type for Chart.register + others
- #9837 update animation event to include currentStep instead of currentState
- #9834 Types: include initial variable in the AnimationEvent
- #9794 Remove scriptability from defaults.font types
- #9800 Fix object notation border width barchart
Documentation
- #9923 Add notes about more specific options for axes
- #9917 Add a note about the type parameters of the ChartData type
- #9900 Fix a typo in index.md
- #9893 Fix a typo in contributing.md
- #9866 docs: Add a link to front-end integrations
- #9865 Update misleading sample comment
- #9812 Docs/update scale position type
- #9803 Define with let to avoid "assignment to constant" errors
- #9798 New sample: Progressive Line With Easing
- #9791 Update namespace and charts for legend override
- #9787 Add warning about chart types overriding plugin defaults
Development
- #9929 Bump to 3.6.1
Thanks to @LeeLenaleee, @NorthBlue333, @benmccann, @carsonalh, @erictheise, @etimberg, @fishmandev, @igorlukanin and @kurkle
v3.6.0
Essential Links
- #9757 ci(workflow): add cache to workflows using actions/setup-node
- #9587 Ensure that controllers derived from the bar controller work correct in stacked charts
Enhancements
- #9761 Add chart, p0.raw, p1.raw to segment context
- #9758 Support nested scriptable options for datasets
- #9751 Disable animations for BasicPlatform (offcreen)
- #9716 Add layout.autoPadding option
- #9679 Add sanity check for stepSize
- #9625 Configurable tooltip box padding
- #9624 Add sanity checks for scale options
- #9622 Add parsing support to pie/doughnut charts
- #9620 Enable per-corner border radius in tooltip
- #9557 Detect attach/detach from any level
Performance
- #9661 cache also undefined values in option resolver
Bugs Fixed
- #9656 Fix cleaning up metasets
- #9767 Fix stacked fill with lines over multiple scales
- #9764 Bubble: Properly parse radius for non-object data
- #9770 Support nested scriptable defaults for datasets
- #9766 Fix controller.getMinMax for stacked charts
- #9729 Types: Move tooltip methods to model from plugin
- #9719 Linear: determine grace amount from range
- #9718 Fix chart crashing when only min is defined
- #9641 Fix chart crashing when max is defined but ticks are empty
- #9678 Bar: fix too thick borders
- #9644 Fix segment styling with gaps
- #9613 Fix plugin event filtering of renamed events
- #9592 Fix control points on animated line w/o border
Types
- #9729 Types: Move tooltip methods to model from plugin
- #9699 Support false for doughnut and polar area chart animation options
- #9680 Fix some typings issues
- #9634 Add align to interface of scale title config
- #9610 fix getRelativePosition type definition
- #9617 Remove offscreen canvas types
- #9570 Add missing typings of helpers, add automatic test
Documentation
- #9741 Added hyperlink on Chart.js LOGO
- #9720 Fixed 4 links
- #9747 linked LICENSE.md to README
- #9724 docs: fix small error
- #9710 Fix: Typo spaning--> spanning
- #9711 Fix: Typo ingnore-->ignore
- #9708 Fix: Typo that-->than
- #9697 Document sample components file
- #9626 fix: broken link to `cubicInterpolationMode`
- #9618 Update tooltip callback docs
- #9619 Update old codepen links to ones for v3
Development
- #9784 Bump to 3.6.0
- #9755 Fix: Typo 'is less' -> 'are lesser'
- #9744 Changed var to const/let in the docs
- #9646 Remove const me = this pattern
Thanks to @0xflotus, @Flupp, @KurtPreston, @Prashoon123, @SandeepKrSuman, @aha-oretama, @atharva01903, @davidsandoz, @etimberg, @gautammsuthar, @igolskyi, @joshkel, @kurkle, @mikidoodle, @nikethanrai, @oscard0m and @shubham242k