8000 Releases · chartjs/Chart.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: chartjs/Chart.js

v3.7.0

23 Dec 19:06
a5b46a8
Compare
Choose a tag to compare

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

05 Dec 13:47
9fa26f9
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #9939 Stop modifying options in interaction handlers
  • #9938 Fix resolver caching issue when setting values

Development

  • #9953 Bump version to 3.6.2

Thanks to @kurkle

v3.6.1

30 Nov 18:30
688cd47
Compare
Choose a tag to compare

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

Thanks to @LeeLenaleee, @NorthBlue333, @benmccann, @carsonalh, @erictheise, @etimberg, @fishmandev, @igorlukanin and @kurkle

v3.6.0

23 Oct 18:06
40e88ba
Compare
Choose a tag to compare

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

v3.5.1

18 Aug 12:22
4bf42f4
Compare
Choose a tag to compare

Essential Links

  • #9563 support crossAlign on mirrored y-axis

Bugs Fixed

  • #9525 Keep track of parsed array changes when parsing===false
  • #9489 Fix _isPointInArea helper when no area is provided
  • #9469 Remove index interaction override barChart

Types

  • #9550 Grid line z property in TS types
  • #9546 Add number to the title scale padding as type
  • #9490 Types: Add `tooltip` to chart instance
  • #9477 Types: Change `context.chart` to plain `Chart`

Documentation

  • #9555 Fix broken link.
  • #9549 Ensure that docs have more width in the page
  • #9516 fix 2 broken links, clarify order property
  • #9524 Add more details on legend sort function
  • #9503 Fix typo in docs on axes labelling
  • #9479 Move pointStyle types and update plugin link&render chart
  • #9465 Longhand labels key in getting started
  • #9475 Adjust text to code example
  • #9472 Update charts.md

Development

  • #9565 Update to 3.5.1 version number
  • #9556 Remove chart.scale property (always undefined)

Thanks to @LeeLenaleee, @M4sterShake, @Yash-Singh1, @etimberg, @ewanmellor, @juan-cortes, @kurkle, @niklasnoldin and @snoozbuster

v3.5.0

25 Jul 12:05
a8337a3
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #9452 Bar: add 'middle' option for borderSkipped
  • #9450 Add ability to hide specific data element
  • #9451 Add data/dataset indices to line segment context
  • #9364 Layout: support box stacking
  • #9360 Add 'shape' mode for filler-plugin
  • #9327 Adding threshold option to decimation plugin

Bugs Fixed

  • #9431 Ensure getPrototypeOf will not crash on plugin options with no scopes
  • #9448 Fix DomPlatform.isAttached
  • #9447 Apply segment styles with only single segment
  • #9446 Fix interaction on partially visible bar
  • #9444 Typescript 4.2+ compatibility
  • #9443 Don't draw points outside chartArea
  • #9442 Fix: config.platform was ignored
  • #9433 Linear scale handle min === max when abs(max) > Number.MAX_SAFE_INTEGER
  • #9426 lower default value of grid z index so it draws behind chart elements
  • #9425 Properly update stacks when datasets index changes
  • #9413 Fix center axis title positions
  • #9410 Limit Math.asin inputs to the range [-1, 1]
  • #9399 Bar: inflate rects by 0.33px to avoid artifacts
  • #9400 Fix bar direction when minBarLength is applied
  • #9394 Fix stacked box dimension calculation with weights
  • #9353 Adjust legend hitboxes when RTL and each item has a different size
  • #9373 Point label specific scriptable context
  • #9367 Decimation: Prevent buffer overflow

Types

  • #9462 Update radar dataset option typings
  • #9444 Typescript 4.2+ compatibility
  • #9432 Allow dataset specific ChartMeta type extensions
  • #9438 Define bounds as a field common to all cartesian axes options
  • #9403 Add missing resizeDelay option to types
  • #9386 Indicate that `SubTitle` is a plugin in TS types
  • #9385 Fix type linting for merge between two PRs
  • #9363 Resolve warnings from typings
  • #9376 Improve LegendElement and TooltipItem type definitions

Documentation

  • #9458 Adds HTMLCanvasElement as possible value for pointStyle option in the documentation
  • #9384 Add SubTitle to the list of all esm imports

Development

  • #9464 Bump version to 3.5.0, update deps
  • #9414 Update a failing fixture
  • #9363 Resolve warnings from typings

Thanks to @LeeLenaleee, @Nico-DF, @boreq, @drewsonne, @etimberg, @kurkle and @stockiNail

v3.4.1

04 Jul 11:36
dac7101
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #9345 Timeseries: support panning
  • #9343 Account for floating point error in niceNum helper
  • #9341 Enable pointStyle for doughnut, pie, and polar area charts
  • #9340 Ensure correct item is clicked when a horizontal legend is in RTL mode
  • #9326 Fix comma causing Terser issue

Types

  • #9348 Add type tests for float bar / object data arrays
  • #9336 Update types with more possible events
  • #9330 Fix typing of the isoWeekday field

Documentation

  • #9338 Fixes spacing options in the documentation for doughnuts charts

Development

  • #9350 Bump version to 3.4.1

Thanks to @LeeLenaleee, @TriPSs, @etimberg, @kurkle and @stockiNail

v3.4.0

26 Jun 16:21
4bdb57d
Compare
Choose a tag to compare

Essential Links

Enhancements

  • #9294 New plugin: subtitle
  • #9277 Apply maxTicksLimit to grid when ticks are hidden
  • #9286 Fix: Don't use clip/unclipArea when `clip: false`
  • #9262 Docs: Add copy button to code blocks
  • #9208 Bar width and height are always defined regardless of orientation

Bugs Fixed

  • #9290 Legend: fix layout padding handling
  • #9291 Bar: ignore not-grouped bars from group bar count
  • #9287 Filler: skip NaN points from end of segment
  • #9261 Fix updating of active elements
  • #9260 Replace [...set] with Array.from(set)
  • #9252 `null` or `undefined` should skip grid lines in the time scale
  • #9199 Fix rtl legend text alignment
  • #9191 Tick backdrop padding is not scriptable

Types

  • #9318 fix typings
  • #9317 Change callback name in typing and documentation
  • #9292 resolve auto register typescript failure
  • #9284 added fill type to line in options object and to radar dataset options
  • #9263 Fix type definitions and docs for `getPixelForValue`
  • #9226 Add missing types to legend

Documentation

  • #9319 Clarify how to import and use the helper functions with bundlers
  • #9318 fix typings
  • #9317 Change callback name in typing and documentation
  • #9315 Fix broken link in scatter chart doc
  • #9296 Docs: describe catching events with plugin
  • #9263 Fix type definitions and docs for `getPixelForValue`
  • #9262 Docs: Add copy button to code blocks
  • #9237 Docs: fix broken and inconsistent links
  • #9228 Fix broken guidelines url in PR template
  • #9219 Update custom legend onClick example
  • #9207 Add explanation on how to run the samples locally

Development

  • #9322 Bump to version 3.4.0
  • #9276 Refactor radialLinear scale and renderText helper

Thanks to @DPS0340, @LeeLenaleee, @akeinhell, @benlumley, @etimberg, @joshkel and @kurkle

v3.3.2

30 May 19:10
b9389f8
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #9187 Make sure data is parsed before updateElements
  • #9183 Fix error when swapping dataset locations

Development

  • #9190 Bump version to 3.3.2

Thanks to @kurkle

v3.3.1

29 May 21:42
5082d13
Compare
Choose a tag to compare

Essential Links

Bugs Fixed

  • #9181 Linear: Respect bounds option in tick generation
  • #9172 Add declaration for Decimation plugin
  • #9170 Fix clearStacks with custom scaleId
  • #9171 Ignore items outside chart area for interaction
  • #9153 Stop mutating arc state while drawing
  • #9152 Fix: Arc getCenterPoint when full circle

Types

  • #9172 Add declaration for Decimation plugin

Documentation

  • #9173 Add documentation about default scales
  • #9168 Update pointstyle type and default value
  • #9160 show the utils file in the samples page to clarify what the functions do

Development

  • #9182 Version bump to 3.3.1

Thanks to @LeeLenaleee, @etimberg and @kurkle

10C8
0