Skip to content

Update dependency chart.js to v4

Renovate Bot requested to merge renovate/chart.js-4.x into master

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
chart.js (source) ^2.9.4 -> ^4.0.0 age adoption passing confidence

Release Notes

chartjs/Chart.js

v4.3.0

Compare Source

Essential Links

  • #​11257 Bump to 4.3.0
  • #​11217 Enable applying of gradients and pattern on line segments
  • #​11134 Use custom scale defaults and dataset axis ID options to determine the axis
  • #​11061 fix RTL tooltip colorBox placement

Enhancements

  • #​11055 Enable point labels hiding when overlapped
  • #​11180 Border is counted as part of ArcElement
  • #​11121 refactor: rewrite config helpers to ts
  • #​11100 refactor: rewrite canvas helpers to ts
  • #​11127 Add borderDash options to arc element

Bugs Fixed

  • #​11238 Check for isNaN before building number formatter options
  • #​11116 Fix: don't generate ticks > max if max is specified

Types

  • #​11121 refactor: rewrite config helpers to ts
  • #​11100 refactor: rewrite canvas helpers to ts
  • #​11143 Docs: fix tooltip model doc.

Documentation

  • #​11241 Add redirect for old V3 migration guides in release notes
  • #​11244 Fix documentation about how to manage own custom plugin for types
  • #​11220 docs: Fix a few typos
  • #​11154 Update tooltip.md

Development

  • #​11240 Add version specific urls to release template
  • #​11212 Update size limits
  • #​11209 chore: change pnpm version in engines field to be able to use 8.x.x
  • #​11174 Add colors plugin to size limit
  • #​11165 Disable canvas acceleration in Firefox 110 in test cases
  • #​11145 Simplify _arrayUnique
  • #​11135 Change labelColors to labelColor in tooltip drawColorBox method.

Thanks to @​CodingMarco, @​Connormiha, @​Demir-Utku, @​LeeLenaleee, @​dangreen, @​defunctzombie, @​etimberg, @​leo2436, @​olenderhub, @​shahabhm, @​stockiNail and @​timgates42

v4.2.1

Compare Source

Essential Links

  • #​11045 fix: decimation plugin data not writeable after clean

Bugs Fixed

  • #​11069 Use maxTicksLimit option to calculate the labels size on ticks

Types

  • #​11102 chore: #<!---->10963 revert
  • #​11115 Add colors plugin TS options to be configured
  • #​11081 fix: add bgColor type in RadialLinearScaleOptions
  • #​11095 🐛 fixes compilation error when option --isolatedModules is set

Documentation

Development

  • #​11130 Bump to 4.2.1
  • #​11124 Remove circumference property retrieving from arc element for center calculation because not used
  • #​11113 Update link to new template

Thanks to @​LeeLenaleee, @​choichoijin, @​dangreen, @​etimberg, @​jljouannic, @​johakr, @​n1313 and @​stockiNail

v4.2.0

Compare Source

Essential Links

  • #​11054 Add pointLabel context type documentation
  • #​11043 chore: Add Chart.js meetup announcement to README

Enhancements

  • #​11063 Add format method to time scale to format timestamp using scale options

Bugs Fixed

  • #​11003 Check colors definition in the chart options

Types

  • #​11017 Change 'normal' update mode to 'default' as documented
  • #​11051 fix: updated type for doughnut offset

Documentation

Development

Thanks to @​ankane, @​igorlukanin, @​mlankamp and @​stockiNail

v4.1.2

Compare Source

Essential Links

Types

Documentation

  • #​11006 Fixes missing markdown links in docs

Development

Thanks to @​LeeLenaleee, @​dangreen and @​matveycodes

v4.1.1

Compare Source

Essential Links

  • #​10988 chore: Revert "Add Product Hunt button (temporarily)"

Bugs Fixed

  • #​10971 fix: avoid resize loop when browser zoom is set to 90%
  • #​10993 fix: move types to src dir to escape src / dist dirs in paths
  • #​10992 fix: hotfix chart.js/auto for commonjs

Types

  • #​10993 fix: move types to src dir to escape src / dist dirs in paths

Development

Thanks to @​dangreen, @​etimberg, @​gbaron and @​igorlukanin

v4.1.0

Compare Source

