Chart.js v3.0.0-beta.5 Release Notes
Release Date: 2020-11-01 // over 3 years ago-
Essential Links
- ๐ฆ npm
- ๐ Migration guide
- ๐ Docs
- ๐ API
- Samples
๐ฅ 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