v3.5.0
版本发布时间: 2021-07-25 20:05:22
chartjs/Chart.js最新发布版本:v4.4.4(2024-08-21 04:31:53)
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
1、 chart.js-3.5.0.tgz 277.12KB