Essential Links

  • #​10980 chore: Add Product Hunt button (temporarily)
  • #​10917 fix: move @​<!---->kurkle/color to dependencies

Enhancements

Bugs Fixed

  • #​10942 Ensure that args are saved inside of the throttled helper
  • #​10766 fix: stacked bar chart minBarLength causes overlapping
  • #​10898 Set the transition mode to the context for scriptable options

Types

  • #​10963 fix: unbind instance config from chart type
  • #​10910 Add stepSize option to time scale options types

Documentation

Development

Thanks to @​Kit-p, @​LeeLenaleee, @​Simon-He95, @​benmccann, @​dangreen, @​etimberg, @​igorlukanin, @​letheri and @​stockiNail

v4.0.1

Compare Source

Essential Links

Bugs Fixed

Thanks to @​LeeLenaleee

v3.9.1

Compare Source

Essential Links

Bugs Fixed

Thanks to @​LeeLenaleee

v3.9.0

Compare Source

Essential Links

Enhancements

  • #​10439 feat: remove line element from scatter controller
  • #​10528 feat: pass some chart options to DateAdapter
  • #​10405 Add circular prop to arc element
  • #​10530 Skip all borders if borderSkipped === true
  • #​10517 parsing: support dot(s) in object keys
  • #​10519 Enable borderDash option in the grid as scriptable

Performance

  • #​10517 parsing: support dot(s) in object keys

Bugs Fixed

  • #​10524 pass boxWidth only if pointStyleWidth presents
  • #​10523 fix: calc visible points on update #<!---->10467

Documentation

  • #​10527 Add docs for changing from time scale to logarithmic/linear scale
  • #​10518 Improve docs radial linear grid
  • #​10522 Fix Stack Overflow tag: chart.js
  • #​10520 Fix Stack Overflow tag: chart.js
  • #​10515 Fix dead link on reload or open in new tab
  • #​10516 Clarifying threshold requirement in the docs for decimation

Development

Thanks to @​LeeLenaleee, @​M4sterShake, @​benmccann, @​dangreen, @​kurkle, @​peterhauke, @​stockiNail, @​thabarbados and @​touletan

v3.8.2

Compare Source

Essential Links

Bugs Fixed

  • #​10513 Explicitly include package.json files for subpackages

Development

  • #​10513 Explicitly include package.json files for subpackages

Thanks to @​etimberg

v3.8.1

Compare Source

Essential Links

Enhancements

  • #​10495 Improve error message with id of the canvas
  • #​10412 Add pointStyleWidth option for legend

Bugs Fixed

  • #​10484 Resolve plugin defaults for local plugins
  • #​10489 draw tooltip with object borderwidth
  • #​10451 Fix options update when changing to shared opts
  • #​10454 Fix crash with skipNull and uneven datasets
  • #​10414 Respect `fill: false` with custom draw times

Types

  • #​10494 Allow clip to be configurable in options object typescript
  • #​10436 Add index to legendItem interface
  • #​10404 Add padding to pointLabels type, add type to scriptable context
  • #​10387 Allow for each dataset to be individually typed without a main type

Documentation

  • #​10490 document defaults for plugins
  • #​10497 Update link to be able to use within github
  • #​10446 Add a stale version warning + a link to the latest version of docs
  • #​10470 Update integration.md
  • #​10447 Enforce maximum width on chart editor blocks in the docs
  • #​10456 Update aspectRatio documentation
  • #​10415 Update responsive.md
  • #​10434 Clarify helpers need to be imported when using bundlers
  • #​10410 Fix typo in link to documentation from sample
  • #​10400 Fix default value of 'includeInvisible' option in the documentation
  • #​10392 Clarify api docs

Development

Thanks to @​LeeLenaleee, @​Pourbahrami, @​andrewl64, @​dependabot, @​dependabot[bot], @​etimberg, @​ideabrian, @​igorlukanin, @​kurkle, @​naveensrinivasan, @​stockiNail and @​touletan

v3.8.0

Compare Source

