[Snyk] Upgrade chart.js from 2.8.0 to 2.9.1 #45
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade
chart.jsfrom 2.8.0 to 2.9.1.Release notes
Bug Fixes
scale.getDecimalForPixelto the chart areaDocumentation
Development
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
Breaking changes
helpers._decimalPlacesis now privateEnhancements
dataset.orderautoSkipaware of major ticksoffsetGridLinesis truespanGapsin radar chartspointStyleimage[start, end])minandmaxin standard mannerPerformance
helpers.eachticks.sampleSizeoptionticks.source:'labels'helpers.eachwith for-loopscore.layoutgetScaleForId()calls in the line controllerhelpers.extendBug Fixes
autoSkipis enabledzeroLineIndexis definedtoExponentialbetween 0 and 20. Thanks @veggiesaurusgetValueForPixelin time scalelineTensiontick.majorintickFormatFunctiondetermineUnitForFormattingfloating point errorticks.minorandticks.majorissueshelpers.almostWholeDocumentation
elements.arc.anglein documentationticks.displayand addpointLabels.displaycubicInterpolationModeandfill. Thanks @stockiNailDevelopment
autoSkipinupdatehelpers.math._factorizeThanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
Documentation: http://www.chartjs.org/docs/2.8.0/
Deprecations
Chart.{Type}classesconfigMergeandscaleMergehelpersEnhancements
minBarLengthoption for bar chart. Thanks @adubereversesupport to time scaleonLeavecallback to legend. Thanks @jonrimmerIssues Fixed
offsetGridLinebehavior with a single data pointdata.labelslineWidthas an arraynew Number()is correctly handledstepSizeinnerHTMLusage from our DOM platformafterBuildTicksscale.pointLabels.lineHeightandscale.ticks.lineHeightoptionsautoSkipistrueticks.reverseissuegetRightValueto number in bar chartfitWithPointLabelscalculation in radial linear scalexLabelandyLabelwithlabelandvalueusePointStyleistrue. Thanks @alfiehdinsertElementsgetAreaimplementation for horizontal barsaddEventListenerandremoveEventListenerdataset.dataarraysDocumentation
aspectRatioproperty. Thanks @danielcb29parserinstead of the deprecatedformatoption. Thanks @Niladri24duttapaddingoption. Thanks @JEphronchartjs-plugin-colorschemesbarThickness. Thanks @jedrekdomanskiomi-chartto the doc. Thanks @dntzhangChart.min.jsin samplesmaintainAspectRatio. Thanks @janelledementpointBackgroundColorin radar samplechartjs-plugin-crosshair. Thanks @AbelHeinsbroekchartjs-plugin-roughDevelopment
*.jstest fixture configs.editorconfigfile to include newlines at EOF. Thanks @jtagschererChart.controllers.*importablegulp-connectand add jsdelivr/unpkg pathshelpers.options.resolveremoveResizeListener. Thanks @DanielRufThanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
More details in the release PR: #6092
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs