Chart.js v3.0.0-beta.5 Release Notes

Release Date: 2020-11-01 // over 3 years ago
  • Essential Links

    ๐Ÿ’ฅ Breaking Changes

    • #7989 Delay resize to just before draw when animating
    • 0๏ธโƒฃ #7979 Relocate dataset defaults to defaults.controllers
    • โšก๏ธ #7949 Add args.mode to before/after update plugin hooks
    • #7936 Rename showLines to showLine
    • #7924 Rename elements to mark as elements, i.e. Arc -> ArcElement
    • ๐Ÿšš #7900 Document getElementsAtEventForMode and remove APIs that can be replaced by it

    โœจ Enhancements

    • #7981 Preserve scriptable context
    • ๐Ÿ’… #7972 feat: Draw tooltips with point styles. Closes #7774
    • #7968 feat: Make options.layout.padding scriptable. Closes #7873
    • #7951 feat: add borderRadius to bar charts. Closes #7701
    • ๐Ÿ’… #7959 Enable overriding the legend pointStyle using new pointStyle option
    • #7955 Enable suggestedMin and suggestedMax settings for logarithmic axes
    • โšก๏ธ #7949 Add args.mode to before/after update plugin hooks
    • #7924 Rename elements to mark as elements, i.e. Arc -> ArcElement
    • #7905 Ability to fill a line to a specified value along an axis
    • #7904 Bar chart base value overrides

    ๐Ÿ› Bugs Fixed

    • #7989 Delay resize to just before draw when animating
    • #7986 Check index bounds of datasets for isDatasetVisible
    • #7983 Tooltip: clear cached animations on initialize
    • #7964 Legend item lineWidth is the average of borderWidth when set as object (Bar)
    • ๐Ÿ”€ #7919 Block incorrect keys in merge code to prevent prototype pollution
    • ๐Ÿ”€ #7917 Use Object.create(null) as merge target, to prevent prototype pollution
    • #7910 Render points while animations are active
    • #7908 Reduce tooltip implied padding at top and bottom edges of the canvas
    • ๐Ÿ‘ป #7906 Fix Maximum call stack size exception in _computeLabelSizes
    • #7899 Fix beginAtZero for logarithmic axes
    • #7897 Share min sample size with all bars on the same scale

    Types

    • #7961 fix return type for setActiveElements

    ๐Ÿ“š Documentation

    • #7988 Use TypeScript syntax highlight for TypeScript code
    • โšก๏ธ #7957 Update stacked line sample to remove duplicate dataset names
    • โšก๏ธ #7953 Update category scale labels types to include string[][]
    • ๐Ÿ“š #7914 Documentation Typos
    • โœ๏ธ #7913 Minor Typos
    • ๐Ÿ“„ #7912 Fix broken url in docs
    • ๐Ÿ“„ #7909 Fix version numbers in Developers section of docs
    • ๐Ÿšš #7900 Document getElementsAtEventForMode and remove APIs that can be replaced by it

    Development

    • #7978 Rename lineTension back to tension
    • 0๏ธโƒฃ #7979 Relocate dataset defaults to defaults.controllers
    • ๐Ÿšš #7939 Move config handling to a dedicated script
    • โšก๏ธ #7949 Add args.mode to before/after update plugin hooks
    • #7936 Rename showLines to showLine
    • โšก๏ธ #7915 Update dependencies
    • ๐Ÿš€ #7911 Stop deploying docs / drafting releases from forks
    • ๐Ÿ’ป #7902 Renamed .browserlistrc to .browserslistrc
    • ๐Ÿšš #7898 Remove circular dependencies from helpers

    Thanks to @danmana, @etimberg, @fab313, @indigolain, @kurkle, @paul-cheung, @silentmatt, @stockiNail and @Yash-Singh1