Essential Links

  • #​10341 Correct auto.esm.js import to allow module to work in browser
  • #​10316 Use abs() when comparing for spanGaps
  • #​10320 Bump async from 2.6.3 to 2.6.4
  • #​10290 Bump moment from 2.29.1 to 2.29.2
  • #​10260 Bump minimist from 1.2.5 to 1.2.6
  • #​10204 Bump karma from 6.3.14 to 6.3.16
  • #​10200 Bump url-parse from 1.5.7 to 1.5.10
  • #​10198 Bump prismjs from 1.25.0 to 1.27.0
  • #​10181 Bump url-parse from 1.5.3 to 1.5.7
  • #​10146 Bump karma from 6.3.9 to 6.3.14
  • #​10150 Bump log4js from 6.3.0 to 6.4.1
  • #​10152 Bump engine.io from 6.1.0 to 6.1.2
  • #​10151 Bump node-fetch from 2.6.6 to 2.6.7
  • #​10149 Bump follow-redirects from 1.14.6 to 1.14.8

Enhancements

  • #​10362 Add option to include invisible points
  • #​10328 Resolve canvasGradient is undefined in node
  • #​10293 Enable configuration of radial scale point label border radius
  • #​10278 Allow time scale to offset using skipped ticks
  • #​10046 Interaction functions
  • #​10182 Allow individual chart controllers to opt-in to the decimation plugin
  • #​10088 Make object notation usable for polarArea and radar
  • #​10106 Add new align 'inner' for X axis

Bugs Fixed

  • #​10371 Update to v0.2.1 color dependency to fix bug with invalid colours
  • #​10340 Update scale polarArea correctly on data hide
  • #​10289 display tooltips only at points in chart area
  • #​10328 Resolve canvasGradient is undefined in node
  • #​10301 Trigger legend onLeave when the mouse leaves the canvas
  • #​10276 Document tooltip draw hooks and only call hooks when the tooltip draws
  • #​10157 minimum bar length setting keeps bar base in view

Types

  • #​10364 Types: Allow font to be partial scriptable and individually scriptable
  • #​10283 Types: add 'middle' to borderSkipped
  • #​10275 Export types for cartesian and radial tick options
  • #​10269 add startAngle to radial scale options typings
  • #​10254 Add missing fields to the ScriptableContext type
  • #​10179 Allow array for line opts in dataset

Documentation

  • #​10308 Add links to docs in all the samples
  • #​10259 Fix a typo in data-structures.md
  • #​10266 Correct chart initialization flow
  • #​10250 Update link to filler plugin
  • #​10184 Fix broken link in Animations docs page.
  • #​10158 remove hardcoded licenseYear in docs
  • #​10156 update link to license and bump license year
  • #​10154 Document scale update plugin hooks

Development

  • #​10377 Bump to 3.8.0
  • #​10247 Resolve circulair import filler plugin
  • #​10243 Replace deprecated String.prototype.substr()
  • #​10040 Refactor filler plugin for easier maintenance

Thanks to @​CommanderRoot, @​LeeLenaleee, @​Talla2XLC, @​akiraaso, @​dependabot, @​dependabot[bot], @​etimberg, @​joshkel, @​kurkle, @​kylejonesdev, @​linkviii, @​luke-heberling, @​msteiger, @​pzelnip, @​t-mangoe and @​yhvicey

v3.7.1

Compare Source

Essential Links

Bugs Fixed

  • #​10024 Fix using above/below filling option with discontinuous lines

Types

  • #​10124 Add missing mouse events to CoreChartOptions.events type
  • #​10133 Allow spanGaps to be specified on LineOptions
  • #​10137 Ensure that min/max of TimeScaleOptions can be a string
  • #​10075 fix: allow colors as array
  • #​10131 Correct type for updateHoverStyle
  • #​10130 Type Chart.legend property
  • #​10111 Change repeating alingment string to single type
  • #​10078 Move scriptable and array to helper function in types
  • #​10057 add typing and docs for maxTicksLimit all scales

Documentation

  • #​10138 Sort docs sub menus alphabetically, add line and plugin sample
  • #​10100 Sort line and bubble dataset options alphabetically
  • #​10103 Fix typos found by codespell
  • #​10057 add typing and docs for maxTicksLimit all scales
  • #​10045 typo Cofiguration

Development

Thanks to @​DimitriPapadopoulos, @​LeeLenaleee, @​LovelyAndy, @​caub, @​charlesmass2, @​etimberg, @​jmorel and @​stockiNail

v3.7.0

Compare Source

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

Compare Source

