100.md (60298B)
1 # PR #100 Update dependency chart.js to v3 2 3 - **Status:** open 4 - **Author:** @renovate[bot] 5 - **Created:** 2021-04-26T17:44:29Z 6 - **Branch:** renovate/chart.js-3.x → master 7 - **Diff:** [100.diff](./100.diff) 8 9 --- 10 11 [](https://renovatebot.com) 12 13 This PR contains the following updates: 14 15 | Package | Change | Age | Adoption | Passing | Confidence | 16 |---|---|---|---|---|---| 17 | [chart.js](https://www.chartjs.org) ([source](https://togithub.com/chartjs/Chart.js)) | [`^2.7.2` -> `^3.0.0`](https://renovatebot.com/diffs/npm/chart.js/2.7.2/3.5.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | 18 19 --- 20 21 ### Release Notes 22 23 <details> 24 <summary>chartjs/Chart.js</summary> 25 26 ### [`v3.5.1`](https://togithub.com/chartjs/Chart.js/releases/v3.5.1) 27 28 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.5.0...v3.5.1) 29 30 ### Essential Links 31 32 - [npm](https://www.npmjs.com/package/chart.js) 33 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 34 - [Docs](https://www.chartjs.org/docs/latest/) 35 - [API](https://www.chartjs.org/docs/latest/api/) 36 - [Samples](https://www.chartjs.org/docs/latest/samples/) 37 38 <!----> 39 40 - [#​9563](https://togithub.com/chartjs/Chart.js/issues/9563) support crossAlign on mirrored y-axis 41 42 #### Bugs Fixed 43 44 - [#​9525](https://togithub.com/chartjs/Chart.js/issues/9525) Keep track of parsed array changes when parsing===false 45 - [#​9489](https://togithub.com/chartjs/Chart.js/issues/9489) Fix \_isPointInArea helper when no area is provided 46 - [#​9469](https://togithub.com/chartjs/Chart.js/issues/9469) Remove index interaction override barChart 47 48 #### Types 49 50 - [#​9550](https://togithub.com/chartjs/Chart.js/issues/9550) Grid line z property in TS types 51 - [#​9546](https://togithub.com/chartjs/Chart.js/issues/9546) Add number to the title scale padding as type 52 - [#​9490](https://togithub.com/chartjs/Chart.js/issues/9490) Types: Add \`tooltip\` to chart instance 53 - [#​9477](https://togithub.com/chartjs/Chart.js/issues/9477) Types: Change \`context.chart\` to plain \`Chart\` 54 55 #### Documentation 56 57 - [#​9555](https://togithub.com/chartjs/Chart.js/issues/9555) Fix broken link. 58 - [#​9549](https://togithub.com/chartjs/Chart.js/issues/9549) Ensure that docs have more width in the page 59 - [#​9516](https://togithub.com/chartjs/Chart.js/issues/9516) fix 2 broken links, clarify order property 60 - [#​9524](https://togithub.com/chartjs/Chart.js/issues/9524) Add more details on legend sort function 61 - [#​9503](https://togithub.com/chartjs/Chart.js/issues/9503) Fix typo in docs on axes labelling 62 - [#​9479](https://togithub.com/chartjs/Chart.js/issues/9479) Move pointStyle types and update plugin link\&render chart 63 - [#​9465](https://togithub.com/chartjs/Chart.js/issues/9465) Longhand labels key in getting started 64 - [#​9475](https://togithub.com/chartjs/Chart.js/issues/9475) Adjust text to code example 65 - [#​9472](https://togithub.com/chartjs/Chart.js/issues/9472) Update charts.md 66 67 #### Development 68 69 - [#​9565](https://togithub.com/chartjs/Chart.js/issues/9565) Update to 3.5.1 version number 70 - [#​9556](https://togithub.com/chartjs/Chart.js/issues/9556) Remove chart.scale property (always undefined) 71 72 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​M4sterShake](https://togithub.com/M4sterShake), [@​Yash-Singh1](https://togithub.com/Yash-Singh1), [@​etimberg](https://togithub.com/etimberg), [@​ewanmellor](https://togithub.com/ewanmellor), [@​juan-cortes](https://togithub.com/juan-cortes), [@​kurkle](https://togithub.com/kurkle), [@​niklasnoldin](https://togithub.com/niklasnoldin) and [@​snoozbuster](https://togithub.com/snoozbuster) 73 74 ### [`v3.5.0`](https://togithub.com/chartjs/Chart.js/releases/v3.5.0) 75 76 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.4.1...v3.5.0) 77 78 ### Essential Links 79 80 - [npm](https://www.npmjs.com/package/chart.js) 81 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 82 - [Docs](https://www.chartjs.org/docs/latest/) 83 - [API](https://www.chartjs.org/docs/latest/api/) 84 - [Samples](https://www.chartjs.org/docs/latest/samples/) 85 86 #### Enhancements 87 88 - [#​9452](https://togithub.com/chartjs/Chart.js/issues/9452) Bar: add 'middle' option for borderSkipped 89 - [#​9450](https://togithub.com/chartjs/Chart.js/issues/9450) Add ability to hide specific data element 90 - [#​9451](https://togithub.com/chartjs/Chart.js/issues/9451) Add data/dataset indices to line segment context 91 - [#​9364](https://togithub.com/chartjs/Chart.js/issues/9364) Layout: support box stacking 92 - [#​9360](https://togithub.com/chartjs/Chart.js/issues/9360) Add 'shape' mode for filler-plugin 93 - [#​9327](https://togithub.com/chartjs/Chart.js/issues/9327) Adding threshold option to decimation plugin 94 95 #### Bugs Fixed 96 97 - [#​9431](https://togithub.com/chartjs/Chart.js/issues/9431) Ensure getPrototypeOf will not crash on plugin options with no scopes 98 - [#​9448](https://togithub.com/chartjs/Chart.js/issues/9448) Fix DomPlatform.isAttached 99 - [#​9447](https://togithub.com/chartjs/Chart.js/issues/9447) Apply segment styles with only single segment 100 - [#​9446](https://togithub.com/chartjs/Chart.js/issues/9446) Fix interaction on partially visible bar 101 - [#​9444](https://togithub.com/chartjs/Chart.js/issues/9444) Typescript 4.2+ compatibility 102 - [#​9443](https://togithub.com/chartjs/Chart.js/issues/9443) Don't draw points outside chartArea 103 - [#​9442](https://togithub.com/chartjs/Chart.js/issues/9442) Fix: config.platform was ignored 104 - [#​9433](https://togithub.com/chartjs/Chart.js/issues/9433) Linear scale handle min === max when abs(max) > Number.MAX_SAFE_INTEGER 105 - [#​9426](https://togithub.com/chartjs/Chart.js/issues/9426) lower default value of grid z index so it draws behind chart elements 106 - [#​9425](https://togithub.com/chartjs/Chart.js/issues/9425) Properly update stacks when datasets index changes 107 - [#​9413](https://togithub.com/chartjs/Chart.js/issues/9413) Fix center axis title positions 108 - [#​9410](https://togithub.com/chartjs/Chart.js/issues/9410) Limit Math.asin inputs to the range \[-1, 1] 109 - [#​9399](https://togithub.com/chartjs/Chart.js/issues/9399) Bar: inflate rects by 0.33px to avoid artifacts 110 - [#​9400](https://togithub.com/chartjs/Chart.js/issues/9400) Fix bar direction when minBarLength is applied 111 - [#​9394](https://togithub.com/chartjs/Chart.js/issues/9394) Fix stacked box dimension calculation with weights 112 - [#​9353](https://togithub.com/chartjs/Chart.js/issues/9353) Adjust legend hitboxes when RTL and each item has a different size 113 - [#​9373](https://togithub.com/chartjs/Chart.js/issues/9373) Point label specific scriptable context 114 - [#​9367](https://togithub.com/chartjs/Chart.js/issues/9367) Decimation: Prevent buffer overflow 115 116 #### Types 117 118 - [#​9462](https://togithub.com/chartjs/Chart.js/issues/9462) Update radar dataset option typings 119 - [#​9444](https://togithub.com/chartjs/Chart.js/issues/9444) Typescript 4.2+ compatibility 120 - [#​9432](https://togithub.com/chartjs/Chart.js/issues/9432) Allow dataset specific ChartMeta type extensions 121 - [#​9438](https://togithub.com/chartjs/Chart.js/issues/9438) Define bounds as a field common to all cartesian axes options 122 - [#​9403](https://togithub.com/chartjs/Chart.js/issues/9403) Add missing resizeDelay option to types 123 - [#​9386](https://togithub.com/chartjs/Chart.js/issues/9386) Indicate that \`SubTitle\` is a plugin in TS types 124 - [#​9385](https://togithub.com/chartjs/Chart.js/issues/9385) Fix type linting for merge between two PRs 125 - [#​9363](https://togithub.com/chartjs/Chart.js/issues/9363) Resolve warnings from typings 126 - [#​9376](https://togithub.com/chartjs/Chart.js/issues/9376) Improve LegendElement and TooltipItem type definitions 127 128 #### Documentation 129 130 - [#​9458](https://togithub.com/chartjs/Chart.js/issues/9458) Adds HTMLCanvasElement as possible value for pointStyle option in the documentation 131 - [#​9384](https://togithub.com/chartjs/Chart.js/issues/9384) Add SubTitle to the list of all esm imports 132 133 #### Development 134 135 - [#​9464](https://togithub.com/chartjs/Chart.js/issues/9464) Bump version to 3.5.0, update deps 136 - [#​9414](https://togithub.com/chartjs/Chart.js/issues/9414) Update a failing fixture 137 - [#​9363](https://togithub.com/chartjs/Chart.js/issues/9363) Resolve warnings from typings 138 139 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​Nico-DF](https://togithub.com/Nico-DF), [@​boreq](https://togithub.com/boreq), [@​drewsonne](https://togithub.com/drewsonne), [@​etimberg](https://togithub.com/etimberg), [@​kurkle](https://togithub.com/kurkle) and [@​stockiNail](https://togithub.com/stockiNail) 140 141 ### [`v3.4.1`](https://togithub.com/chartjs/Chart.js/releases/v3.4.1) 142 143 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.4.0...v3.4.1) 144 145 ### Essential Links 146 147 - [npm](https://www.npmjs.com/package/chart.js) 148 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 149 - [Docs](https://www.chartjs.org/docs/latest/) 150 - [API](https://www.chartjs.org/docs/latest/api/) 151 - [Samples](https://www.chartjs.org/docs/latest/samples/) 152 153 <!----> 154 155 - [#​9349](https://togithub.com/chartjs/Chart.js/issues/9349) Update deps 156 157 #### Bugs Fixed 158 159 - [#​9345](https://togithub.com/chartjs/Chart.js/issues/9345) Timeseries: support panning 160 - [#​9343](https://togithub.com/chartjs/Chart.js/issues/9343) Account for floating point error in niceNum helper 161 - [#​9341](https://togithub.com/chartjs/Chart.js/issues/9341) Enable pointStyle for doughnut, pie, and polar area charts 162 - [#​9340](https://togithub.com/chartjs/Chart.js/issues/9340) Ensure correct item is clicked when a horizontal legend is in RTL mode 163 - [#​9326](https://togithub.com/chartjs/Chart.js/issues/9326) Fix comma causing Terser issue 164 165 #### Types 166 167 - [#​9348](https://togithub.com/chartjs/Chart.js/issues/9348) Add type tests for float bar / object data arrays 168 - [#​9336](https://togithub.com/chartjs/Chart.js/issues/9336) Update types with more possible events 169 - [#​9330](https://togithub.com/chartjs/Chart.js/issues/9330) Fix typing of the isoWeekday field 170 171 #### Documentation 172 173 - [#​9338](https://togithub.com/chartjs/Chart.js/issues/9338) Fixes spacing options in the documentation for doughnuts charts 174 175 #### Development 176 177 - [#​9350](https://togithub.com/chartjs/Chart.js/issues/9350) Bump version to 3.4.1 178 179 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​TriPSs](https://togithub.com/TriPSs), [@​etimberg](https://togithub.com/etimberg), [@​kurkle](https://togithub.com/kurkle) and [@​stockiNail](https://togithub.com/stockiNail) 180 181 ### [`v3.4.0`](https://togithub.com/chartjs/Chart.js/releases/v3.4.0) 182 183 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.3.2...v3.4.0) 184 185 ### Essential Links 186 187 - [npm](https://www.npmjs.com/package/chart.js) 188 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 189 - [Docs](https://www.chartjs.org/docs/latest/) 190 - [API](https://www.chartjs.org/docs/latest/api/) 191 - [Samples](https://www.chartjs.org/docs/latest/samples/) 192 193 #### Enhancements 194 195 - [#​9294](https://togithub.com/chartjs/Chart.js/issues/9294) New plugin: subtitle 196 - [#​9277](https://togithub.com/chartjs/Chart.js/issues/9277) Apply maxTicksLimit to grid when ticks are hidden 197 - [#​9286](https://togithub.com/chartjs/Chart.js/issues/9286) Fix: Don't use clip/unclipArea when \`clip: false\` 198 - [#​9262](https://togithub.com/chartjs/Chart.js/issues/9262) Docs: Add copy button to code blocks 199 - [#​9208](https://togithub.com/chartjs/Chart.js/issues/9208) Bar width and height are always defined regardless of orientation 200 201 #### Bugs Fixed 202 203 - [#​9290](https://togithub.com/chartjs/Chart.js/issues/9290) Legend: fix layout padding handling 204 - [#​9291](https://togithub.com/chartjs/Chart.js/issues/9291) Bar: ignore not-grouped bars from group bar count 205 - [#​9287](https://togithub.com/chartjs/Chart.js/issues/9287) Filler: skip NaN points from end of segment 206 - [#​9261](https://togithub.com/chartjs/Chart.js/issues/9261) Fix updating of active elements 207 - [#​9260](https://togithub.com/chartjs/Chart.js/issues/9260) Replace \[...set] with Array.from(set) 208 - [#​9252](https://togithub.com/chartjs/Chart.js/issues/9252) \`null\` or \`undefined\` should skip grid lines in the time scale 209 - [#​9199](https://togithub.com/chartjs/Chart.js/issues/9199) Fix rtl legend text alignment 210 - [#​9191](https://togithub.com/chartjs/Chart.js/issues/9191) Tick backdrop padding is not scriptable 211 212 #### Types 213 214 - [#​9318](https://togithub.com/chartjs/Chart.js/issues/9318) fix typings 215 - [#​9317](https://togithub.com/chartjs/Chart.js/issues/9317) Change callback name in typing and documentation 216 - [#​9292](https://togithub.com/chartjs/Chart.js/issues/9292) resolve auto register typescript failure 217 - [#​9284](https://togithub.com/chartjs/Chart.js/issues/9284) added fill type to line in options object and to radar dataset options 218 - [#​9263](https://togithub.com/chartjs/Chart.js/issues/9263) Fix type definitions and docs for \`getPixelForValue\` 219 - [#​9226](https://togithub.com/chartjs/Chart.js/issues/9226) Add missing types to legend 220 221 #### Documentation 222 223 - [#​9319](https://togithub.com/chartjs/Chart.js/issues/9319) Clarify how to import and use the helper functions with bundlers 224 - [#​9318](https://togithub.com/chartjs/Chart.js/issues/9318) fix typings 225 - [#​9317](https://togithub.com/chartjs/Chart.js/issues/9317) Change callback name in typing and documentation 226 - [#​9315](https://togithub.com/chartjs/Chart.js/issues/9315) Fix broken link in scatter chart doc 227 - [#​9296](https://togithub.com/chartjs/Chart.js/issues/9296) Docs: describe catching events with plugin 228 - [#​9263](https://togithub.com/chartjs/Chart.js/issues/9263) Fix type definitions and docs for \`getPixelForValue\` 229 - [#​9262](https://togithub.com/chartjs/Chart.js/issues/9262) Docs: Add copy button to code blocks 230 - [#​9237](https://togithub.com/chartjs/Chart.js/issues/9237) Docs: fix broken and inconsistent links 231 - [#​9228](https://togithub.com/chartjs/Chart.js/issues/9228) Fix broken guidelines url in PR template 232 - [#​9219](https://togithub.com/chartjs/Chart.js/issues/9219) Update custom legend onClick example 233 - [#​9207](https://togithub.com/chartjs/Chart.js/issues/9207) Add explanation on how to run the samples locally 234 235 #### Development 236 237 - [#​9322](https://togithub.com/chartjs/Chart.js/issues/9322) Bump to version 3.4.0 238 - [#​9276](https://togithub.com/chartjs/Chart.js/issues/9276) Refactor radialLinear scale and renderText helper 239 240 Thanks to [@​DPS0340](https://togithub.com/DPS0340), [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​akeinhell](https://togithub.com/akeinhell), [@​benlumley](https://togithub.com/benlumley), [@​etimberg](https://togithub.com/etimberg), [@​joshkel](https://togithub.com/joshkel) and [@​kurkle](https://togithub.com/kurkle) 241 242 ### [`v3.3.2`](https://togithub.com/chartjs/Chart.js/releases/v3.3.2) 243 244 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.3.1...v3.3.2) 245 246 ### Essential Links 247 248 - [npm](https://www.npmjs.com/package/chart.js) 249 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 250 - [Docs](https://www.chartjs.org/docs/latest/) 251 - [API](https://www.chartjs.org/docs/latest/api/) 252 - [Samples](https://www.chartjs.org/docs/latest/samples/) 253 254 #### Bugs Fixed 255 256 - [#​9187](https://togithub.com/chartjs/Chart.js/issues/9187) Make sure data is parsed before updateElements 257 - [#​9183](https://togithub.com/chartjs/Chart.js/issues/9183) Fix error when swapping dataset locations 258 259 #### Development 260 261 - [#​9190](https://togithub.com/chartjs/Chart.js/issues/9190) Bump version to 3.3.2 262 263 Thanks to [@​kurkle](https://togithub.com/kurkle) 264 265 ### [`v3.3.1`](https://togithub.com/chartjs/Chart.js/releases/v3.3.1) 266 267 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.3.0...v3.3.1) 268 269 ### Essential Links 270 271 - [npm](https://www.npmjs.com/package/chart.js) 272 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 273 - [Docs](https://www.chartjs.org/docs/latest/) 274 - [API](https://www.chartjs.org/docs/latest/api/) 275 - [Samples](https://www.chartjs.org/docs/latest/samples/) 276 277 #### Bugs Fixed 278 279 - [#​9181](https://togithub.com/chartjs/Chart.js/issues/9181) Linear: Respect bounds option in tick generation 280 - [#​9172](https://togithub.com/chartjs/Chart.js/issues/9172) Add declaration for Decimation plugin 281 - [#​9170](https://togithub.com/chartjs/Chart.js/issues/9170) Fix clearStacks with custom scaleId 282 - [#​9171](https://togithub.com/chartjs/Chart.js/issues/9171) Ignore items outside chart area for interaction 283 - [#​9153](https://togithub.com/chartjs/Chart.js/issues/9153) Stop mutating arc state while drawing 284 - [#​9152](https://togithub.com/chartjs/Chart.js/issues/9152) Fix: Arc getCenterPoint when full circle 285 286 #### Types 287 288 - [#​9172](https://togithub.com/chartjs/Chart.js/issues/9172) Add declaration for Decimation plugin 289 290 #### Documentation 291 292 - [#​9173](https://togithub.com/chartjs/Chart.js/issues/9173) Add documentation about default scales 293 - [#​9168](https://togithub.com/chartjs/Chart.js/issues/9168) Update pointstyle type and default value 294 - [#​9160](https://togithub.com/chartjs/Chart.js/issues/9160) show the utils file in the samples page to clarify what the functions do 295 296 #### Development 297 298 - [#​9182](https://togithub.com/chartjs/Chart.js/issues/9182) Version bump to 3.3.1 299 300 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​etimberg](https://togithub.com/etimberg) and [@​kurkle](https://togithub.com/kurkle) 301 302 ### [`v3.3.0`](https://togithub.com/chartjs/Chart.js/releases/v3.3.0) 303 304 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.2.1...v3.3.0) 305 306 ### Essential Links 307 308 - [npm](https://www.npmjs.com/package/chart.js) 309 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 310 - [Docs](https://www.chartjs.org/docs/latest/) 311 - [API](https://www.chartjs.org/docs/latest/api/) 312 - [Samples](https://www.chartjs.org/docs/latest/samples/) 313 314 #### Enhancements 315 316 - [#​9084](https://togithub.com/chartjs/Chart.js/issues/9084) Support monotone cubic interpolation for vertical line charts 317 - [#​9088](https://togithub.com/chartjs/Chart.js/issues/9088) Fix element reset animations in vertical line and bubble charts 318 - [#​9020](https://togithub.com/chartjs/Chart.js/issues/9020) Add includeBounds option for cartesian ticks 319 320 #### Bugs Fixed 321 322 - [#​9129](https://togithub.com/chartjs/Chart.js/issues/9129) Further improve linear tick collision estimation 323 - [#​9122](https://togithub.com/chartjs/Chart.js/issues/9122) Show correct decimal places when using count but \`min\` is not an integer 324 - [#​9118](https://togithub.com/chartjs/Chart.js/issues/9118) Fix arc offset calculation 325 - [#​9120](https://togithub.com/chartjs/Chart.js/issues/9120) Fix animations when data is replaced 326 - [#​9121](https://togithub.com/chartjs/Chart.js/issues/9121) Fix doughnut rotation on float edge cases 327 - [#​9105](https://togithub.com/chartjs/Chart.js/issues/9105) Delay data to elements synchronization to update 328 - [#​9101](https://togithub.com/chartjs/Chart.js/issues/9101) Make sure context indices are up to date 329 - [#​9062](https://togithub.com/chartjs/Chart.js/issues/9062) Fix setting options in array of objects 330 - [#​9067](https://togithub.com/chartjs/Chart.js/issues/9067) Fix polar area tooltip item label 331 - [#​9060](https://togithub.com/chartjs/Chart.js/issues/9060) add derived axis default values 332 - [#​9050](https://togithub.com/chartjs/Chart.js/issues/9050) Fix detecting changed events 333 - [#​9015](https://togithub.com/chartjs/Chart.js/issues/9015) Round canvas.style dimensions to avoid blurring 334 - [#​9046](https://togithub.com/chartjs/Chart.js/issues/9046) Types: Export DecimationAlgorithm as const 335 - [#​9045](https://togithub.com/chartjs/Chart.js/issues/9045) Allow scale to auto-adjust it's min when stacked 336 - [#​9042](https://togithub.com/chartjs/Chart.js/issues/9042) Fix line segments with alignToPixel 337 - [#​9027](https://togithub.com/chartjs/Chart.js/issues/9027) Fix: Avoid negative layout dimensions 338 339 #### Types 340 341 - [#​9124](https://togithub.com/chartjs/Chart.js/issues/9124) Correctly extend ExtendedPlugin interface 342 - [#​9123](https://togithub.com/chartjs/Chart.js/issues/9123) Add missing props to ChartArea type 343 - [#​9046](https://togithub.com/chartjs/Chart.js/issues/9046) Types: Export DecimationAlgorithm as const 344 345 #### Documentation 346 347 - [#​9147](https://togithub.com/chartjs/Chart.js/issues/9147) Improved error message when no date adapter provided 348 - [#​9146](https://togithub.com/chartjs/Chart.js/issues/9146) Fix scales option in example 349 - [#​9126](https://togithub.com/chartjs/Chart.js/issues/9126) Add attribute to custom legend onclick sample 350 - [#​9115](https://togithub.com/chartjs/Chart.js/issues/9115) Add documentation note about only styling the parent div 351 - [#​9111](https://togithub.com/chartjs/Chart.js/issues/9111) remove double sentence and adjust scale to scales.r 352 - [#​9044](https://togithub.com/chartjs/Chart.js/issues/9044) HTML legend handles doughnut/pie charts 353 - [#​9030](https://togithub.com/chartjs/Chart.js/issues/9030) fix typo on api.md 354 - [#​9024](https://togithub.com/chartjs/Chart.js/issues/9024) Docs update file location pointers 355 356 #### Development 357 358 - [#​9149](https://togithub.com/chartjs/Chart.js/issues/9149) Bump version to 3.3, update dependencies 359 - [#​9102](https://togithub.com/chartjs/Chart.js/issues/9102) Upgrade dependencies 360 - [#​9091](https://togithub.com/chartjs/Chart.js/issues/9091) Add test for issue 9085 361 362 Thanks to [@​Flupp](https://togithub.com/Flupp), [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​esuEichi](https://togithub.com/esuEichi), [@​etimberg](https://togithub.com/etimberg), [@​jonrimmer](https://togithub.com/jonrimmer), [@​joshkel](https://togithub.com/joshkel), [@​kurkle](https://togithub.com/kurkle), [@​nagix](https://togithub.com/nagix) and [@​sylhare](https://togithub.com/sylhare) 363 364 ### [`v3.2.1`](https://togithub.com/chartjs/Chart.js/releases/v3.2.1) 365 366 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.2.0...v3.2.1) 367 368 ### Essential Links 369 370 - [npm](https://www.npmjs.com/package/chart.js) 371 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 372 - [Docs](https://www.chartjs.org/docs/latest/) 373 - [API](https://www.chartjs.org/docs/latest/api/) 374 - [Samples](https://www.chartjs.org/docs/latest/samples/) 375 376 #### Bugs Fixed 377 378 - [#​9012](https://togithub.com/chartjs/Chart.js/issues/9012) Enable scriptable element chart options 379 - [#​9008](https://togithub.com/chartjs/Chart.js/issues/9008) Fix for enabling monotone cubicInterpolationMode when tension is 0 380 - [#​8995](https://togithub.com/chartjs/Chart.js/issues/8995) Ignore truncated pixels in bar width calculation 381 - [#​8983](https://togithub.com/chartjs/Chart.js/issues/8983) Improve linear tick generators collision estimation 382 383 #### Types 384 385 - [#​9012](https://togithub.com/chartjs/Chart.js/issues/9012) Enable scriptable element chart options 386 - [#​9010](https://togithub.com/chartjs/Chart.js/issues/9010) Add test for DecimationAlgorithm type 387 388 #### Documentation 389 390 - [#​9011](https://togithub.com/chartjs/Chart.js/issues/9011) Add documentation on tooltip xAlign and yAlign 391 392 #### Development 393 394 - [#​9014](https://togithub.com/chartjs/Chart.js/issues/9014) Bump version to 3.2.1 395 396 Thanks to [@​etimberg](https://togithub.com/etimberg), [@​kurkle](https://togithub.com/kurkle) and [@​nagix](https://togithub.com/nagix) 397 398 ### [`v3.2.0`](https://togithub.com/chartjs/Chart.js/releases/v3.2.0) 399 400 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.1.1...v3.2.0) 401 402 ### Essential Links 403 404 - [npm](https://www.npmjs.com/package/chart.js) 405 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 406 - [Docs](https://www.chartjs.org/docs/latest/) 407 - [API](https://www.chartjs.org/docs/latest/api/) 408 - [Samples](https://www.chartjs.org/docs/latest/samples/) 409 410 #### Enhancements 411 412 - [#​8973](https://togithub.com/chartjs/Chart.js/issues/8973) Add drawTime: beforeDraw option to filler 413 - [#​8941](https://togithub.com/chartjs/Chart.js/issues/8941) Only enable the bar borderRadius at the end of the stacks 414 - [#​8936](https://togithub.com/chartjs/Chart.js/issues/8936) Scale: draw border on separate layer after grid 415 - [#​8931](https://togithub.com/chartjs/Chart.js/issues/8931) Cartesian scale tick backdrop 416 - [#​8926](https://togithub.com/chartjs/Chart.js/issues/8926) Add \`initial\` property to animation callbacks 417 418 #### Performance 419 420 - [#​8933](https://togithub.com/chartjs/Chart.js/issues/8933) Time: cache options needed by parse 421 422 #### Bugs Fixed 423 424 - [#​8972](https://togithub.com/chartjs/Chart.js/issues/8972) Fix skipNull for subsequent datasets 425 - [#​8934](https://togithub.com/chartjs/Chart.js/issues/8934) Fix for allowing parsing:false with stacks 426 - [#​8928](https://togithub.com/chartjs/Chart.js/issues/8928) Allow the events option to be changed at runtime 427 428 #### Types 429 430 - [#​8944](https://togithub.com/chartjs/Chart.js/issues/8944) Update helpers types export 431 432 #### Documentation 433 434 - [#​8971](https://togithub.com/chartjs/Chart.js/issues/8971) In html tooltip sample padding is read from the options 435 - [#​8942](https://togithub.com/chartjs/Chart.js/issues/8942) Add example plugins for border and quadrants 436 437 #### Development 438 439 - [#​8974](https://togithub.com/chartjs/Chart.js/issues/8974) Bump to version 3.2.0 440 441 Thanks to [@​TinfoilPancakes](https://togithub.com/TinfoilPancakes), [@​etimberg](https://togithub.com/etimberg) and [@​kurkle](https://togithub.com/kurkle) 442 443 ### [`v3.1.1`](https://togithub.com/chartjs/Chart.js/releases/v3.1.1) 444 445 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.1.0...v3.1.1) 446 447 ### Essential Links 448 449 - [npm](https://www.npmjs.com/package/chart.js) 450 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 451 - [Docs](https://www.chartjs.org/docs/latest/) 452 - [API](https://www.chartjs.org/docs/latest/api/) 453 - [Samples](https://www.chartjs.org/docs/latest/samples/) 454 455 #### Performance 456 457 - [#​8898](https://togithub.com/chartjs/Chart.js/issues/8898) Do not redraw endlessly on mouse move 458 459 #### Bugs Fixed 460 461 - [#​8919](https://togithub.com/chartjs/Chart.js/issues/8919) Fix: Fill vertical lines 462 - [#​8913](https://togithub.com/chartjs/Chart.js/issues/8913) Scale: Make sure grace is applied only once 463 - [#​8918](https://togithub.com/chartjs/Chart.js/issues/8918) Fix: Initialize data object when replaced 464 - [#​8914](https://togithub.com/chartjs/Chart.js/issues/8914) Skip ticks by callback value as documented 465 - [#​8911](https://togithub.com/chartjs/Chart.js/issues/8911) Fix: don't draw segments out of bounds 466 - [#​8898](https://togithub.com/chartjs/Chart.js/issues/8898) Do not redraw endlessly on mouse move 467 - [#​8883](https://togithub.com/chartjs/Chart.js/issues/8883) Setting correct decimated values when below threshold 468 - [#​8882](https://togithub.com/chartjs/Chart.js/issues/8882) Update @​\<!---->simonbrunel/vuepress-plugin-versions 469 470 #### Types 471 472 - [#​8909](https://togithub.com/chartjs/Chart.js/issues/8909) Fix tooltip positioners and scriptable signature 473 - [#​8891](https://togithub.com/chartjs/Chart.js/issues/8891) add number, null and undefined as valid return types 474 475 #### Documentation 476 477 - [#​8910](https://togithub.com/chartjs/Chart.js/issues/8910) Fix minor issues in docs 478 - [#​8907](https://togithub.com/chartjs/Chart.js/issues/8907) Fix javascript syntax error in docs/general/padding.md 479 - [#​8904](https://togithub.com/chartjs/Chart.js/issues/8904) Update v3-migration.md 480 - [#​8887](https://togithub.com/chartjs/Chart.js/issues/8887) Docs: Update version menu title 481 - [#​8882](https://togithub.com/chartjs/Chart.js/issues/8882) Update @​\<!---->simonbrunel/vuepress-plugin-versions 482 483 #### Development 484 485 - [#​8927](https://togithub.com/chartjs/Chart.js/issues/8927) Bump to 3.1.1 486 487 Thanks to [@​DaaGER](https://togithub.com/DaaGER), [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​Nico-DF](https://togithub.com/Nico-DF), [@​etimberg](https://togithub.com/etimberg) and [@​kurkle](https://togithub.com/kurkle) 488 489 ### [`v3.1.0`](https://togithub.com/chartjs/Chart.js/releases/v3.1.0) 490 491 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.0.2...v3.1.0) 492 493 ### Essential Links 494 495 - [npm](https://www.npmjs.com/package/chart.js) 496 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 497 - [Docs](https://www.chartjs.org/docs/latest/) 498 - [API](https://www.chartjs.org/docs/latest/api/) 499 - [Samples](https://www.chartjs.org/docs/latest/samples/) 500 501 <!----> 502 503 - [#​8856](https://togithub.com/chartjs/Chart.js/issues/8856) Update dependencies (excluding typescript) 504 - [#​8843](https://togithub.com/chartjs/Chart.js/issues/8843) Filtering data before decimation 505 506 #### Enhancements 507 508 - [#​8876](https://togithub.com/chartjs/Chart.js/issues/8876) Enable event filtering per plugin 509 - [#​8875](https://togithub.com/chartjs/Chart.js/issues/8875) Legend boxes support borderRadius 510 - [#​8874](https://togithub.com/chartjs/Chart.js/issues/8874) Tooltip colorbox supports configurable borderWidth, borderRadius, and dash effect 511 - [#​8867](https://togithub.com/chartjs/Chart.js/issues/8867) Support mirror option on x-axis 512 - [#​8864](https://togithub.com/chartjs/Chart.js/issues/8864) Filler: support segment backgroundColor 513 - [#​8844](https://togithub.com/chartjs/Chart.js/issues/8844) Allow styling of line segments 514 - [#​8839](https://togithub.com/chartjs/Chart.js/issues/8839) Apply scale context to ticks scriptable options instead of chart context 515 - [#​8823](https://togithub.com/chartjs/Chart.js/issues/8823) Dissociate border options from grid options 516 517 #### Bugs Fixed 518 519 - [#​8794](https://togithub.com/chartjs/Chart.js/issues/8794) Limit onHover to chartArea 520 - [#​8877](https://togithub.com/chartjs/Chart.js/issues/8877) Font: validate style, move defaults to \`weight\` 521 - [#​8872](https://togithub.com/chartjs/Chart.js/issues/8872) Handle animating stacked bars from null values 522 - [#​8867](https://togithub.com/chartjs/Chart.js/issues/8867) Support mirror option on x-axis 523 - [#​8868](https://togithub.com/chartjs/Chart.js/issues/8868) Consider dynamically positioned scales for padding 524 - [#​8838](https://togithub.com/chartjs/Chart.js/issues/8838) \_boundSegments did not work on rising line 525 - [#​8832](https://togithub.com/chartjs/Chart.js/issues/8832) Fix: update line options on resize, for gradients 526 - [#​8822](https://togithub.com/chartjs/Chart.js/issues/8822) Time: Use callback helper on ticks.callback 527 528 #### Types 529 530 - [#​8847](https://togithub.com/chartjs/Chart.js/issues/8847) Include \`grace\` in LinearScaleOptions type definition 531 532 #### Documentation 533 534 - [#​8866](https://togithub.com/chartjs/Chart.js/issues/8866) Add version menu in documentation 535 - [#​8869](https://togithub.com/chartjs/Chart.js/issues/8869) Document the no-parsing requirement of decimation 536 - [#​8863](https://togithub.com/chartjs/Chart.js/issues/8863) Docs/broken link 537 - [#​8850](https://togithub.com/chartjs/Chart.js/issues/8850) Docs migration register options 538 - [#​8837](https://togithub.com/chartjs/Chart.js/issues/8837) Fix typos in canvas-background.md 539 - [#​8836](https://togithub.com/chartjs/Chart.js/issues/8836) Fix typo in migration guide 540 - [#​8829](https://togithub.com/chartjs/Chart.js/issues/8829) complete the first 'getting-started' example 541 - [#​8828](https://togithub.com/chartjs/Chart.js/issues/8828) Document plugin event handling 542 543 #### Development 544 545 - [#​8878](https://togithub.com/chartjs/Chart.js/issues/8878) Bump to 3.1.0 546 547 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​MosesMendoza](https://togithub.com/MosesMendoza), [@​Nico-DF](https://togithub.com/Nico-DF), [@​etimberg](https://togithub.com/etimberg), [@​kurkle](https://togithub.com/kurkle), [@​m-ahmadi](https://togithub.com/m-ahmadi), [@​mjcross](https://togithub.com/mjcross) and [@​stockiNail](https://togithub.com/stockiNail) 548 549 ### [`v3.0.2`](https://togithub.com/chartjs/Chart.js/releases/v3.0.2) 550 551 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.0.1...v3.0.2) 552 553 ### Essential Links 554 555 - [npm](https://www.npmjs.com/package/chart.js) 556 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 557 - [Docs](https://www.chartjs.org/docs/latest/) 558 - [API](https://www.chartjs.org/docs/latest/api/) 559 - [Samples](https://www.chartjs.org/docs/latest/samples/) 560 561 #### Bugs Fixed 562 563 - [#​8811](https://togithub.com/chartjs/Chart.js/issues/8811) Fix: tick spacing when min=0 | niceMin or max=0 564 - [#​8801](https://togithub.com/chartjs/Chart.js/issues/8801) Correct decimation plugin documentation 565 - [#​8793](https://togithub.com/chartjs/Chart.js/issues/8793) Logarithmic: handle null/NaN values 566 567 #### Documentation 568 569 - [#​8791](https://togithub.com/chartjs/Chart.js/issues/8791) Docs small update 570 - [#​8803](https://togithub.com/chartjs/Chart.js/issues/8803) Update documentation for getElementsAtEventForMode 571 - [#​8801](https://togithub.com/chartjs/Chart.js/issues/8801) Correct decimation plugin documentation 572 - [#​8798](https://togithub.com/chartjs/Chart.js/issues/8798) Update ticks.callback documentation 573 574 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​etimberg](https://togithub.com/etimberg) and [@​kurkle](https://togithub.com/kurkle) 575 576 ### [`v3.0.1`](https://togithub.com/chartjs/Chart.js/releases/v3.0.1) 577 578 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v3.0.0...v3.0.1) 579 580 ### Essential Links 581 582 - [npm](https://www.npmjs.com/package/chart.js) 583 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 584 - [Docs](https://www.chartjs.org/docs/latest/) 585 - [API](https://www.chartjs.org/docs/latest/api/) 586 - [Samples](https://www.chartjs.org/docs/latest/samples/) 587 588 #### Bugs Fixed 589 590 - [#​8789](https://togithub.com/chartjs/Chart.js/issues/8789) Patch: option scope might not be an object 591 592 Thanks to [@​kurkle](https://togithub.com/kurkle) 593 594 ### [`v3.0.0`](https://togithub.com/chartjs/Chart.js/releases/v3.0.0) 595 596 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.9.4...v3.0.0) 597 598 ### Essential Links 599 600 - [npm](https://www.npmjs.com/package/chart.js) 601 - [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) 602 - [Docs](https://www.chartjs.org/docs/latest/) 603 - [API](https://www.chartjs.org/docs/latest/api/) 604 - [Samples](https://www.chartjs.org/docs/latest/samples/) 605 606 #### Bugs Fixed 607 608 - [#​8787](https://togithub.com/chartjs/Chart.js/issues/8787) Proxy: make sure set value ends up in first scope 609 - [#​8782](https://togithub.com/chartjs/Chart.js/issues/8782) Fix tooltip align & external types 610 611 #### Types 612 613 - [#​8782](https://togithub.com/chartjs/Chart.js/issues/8782) Fix tooltip align & external types 614 615 #### Documentation 616 617 - [#​8693](https://togithub.com/chartjs/Chart.js/issues/8693) Update readme links and bug issue template 618 - [#​8788](https://togithub.com/chartjs/Chart.js/issues/8788) Tweak redirect urls 619 - [#​8785](https://togithub.com/chartjs/Chart.js/issues/8785) Vuepress HTML redirect for samples folder 620 - [#​8786](https://togithub.com/chartjs/Chart.js/issues/8786) Adds scriptable column to options table in the title documentation 621 - [#​8784](https://togithub.com/chartjs/Chart.js/issues/8784) Add vuepress-plugin-flexsearch 622 - [#​8783](https://togithub.com/chartjs/Chart.js/issues/8783) Redirect to first sample 623 - [#​8780](https://togithub.com/chartjs/Chart.js/issues/8780) Make samples more inline with eachother 624 625 #### Development 626 627 - [#​8781](https://togithub.com/chartjs/Chart.js/issues/8781) v3.0.0 version bump 628 629 #### Included pre-releases 630 631 - [3.0.0-rc.7](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc.7) 632 - [3.0.0-rc.6](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc.6) 633 - [3.0.0-rc.5](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc.5) 634 - [3.0.0-rc.4](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc.4) 635 - [3.0.0-rc.3](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc.3) 636 - [3.0.0-rc.2](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc.2) 637 - [3.0.0-rc](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-rc) 638 - [3.0.0-beta.14](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.14) 639 - [3.0.0-beta.13](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.13) 640 - [3.0.0-beta.12](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.12) 641 - [3.0.0-beta.11](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.11) 642 - [3.0.0-beta.10](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.10) 643 - [3.0.0-beta.9](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.9) 644 - [3.0.0-beta.8](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.8) 645 - [3.0.0-beta.7](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.7) 646 - [3.0.0-beta.6](https://togithub.com/chartjs/Chart.js/releases/tag/3.0.0-beta.6) 647 - [3.0.0-beta.5](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.5) 648 - [3.0.0-beta.4](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.4) 649 - [3.0.0-beta.3](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.3) 650 - [3.0.0-beta.2](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta.2) 651 - [3.0.0-beta](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-beta) 652 - [3.0.0-alpha.2](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-alpha.2) 653 - [3.0.0-alpha](https://togithub.com/chartjs/Chart.js/releases/tag/v3.0.0-alpha) 654 655 Thanks to [@​LeeLenaleee](https://togithub.com/LeeLenaleee), [@​etimberg](https://togithub.com/etimberg), [@​kurkle](https://togithub.com/kurkle) and [@​stockiNail](https://togithub.com/stockiNail) 656 657 ### [`v2.9.4`](https://togithub.com/chartjs/Chart.js/releases/v2.9.4) 658 659 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4) 660 661 This is the last release of v2 and focused on fixing bugs identified in the v2.9.3 release. 662 663 ##### Bugs Fixed 664 665 - [#​7404](https://togithub.com/chartjs/Chart.js/issues/7404) - Preserve prototypes when cloning. Thanks [@​iddings](https://togithub.com/iddings) 666 - [#​7587](https://togithub.com/chartjs/Chart.js/issues/7587) - Fix docs for external moment.js. Thanks [@​mojoaxel](https://togithub.com/mojoaxel) 667 - [#​7853](https://togithub.com/chartjs/Chart.js/issues/7853) - Fix box recursion when dimensions are NaN. Thanks [@​alessandroasm](https://togithub.com/alessandroasm) 668 - [#​7883](https://togithub.com/chartjs/Chart.js/issues/7883) - Fix call stack exception when computing label sizes. Thanks [@​silentmatt](https://togithub.com/silentmatt) 669 - [#​7918](https://togithub.com/chartjs/Chart.js/issues/7918) - Prevent global prototype pollution via the merge helper 670 - [#​7920](https://togithub.com/chartjs/Chart.js/issues/7920) - Use Object.create(null) as `merge` target, to prevent prototype pollution 671 672 ### [`v2.9.3`](https://togithub.com/chartjs/Chart.js/releases/v2.9.3) 673 674 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.9.2...v2.9.3) 675 676 ##### Bug Fixes 677 678 - [#​6698](https://togithub.com/chartjs/Chart.js/issues/6698) Fix undefined variable 679 - [#​6719](https://togithub.com/chartjs/Chart.js/issues/6719) Don't make legend empty when fill is false 680 681 Thanks to the maintainers and collaborators for their help to improve and test Chart.js ([@​kurkle](https://togithub.com/kurkle), [@​benmccann](https://togithub.com/benmccann), and [@​etimberg](https://togithub.com/etimberg)). 682 683 ### [`v2.9.2`](https://togithub.com/chartjs/Chart.js/releases/v2.9.2) 684 685 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.9.1...v2.9.2) 686 687 ##### Bug Fixes 688 689 - [#​6641](https://togithub.com/chartjs/Chart.js/issues/6641) IE11 & Edge compatible style injection 690 - [#​6655](https://togithub.com/chartjs/Chart.js/issues/6655) Backwards compatible default fill for radar charts 691 - [#​6660](https://togithub.com/chartjs/Chart.js/issues/6660) Improve clipping of line charts when border widths are large 692 - [#​6661](https://togithub.com/chartjs/Chart.js/issues/6661) When a legend item is clicked, make sure the correct item is hidden 693 - [#​6663](https://togithub.com/chartjs/Chart.js/issues/6663) Refresh package-lock file to pick up new dependency 694 695 ##### Performance 696 697 - [#​6671](https://togithub.com/chartjs/Chart.js/issues/6671) Stop unnecessary line calculations 698 699 ##### Documentation 700 701 - [#​6643](https://togithub.com/chartjs/Chart.js/issues/6643) Combine performance documentation sections 702 703 Thanks to the maintainers and collaborators for their help to improve and test Chart.js ([@​nagix](https://togithub.com/nagix), [@​kurkle](https://togithub.com/kurkle), [@​benmccann](https://togithub.com/benmccann), [@​etimberg](https://togithub.com/etimberg) and [@​simonbrunel](https://togithub.com/simonbrunel)). 704 705 ### [`v2.9.1`](https://togithub.com/chartjs/Chart.js/releases/v2.9.1) 706 707 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.9.0...v2.9.1) 708 709 ##### Bug Fixes 710 711 - [#​6603](https://togithub.com/chartjs/Chart.js/issues/6603) Fix deprecation warnings for horizontal bar charts 712 - [#​6608](https://togithub.com/chartjs/Chart.js/issues/6608) Fix zoom plugin by no longer clipping `scale.getDecimalForPixel` to the chart area 713 - [#​6617](https://togithub.com/chartjs/Chart.js/issues/6617) Non numeric Y axes did not work 714 715 ##### Documentation 716 717 - [#​6613](https://togithub.com/chartjs/Chart.js/issues/6613) Add link to performance documentation 718 719 ##### Development 720 721 - [#​6609](https://togithub.com/chartjs/Chart.js/issues/6609) - Tests no longer use deprecated options 722 723 Thanks to the maintainers and collaborators for their help to improve and test Chart.js ([@​nagix](https://togithub.com/nagix), [@​kurkle](https://togithub.com/kurkle), [@​benmccann](https://togithub.com/benmccann), [@​etimberg](https://togithub.com/etimberg) and [@​simonbrunel](https://togithub.com/simonbrunel)). 724 725 ### [`v2.9.0`](https://togithub.com/chartjs/Chart.js/releases/v2.9.0) 726 727 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.8.0...v2.9.0) 728 729 ##### Breaking changes 730 731 - https://github.com/chartjs/Chart.js/pull/6131 `helpers._decimalPlaces` is now private 732 733 ##### Enhancements 734 735 - https://github.com/chartjs/Chart.js/pull/6527 Hover styling for dataset in 'dataset' mode 736 - https://github.com/chartjs/Chart.js/pull/6268 Implement `dataset.order` 737 - https://github.com/chartjs/Chart.js/pull/6509 Make `autoSkip` aware of major ticks 738 - https://github.com/chartjs/Chart.js/pull/6460 Implemented RTL support for legends and tooltips 739 - https://github.com/chartjs/Chart.js/pull/6490 HTML DOM building 740 - https://github.com/chartjs/Chart.js/pull/6326 Draw the rightmost grid line when `offsetGridLines` is true 741 - https://github.com/chartjs/Chart.js/pull/6343 Handle reverse support in core.scale 742 - https://github.com/chartjs/Chart.js/pull/6289 Support `spanGaps` in radar charts 743 - https://github.com/chartjs/Chart.js/pull/6323 Support object values for bar charts 744 - https://github.com/chartjs/Chart.js/pull/6287 Support rotation for `pointStyle` image 745 - https://github.com/chartjs/Chart.js/pull/6257 Allow specifying labels in time scale options 746 - https://github.com/chartjs/Chart.js/pull/6281 Support boundary filling modes in radialLinear scale 747 - https://github.com/chartjs/Chart.js/pull/6056 Add support for floating bar chart (`[start, end]`) 748 - https://github.com/chartjs/Chart.js/pull/6241 Implement layers (z-index) for layout items 749 - https://github.com/chartjs/Chart.js/pull/5621 Make legend appearance consistent with chart elements 750 - https://github.com/chartjs/Chart.js/pull/5999 Implement per-dataset type (default and per-chart) options 751 - https://github.com/chartjs/Chart.js/pull/6097 Specify time scale `min` and `max` in standard manner 752 - https://github.com/chartjs/Chart.js/pull/6141 Legend align option. Thanks [@​dkichler](https://togithub.com/dkichler) 753 - https://github.com/chartjs/Chart.js/pull/6128 Make line options scriptable. Thanks [@​janelledement](https://togithub.com/janelledement) 754 755 ##### Performance 756 757 - https://github.com/chartjs/Chart.js/pull/6594 Remove a couple calls to `helpers.each` 758 - https://github.com/chartjs/Chart.js/pull/6247 Remove duplicate scale building 759 - https://github.com/chartjs/Chart.js/pull/6579 Cache resolved data element options 760 - https://github.com/chartjs/Chart.js/pull/6575 Simplify line drawing 761 - https://github.com/chartjs/Chart.js/pull/6508 Add `ticks.sampleSize` option 762 - https://github.com/chartjs/Chart.js/pull/6354 Perf improvement for `ticks.source:'labels'` 763 - https://github.com/chartjs/Chart.js/pull/6301 Replace `helpers.each` with for-loops 764 - https://github.com/chartjs/Chart.js/pull/6304 Refactor `core.layout` 765 - https://github.com/chartjs/Chart.js/pull/6307 Faster major tick calculation 766 - https://github.com/chartjs/Chart.js/pull/6250 Cache `getScaleForId()` calls in the line controller 767 - https://github.com/chartjs/Chart.js/pull/6148 Replace `helpers.extend` 768 769 ##### Bug Fixes 770 771 - https://github.com/chartjs/Chart.js/pull/6249 Bar options should be defined on dataset instead of scale 772 - https://github.com/chartjs/Chart.js/pull/6556 Inject styles into Shadow DOM when inside Shadow DOM 773 - https://github.com/chartjs/Chart.js/pull/6583 Fix unit determination when `autoSkip` is enabled 774 - https://github.com/chartjs/Chart.js/pull/6581 Return correct index/value id in radar/polarArea 775 - https://github.com/chartjs/Chart.js/pull/6580 Fix logarithmic test to use correct scale 776 - https://github.com/chartjs/Chart.js/pull/6528 Make sure `zeroLineIndex` is defined 777 - https://github.com/chartjs/Chart.js/pull/6523 Fix right side scale ticks 778 - https://github.com/chartjs/Chart.js/pull/6423 Clamp argument of `toExponential` between 0 and 20. Thanks [@​veggiesaurus](https://togithub.com/veggiesaurus) 779 - https://github.com/chartjs/Chart.js/pull/6328 Fix `getValueForPixel` in time scale 780 - https://github.com/chartjs/Chart.js/pull/6292 Adjust vertical alignment of tooltip items 781 - https://github.com/chartjs/Chart.js/pull/6321 Update dataset metadata when axisID changes 782 - https://github.com/chartjs/Chart.js/pull/6291 Assign unique scale IDs 783 - https://github.com/chartjs/Chart.js/pull/6288 Fix regression in `lineTension` 784 - https://github.com/chartjs/Chart.js/pull/6282 Treat null as NaN in radialLinear scale 785 - https://github.com/chartjs/Chart.js/pull/6285 Keep lines on the left and right edges from being cut 786 - https://github.com/chartjs/Chart.js/pull/6269 Apply lineJoin style at the first point in radar charts 787 - https://github.com/chartjs/Chart.js/pull/6280 Fix point label counting in radialLinear scale 788 - https://github.com/chartjs/Chart.js/pull/6279 Treat 0 as a valid point label 789 - https://github.com/chartjs/Chart.js/pull/6265 Utilize `tick.major` in `tickFormatFunction` 790 - https://github.com/chartjs/Chart.js/pull/6264 Apply offset regardless of min/max setting 791 - https://github.com/chartjs/Chart.js/pull/6258 Fix ticks generation for vertical time scale 792 - https://github.com/chartjs/Chart.js/pull/6259 Fix `determineUnitForFormatting` floating point error 793 - https://github.com/chartjs/Chart.js/pull/6115 Fix overlapping auto-generated ticks on time scale 794 - https://github.com/chartjs/Chart.js/pull/6238 Fix tooltip title in radar charts 795 - https://github.com/chartjs/Chart.js/pull/6224 Fix arc size calculation when circumference is under 2\*PI 796 - https://github.com/chartjs/Chart.js/pull/6215 Fix arc border with circumference over 2\*PI 797 - https://github.com/chartjs/Chart.js/pull/5961 Fix tick label rotation and layout issues 798 - https://github.com/chartjs/Chart.js/pull/6182 Use the appropriate time format for auto tick generation 799 - https://github.com/chartjs/Chart.js/pull/6208 Fill before drawing lines 800 - https://github.com/chartjs/Chart.js/pull/6209 Fix missing tooltip value in radar charts 801 - https://github.com/chartjs/Chart.js/pull/6177 Normalize angle for index in radialLinear scale 802 - https://github.com/chartjs/Chart.js/pull/6102 Fix `ticks.minor` and `ticks.major` issues 803 - https://github.com/chartjs/Chart.js/pull/6129 Fix hover animation 804 - https://github.com/chartjs/Chart.js/pull/6120 Improved `helpers.almostWhole` 805 806 ##### Documentation 807 808 - https://github.com/chartjs/Chart.js/pull/6585 Add a note to the perf documentation about rotation 809 - https://github.com/chartjs/Chart.js/pull/6554 Add link to linear radial axis for radar chart doc 810 - https://github.com/chartjs/Chart.js/pull/6491 Add `elements.arc.angle` in documentation 811 - https://github.com/chartjs/Chart.js/pull/6466 Fixed incorrect spelling in pie dataset options. Thanks [@​SeppPenner](https://togithub.com/SeppPenner) 812 - https://github.com/chartjs/Chart.js/pull/6435 Add link back to home page from docs 813 - https://github.com/chartjs/Chart.js/pull/6393 Add radar chart config options 814 - https://github.com/chartjs/Chart.js/pull/6293 Correct descriptions on `ticks.display` and add `pointLabels.display` 815 - https://github.com/chartjs/Chart.js/pull/6263 Add sample for radar scriptable options 816 - https://github.com/chartjs/Chart.js/pull/6244 Fix data in timeseries sample 817 - https://github.com/chartjs/Chart.js/pull/6186 Typo in doughnut documentation. Thanks [@​joshuamcewen](https://togithub.com/joshuamcewen) 818 - https://github.com/chartjs/Chart.js/pull/6132 Make docs consistent for `cubicInterpolationMode` and `fill`. Thanks [@​stockiNail](https://togithub.com/stockiNail) 819 - https://github.com/chartjs/Chart.js/pull/6119 Demonstrate multiple units on timeseries example 820 - https://github.com/chartjs/Chart.js/pull/6139 Documented tooltip alignment options 821 - https://github.com/chartjs/Chart.js/pull/6134 Documented date adapter 822 823 ##### Development 824 825 - https://github.com/chartjs/Chart.js/pull/6507 Improved minimization when calling helpers 826 - https://github.com/chartjs/Chart.js/pull/6497 Reduce indentation 827 - https://github.com/chartjs/Chart.js/pull/6355 Do `autoSkip` in `update` 828 - https://github.com/chartjs/Chart.js/pull/6493 Upgrade rollup and plugins 829 - https://github.com/chartjs/Chart.js/pull/6362 Improved code minimization 830 - https://github.com/chartjs/Chart.js/pull/6360 Create `helpers.math._factorize` 831 - https://github.com/chartjs/Chart.js/pull/6351 Lazily compute label sizes 832 - https://github.com/chartjs/Chart.js/pull/6347 Render charts only once in time scale tests 833 - https://github.com/chartjs/Chart.js/pull/6246 Avoid time related deprecation warnings in tests 834 835 ## 836 837 Thanks to the maintainers and collaborators for their help to improve and test Chart.js ([@​nagix](https://togithub.com/nagix), [@​kurkle](https://togithub.com/kurkle), [@​benmccann](https://togithub.com/benmccann), [@​etimberg](https://togithub.com/etimberg) and [@​simonbrunel](https://togithub.com/simonbrunel)). 838 839 ### [`v2.8.0`](https://togithub.com/chartjs/Chart.js/releases/v2.8.0) 840 841 [Compare Source](https://togithub.com/chartjs/Chart.js/compare/v2.7.3...v2.8.0) 842 843 Documentation: http://www.chartjs.org/docs/2.8.0/ 844 845 ##### Deprecations 846 847 - [#​5868](https://togithub.com/chartjs/Chart.js/issues/5868) Deprecate `Chart.{Type}` classes 848 - [#​6022](https://togithub.com/chartjs/Chart.js/issues/6022) Deprecate `configMerge` and `scaleMerge` helpers 849 850 ##### Enhancements 851 852 - [#​5741](https://togithub.com/chartjs/Chart.js/issues/5741) Add `minBarLength` option for bar chart. Thanks [@​adube](https://togithub.com/adube) 853 - [#​5780](https://togithub.com/chartjs/Chart.js/issues/5780) Bar options are now scriptable 854 - [#​5841](https://togithub.com/chartjs/Chart.js/issues/5841) Draw inner border for arc elements 855 - [#​5850](https://togithub.com/chartjs/Chart.js/issues/5850) Add support for gridLines/angleLines borderDash for polar area and radar charts 856 - [#​5855](https://togithub.com/chartjs/Chart.js/issues/5855) Moved drawing of radial lines before drawing the tick labels. Thanks [@​fhp](https://togithub.com/fhp) 857 - [#​5885](https://togithub.com/chartjs/Chart.js/issues/5885) Add support for hiding axis when all datasets are hidden. Thanks [@​davesalomon](https://togithub.com/davesalomon) 858 - [#​5905](https://togithub.com/chartjs/Chart.js/issues/5905) Add support for typed arrays 859 - [#​5908](https://togithub.com/chartjs/Chart.js/issues/5908) Add midpoint interpolation to stepped line. Thanks [@​veggiesaurus](https://togithub.com/veggiesaurus) 860 - [#​5927](https://togithub.com/chartjs/Chart.js/issues/5927) Add `reverse` support to time scale 861 - [#​5938](https://togithub.com/chartjs/Chart.js/issues/5938) Improve tick generation for linear scales 862 - [#​5951](https://togithub.com/chartjs/Chart.js/issues/5951) New weight option for pie and doughnut charts 863 - [#​5960](https://togithub.com/chartjs/Chart.js/issues/5960) Implement adapter to abstract date/time features 864 - [#​5966](https://togithub.com/chartjs/Chart.js/issues/5966) Doughnut options are now scriptable 865 - [#​5973](https://togithub.com/chartjs/Chart.js/issues/5973) Line options are now scriptable 866 - [#​5976](https://togithub.com/chartjs/Chart.js/issues/5976) Polar area options are now scriptable 867 - [#​5978](https://togithub.com/chartjs/Chart.js/issues/5978) Make moment optional from our UMD builds 868 - [#​5982](https://togithub.com/chartjs/Chart.js/issues/5982) Remove date auto type conversions 869 - [#​6019](https://togithub.com/chartjs/Chart.js/issues/6019) Improve time scale performances 870 - [#​6041](https://togithub.com/chartjs/Chart.js/issues/6041) Radar options are now scriptable 871 - [#​6048](https://togithub.com/chartjs/Chart.js/issues/6048) Move CSS in a separate file to be CSP-compliant 872 - [#​6059](https://togithub.com/chartjs/Chart.js/issues/6059) Add `onLeave` callback to legend. Thanks [@​jonrimmer](https://togithub.com/jonrimmer) 873 - [#​6077](https://togithub.com/chartjs/Chart.js/issues/6077) Allow configuration of borderWidth as object 874 - [#​6105](https://togithub.com/chartjs/Chart.js/issues/6105) Optimize the npm package by removing useless files 875 876 ##### Issues Fixed 877 878 - [#​5331](https://togithub.com/chartjs/Chart.js/issues/5331) Make animation duration consistent across browsers. Thanks [@​serhii-yakymuk](https://togithub.com/serhii-yakymuk) 879 - [#​5609](https://togithub.com/chartjs/Chart.js/issues/5609) Fix `offsetGridLine` behavior with a single data point 880 - [#​5750](https://togithub.com/chartjs/Chart.js/issues/5750) Ensure that the time scale safely accesses `data.labels` 881 - [#​5751](https://togithub.com/chartjs/Chart.js/issues/5751) Handle axis `lineWidth` as an array 882 - [#​5752](https://togithub.com/chartjs/Chart.js/issues/5752) Ensure that `new Number()` is correctly handled 883 - [#​5776](https://togithub.com/chartjs/Chart.js/issues/5776) Fix legend layout padding at the start of columns. Thanks [@​jtagscherer](https://togithub.com/jtagscherer) 884 - [#​5786](https://togithub.com/chartjs/Chart.js/issues/5786) Support decimal `stepSize` 885 - [#​5790](https://togithub.com/chartjs/Chart.js/issues/5790) Add error margin for detecting if a point or line is in the chart area 886 - [#​5816](https://togithub.com/chartjs/Chart.js/issues/5816) Fix legend item layout issue 887 - [#​5828](https://togithub.com/chartjs/Chart.js/issues/5828) Improve shadow root detection. Thanks [@​karaxuna](https://togithub.com/karaxuna) 888 - [#​5846](https://togithub.com/chartjs/Chart.js/issues/5846) Correct calculation of padding in percent. Thanks [@​chtheis](https://togithub.com/chtheis) 889 - [#​5848](https://togithub.com/chartjs/Chart.js/issues/5848) Fix radial scale topmost tick label and the bottom of the chart area that were cut off 890 - [#​5857](https://togithub.com/chartjs/Chart.js/issues/5857) Fix nearest interaction mode 891 - [#​5858](https://togithub.com/chartjs/Chart.js/issues/5858) Adjust the size of rectRounded/rectRot points to fit the circle with pointRadius 892 - [#​5865](https://togithub.com/chartjs/Chart.js/issues/5865) Support CanvasGradient for hover colors 893 - [#​5869](https://togithub.com/chartjs/Chart.js/issues/5869) Tooltip support for CanvasPattern and CanvasGradient 894 - [#​5880](https://togithub.com/chartjs/Chart.js/issues/5880) Fix the rounding issue of floating point numbers in category scale 895 - [#​5884](https://togithub.com/chartjs/Chart.js/issues/5884) Remove gaps on the left and right when the axis offset is set t 896 897 </details> 898 899 --- 900 901 ### Configuration 902 903 📅 **Schedule**: At any time (no schedule defined). 904 905 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. 906 907 ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 908 909 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. 910 911 --- 912 913 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. 914 915 --- 916 917 This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/SocialNetworkNews/SocialNetworkNews-Web). 918