Releases: chartjs/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
Thanks to @DeyLak, @LeeLenaleee and @etimberg
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
Thanks to @HieroglypH, @LeeLenaleee, @dependabot, @dependabot[bot] and @dregad
v4.4.4
Essential Links
Bugs Fixed
- #11873 Check if range method exists on element before executing it
- #11863 Return false from the average tooltip positioner on no valid data
- #11858 Bugfix/issue 11804 tooltip show for all invisible
- #11851 fix: Unset _resizeBeforeDraw before _resize() call to avoid possible recursion
- #11844 fix issue #11717
- #11788 Fix drawing angle lines on reversed radial scale
Types
- #11867 fix(types): exclude DeepPartial<unknown[]> from ChartOptions interface
- #11862 fix(types): add xCenter and yCenter properties to RadialLinearScale interface
- #11817 Remove box padding from legend types
- #11796 Add fit method to LegendElement interface
- #11780 types: Allow passing undefined for chart options
Documentation
- #11871 Add radial linear scale to docs section of samples
- #11823 Update OffscreenCanvas documentation, as it is widely available now
- #11781 Fix some typos
Development
- #11874 Bump package version to 4.4.4
Thanks to @CatchABus, @LeeLenaleee, @MichelHMachado, @artus9033, @huqingkun, @jdufresne and @joliss
v4.4.3
Essential Links
- #11754 Fix error when object prototype is frozen
Bugs Fixed
- #11764 do not attempt to clear canvas if one does not exist
- #11755 #11450 hide bar by dataindex
- #11690 Create parsed object with correct keys
- #11707 platform.isAttached should return false if canvas is false-y
Documentation
- #11762 Update license year
Development
- #11776 Bump to 4.4.3
- #11773 Bump pnpm/action-setup from 3.0.0 to 4.0.0
- #11720 Bump follow-redirects from 1.15.4 to 1.15.6
Thanks to @DAcodedBEAT, @EricWittrock, @LeeLenaleee, @LiamSwayne, @dependabot and @dependabot[bot]
v4.4.2
Essential Links
Bugs Fixed
- #11685 addListener and removeListener should be only invoked on truthy values
- #11682 fix #11503, autoskipping 0 tick when min is below 0
- #11616 fix(#11615): fix calculating caretX position on stacked bar with index interaction.
Types
- #11662 bugfix #10896 - Changed 'r' to optional for BubbleChart
Documentation
Development
- #11689 Bump to 4.4.2
- #11664 Bump pnpm/action-setup from 2.4.0 to 3.0.0
- #11657 Bump release-drafter/release-drafter from 5 to 6
- #11650 Bump dorny/paths-filter from 2 to 3
- #11636 Bump socket.io-parser from 4.2.2 to 4.2.4
- #11635 Bump follow-redirects from 1.15.2 to 1.15.4
- #11633 Update pnpm lockfile
Thanks to @DAcodedBEAT, @LeeLenaleee, @Megaemce, @dependabot, @dependabot[bot], @mirumirumi, @smoonsf and @waszkiewiczja
v4.4.1
Essential Links
Bugs Fixed
- #11605 Update font spec type
- #11596 Tooltip fixes (getLabelAndValue on null controller, null getParsed)
- #11588 fix: Guard access to window in helpers.dom.ts for browserless rendering
- #11577 Fix backdrop padding
- #11488 Change type of mode in chart.update(mode)
Types
- #11605 Update font spec type
- #11572 fix: Property platform missing from chart configuration typings
- #11569 fix: pass Plugin TType down to hooks chart arg
- #11488 Change type of mode in chart.update(mode)
Documentation
- #11562 Fix migration docs links
- #11483 docs: Fix typo for documentation of plugins.tooltip.textDirection
Development
- #11606 Bump 4.4.1
- #11599 Remove size limit from CI
- #11570 Replace deprecated command with environment file
- #11560 Bump actions/setup-node from 3 to 4
- #11490 fix: simplify check hasFunction
Thanks to @CatchABus, @Cazka, @Connormiha, @LeeLenaleee, @Sengulair, @bboy-chocomint, @dependabot, @dependabot[bot], @jongwooo, @joshkel and @unverbraucht
v4.4.0
Essential Links
Enhancements
- #11404 Add clip option to scale configuration to allow unclipped scales
Bugs Fixed
- #11435 BorderRadius of Bar Chart issue on Firefox 116
Types
- #11348 fix: Add backgroundColor type on CoreScaleOptions
Documentation
- #11439 Replace html extension with md extension for docs
Development
- #11461 Bump 4.4.0
Thanks to @LeeLenaleee, @Mer-cat, @bogdankorshunov and @stockiNail
v4.3.3
Essential Links
- #11432 Revert fix for monotone cubic interpolation
Development
- #11427 Bump pnpm/action-setup from 2.2.4 to 2.4.0
Thanks to @dependabot, @dependabot[bot] and @stockiNail
v4.3.2
Essential Links
Types
Development
- #11423 Bump 4.3.2
Thanks to @LeeLenaleee, @joshkel and @stockiNail
v4.3.1
Essential Links
Bugs Fixed
- #11377 Fix curve path if scale limits are set for line chart
- #11388 Fix time series scale to have each data point is spread equidistant
- #11352 Fix mismatch between hit boxes and drawn items in legend plugin
- #11346 Add text stoke radial linear scale
- #11334 Fix toggling showLine option on scatter controller
Types
- #11403 Add missing feature for disabling plugins in TyeScript
- #11396 Fix type of tickBorderDash in GridLineOptions
- #11187 Split the TimeScaleOptions type into composable sub types
- #11383 fix: add pointStyleWidth to type definitions
- #11358 Add `beforeDraw` to drawtime type
- #11350 Add events property to Plugin defined type
- #11309 Export explicitly the plugin options definition which is augmented by plugins implementation
Documentation
- #11345 Clarify update docs
- #11324 Refined grammar and updated overall .md documentation files
- #11322 minor correction of documentation for 'Grace'
- #11284 Correct tooltip dates displaying incorrectly reported in #11229
- #11300 Expend note that chart must be in its own dedicated container
Development
Thanks to @Frenzie, @LeeLenaleee, @etimberg, @matthewhegarty, @mukham12, @skopz356 and @stockiNail