Essential Links

Bugs Fixed

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

Development

Thanks to @​kurkle

v3.6.1

Compare Source

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

Compare Source

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

Development

Thanks to @​0xflotus, @​Flupp, @​KurtPreston, @​Prashoon123, @​SandeepKrSuman, @​aha-oretama, @​atharva01903, @​davidsandoz, @​etimberg, @​gautammsuthar, @​igolskyi, @​joshkel, @​kurkle, @​mikidoodle, @​nikethanrai, @​oscard0m and @​shubham242k

v3.5.1

Compare Source

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

Compare Source

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 MRs
  • #​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

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

v3.4.1

Compare Source

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

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

v3.4.0

Compare Source

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 MR 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

Compare Source

Essential Links

Bugs Fixed

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

Development

Thanks to @​kurkle

v3.3.1

Compare Source

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

Thanks to @​LeeLenaleee, @​etimberg and @​kurkle

v3.3.0

Compare Source

Essential Links

Enhancements

  • #​9084 Support monotone cubic interpolation for vertical line charts
  • #​9088 Fix element reset animations in vertical line and bubble charts
  • #​9020 Add includeBounds option for cartesian ticks

Bugs Fixed

  • #​9129 Further improve linear tick collision estimation
  • #​9122 Show correct decimal places when using count but `min` is not an integer
  • #​9118 Fix arc offset calculation
  • #​9120 Fix animations when data is replaced
  • #​9121 Fix doughnut rotation on float edge cases
  • #​9105 Delay data to elements synchronization to update
  • #​9101 Make sure context indices are up to date
  • #​9062 Fix setting options in array of objects
  • #​9067 Fix polar area tooltip item label
  • #​9060 add derived axis default values
  • #​9050 Fix detecting changed events
  • #​9015 Round canvas.style dimensions to avoid blurring
  • #​9046 Types: Export DecimationAlgorithm as const
  • #​9045 Allow scale to auto-adjust it's min when stacked
  • #​9042 Fix line segments with alignToPixel
  • #​9027 Fix: Avoid negative layout dimensions

Types

  • #​9124 Correctly extend ExtendedPlugin interface
  • #​9123 Add missing props to ChartArea type
  • #​9046 Types: Export DecimationAlgorithm as const

Documentation

  • #​9147 Improved error message when no date adapter provided
  • #​9146 Fix scales option in example
  • #​9126 Add attribute to custom legend onclick sample
  • #​9115 Add documentation note about only styling the parent div
  • #​9111 remove double sentence and adjust scale to scales.r
  • #​9044 HTML legend handles doughnut/pie charts
  • #​9030 fix typo on api.md
  • #​9024 Docs update file location pointers

Development

Thanks to @​Flupp, @​LeeLenaleee, @​esuEichi, @​etimberg, @​jonrimmer, @​joshkel, @​kurkle, @​nagix and @​sylhare

v3.2.1

Compare Source

Essential Links

Bugs Fixed

  • #​9012 Enable scriptable element chart options
  • #​9008 Fix for enabling monotone cubicInterpolationMode when tension is 0
  • #​8995 Ignore truncated pixels in bar width calculation
  • #​8983 Improve linear tick generators collision estimation

Types

  • #​9012 Enable scriptable element chart options
  • #​9010 Add test for DecimationAlgorithm type

Documentation

  • #​9011 Add documentation on tooltip xAlign and yAlign

Development

Thanks to @​etimberg, @​kurkle and @​nagix

v3.2.0

Compare Source

Essential Links

Enhancements

  • #​8973 Add drawTime: beforeDraw option to filler
  • #​8941 Only enable the bar borderRadius at the end of the stacks
  • #​8936 Scale: draw border on separate layer after grid
  • #​8931 Cartesian scale tick backdrop
  • #​8926 Add `initial` property to animation callbacks

Performance

  • #​8933 Time: cache options needed by parse

Bugs Fixed

  • #​8972 Fix skipNull for subsequent datasets
  • #​8934 Fix for allowing parsing:false with stacks
  • #​8928 Allow the events option to be changed at runtime

Types

Documentation

  • #​8971 In html tooltip sample padding is read from the options
  • #​8942 Add example plugins for border and quadrants

Development

Thanks to @​TinfoilPancakes, @​etimberg and @​kurkle

v3.1.1

Compare Source

Essential Links

Performance

  • #​8898 Do not redraw endlessly on mouse move

Bugs Fixed

  • #​8919 Fix: Fill vertical lines
  • #​8913 Scale: Make sure grace is applied only once
  • #​8918 Fix: Initialize data object when replaced
  • #​8914 Skip ticks by callback value as documented
  • #​8911 Fix: don't draw segments out of bounds
  • #​8898 Do not redraw endlessly on mouse move
  • #​8883 Setting correct decimated values when below threshold
  • #​8882 Update @​<!---->simonbrunel/vuepress-plugin-versions

Types

  • #​8909 Fix tooltip positioners and scriptable signature
  • #​8891 add number, null and undefined as valid return types

Documentation

  • #​8910 Fix minor issues in docs
  • #​8907 Fix javascript syntax error in docs/general/padding.md
  • #​8904 Update v3-migration.md
  • #​8887 Docs: Update version menu title
  • #​8882 Update @​<!---->simonbrunel/vuepress-plugin-versions

Development

Thanks to @​DaaGER, @​LeeLenaleee, @​Nico-DF, @​etimberg and @​kurkle

v3.1.0

Compare Source

Essential Links

  • #​8856 Update dependencies (excluding typescript)
  • #​8843 Filtering data before decimation

Enhancements

  • #​8876 Enable event filtering per plugin
  • #​8875 Legend boxes support borderRadius
  • #​8874 Tooltip colorbox supports configurable borderWidth, borderRadius, and dash effect
  • #​8867 Support mirror option on x-axis
  • #​8864 Filler: support segment backgroundColor
  • #​8844 Allow styling of line segments
  • #​8839 Apply scale context to ticks scriptable options instead of chart context
  • #​8823 Dissociate border options from grid options

Bugs Fixed

  • #​8794 Limit onHover to chartArea
  • #​8877 Font: validate style, move defaults to `weight`
  • #​8872 Handle animating stacked bars from null values
  • #​8867 Support mirror option on x-axis
  • #​8868 Consider dynamically positioned scales for padding
  • #​8838 _boundSegments did not work on rising line
  • #​8832 Fix: update line options on resize, for gradients
  • #​8822 Time: Use callback helper on ticks.callback

Types

  • #​8847 Include `grace` in LinearScaleOptions type definition

Documentation

  • #​8866 Add version menu in documentation
  • #​8869 Document the no-parsing requirement of decimation
  • #​8863 Docs/broken link
  • #​8850 Docs migration register options
  • #​8837 Fix typos in canvas-background.md
  • #​8836 Fix typo in migration guide
  • #​8829 complete the first 'getting-started' example
  • #​8828 Document plugin event handling

Development

Thanks to @​LeeLenaleee, @​MosesMendoza, @​Nico-DF, @​etimberg, @​kurkle, @​m-ahmadi, @​mjcross and @​stockiNail

v3.0.2

Compare Source

Essential Links

Bugs Fixed

  • #​8811 Fix: tick spacing when min=0 | niceMin or max=0
  • #​8801 Correct decimation plugin documentation
  • #​8793 Logarithmic: handle null/NaN values

Documentation

  • #​8791 Docs small update
  • #​8803 Update documentation for getElementsAtEventForMode
  • #​8801 Correct decimation plugin documentation
  • #​8798 Update ticks.callback documentation

Thanks to @​LeeLenaleee, @​etimberg and @​kurkle

v3.0.1

Compare Source

Essential Links

Bugs Fixed

  • #​8789 Patch: option scope might not be an object

Thanks to @​kurkle

v3.0.0

Compare Source

Essential Links

Bugs Fixed

  • #​8787 Proxy: make sure set value ends up in first scope
  • #​8782 Fix tooltip align & external types

Types

  • #​8782 Fix tooltip align & external types

Documentation

  • #​8693 Update readme links and bug issue template
  • #​8788 Tweak redirect urls
  • #​8785 Vuepress HTML redirect for samples folder
  • #​8786 Adds scriptable column to options table in the title documentation
  • #​8784 Add vuepress-plugin-flexsearch
  • #​8783 Redirect to first sample
  • #​8780 Make samples more inline with eachother

Development

Included pre-releases

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports