]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
5 years agoBump version in package-lock file (#7187)
Evert Timberg [Tue, 10 Mar 2020 18:46:15 +0000 (14:46 -0400)] 
Bump version in package-lock file (#7187)

5 years agoAllow running releases on v3 release branch (#7185)
Evert Timberg [Sun, 8 Mar 2020 21:44:28 +0000 (17:44 -0400)] 
Allow running releases on v3 release branch (#7185)

* Allow running releases on v3 release branch

* Remove `on` statement from yml config

5 years agoBump package version for first alpha release of v3 (#7183)
Evert Timberg [Sun, 8 Mar 2020 15:10:30 +0000 (11:10 -0400)] 
Bump package version for first alpha release of v3 (#7183)

5 years agoexpose boxWidth and boxHeight on tooltip (#6995)
bjones526 [Fri, 6 Mar 2020 17:17:59 +0000 (12:17 -0500)] 
expose boxWidth and boxHeight on tooltip (#6995)

5 years agoAdd tests for rendering to offscreen canvas (#7175)
Ben McCann [Fri, 6 Mar 2020 17:17:12 +0000 (09:17 -0800)] 
Add tests for rendering to offscreen canvas (#7175)

Add tests for using an offscreen canvas for Chart.js. These tests are
almost identical to existing tests, but with offscreen canvas enabled.

Co-authored-by: David Winegar <david.winegar@getcruise.com>
5 years agoMake update_latest work with alpha, beta, etc. (#7177)
Evert Timberg [Thu, 5 Mar 2020 23:05:02 +0000 (18:05 -0500)] 
Make update_latest work with alpha, beta, etc. (#7177)

Make update_latest work with alpha, beta, etc.

5 years agoAlphabetize element default options (#7170)
Ben McCann [Sun, 1 Mar 2020 14:57:39 +0000 (06:57 -0800)] 
Alphabetize element default options (#7170)

* Alphabetize element default options

* Add arc

* Add missing comma

5 years agoShorten imports (#7168)
Ben McCann [Sun, 1 Mar 2020 14:57:24 +0000 (06:57 -0800)] 
Shorten imports (#7168)

5 years agoRemove unused constructor parameter (#7171)
Ben McCann [Sun, 1 Mar 2020 14:57:05 +0000 (06:57 -0800)] 
Remove unused constructor parameter (#7171)

5 years agoUse global element hidden status for Pie charts (#7156)
Jukka Kurkela [Sun, 1 Mar 2020 14:07:39 +0000 (16:07 +0200)] 
Use global element hidden status for Pie charts (#7156)

Use global element hidden status for Pie / polarArea charts

5 years agoConvert some of the time scale tests to fixtures (#7154)
Jukka Kurkela [Fri, 28 Feb 2020 23:56:22 +0000 (01:56 +0200)] 
Convert some of the time scale tests to fixtures (#7154)

* Convert some of time scale tick tests to fixtures
* A little more threshold

5 years agoGive the boot to chartjs-adapter-moment (#7155)
Jukka Kurkela [Fri, 28 Feb 2020 00:40:31 +0000 (02:40 +0200)] 
Give the boot to chartjs-adapter-moment (#7155)

Remove default of using chartjs-adapter-moment

5 years agoAllow registering scale with single parameter (#7157)
Ben McCann [Fri, 28 Feb 2020 00:38:10 +0000 (16:38 -0800)] 
Allow registering scale with single parameter (#7157)

Allow registering scale with single parameter

5 years agoRemove position defaults (#7165)
Ben McCann [Fri, 28 Feb 2020 00:37:36 +0000 (16:37 -0800)] 
Remove position defaults (#7165)

5 years agoAdd some tests to improve coverage (#7164)
Jukka Kurkela [Fri, 28 Feb 2020 00:37:11 +0000 (02:37 +0200)] 
Add some tests to improve coverage (#7164)

5 years agoUpdate to actions/checkout@v2 (#7163)
Jukka Kurkela [Thu, 27 Feb 2020 17:28:11 +0000 (19:28 +0200)] 
Update to actions/checkout@v2 (#7163)

5 years agoTurn elements/index into an index (#7135)
Jukka Kurkela [Wed, 26 Feb 2020 23:08:29 +0000 (01:08 +0200)] 
Turn elements/index into an index (#7135)

5 years agoIssue 4991 (#7084)
Jukka Kurkela [Tue, 25 Feb 2020 19:35:32 +0000 (21:35 +0200)] 
Issue 4991 (#7084)

* Fix remaining handleEvent issues

* Reduce lines

* Update tooltip always on replay

* Address issues

* Fix test

* More tooltip fixing

* Extend comment

5 years agoStop leaking fonts (and fillStyle) to ctx (#7150)
Jukka Kurkela [Sun, 23 Feb 2020 18:08:01 +0000 (20:08 +0200)] 
Stop leaking fonts (and fillStyle) to ctx (#7150)

5 years agoMake test Context an ES6 module (#7142)
Ben McCann [Sun, 23 Feb 2020 13:08:06 +0000 (05:08 -0800)] 
Make test Context an ES6 module (#7142)

* Make test Context an ES6 module

* Address comments

5 years agoWebWorker support (#7146)
Ben McCann [Sat, 22 Feb 2020 19:48:55 +0000 (11:48 -0800)] 
WebWorker support (#7146)

Co-authored-by: David Winegar <david.s.winegar@gmail.com>
5 years agoFix coveralls (#7148)
Jukka Kurkela [Sat, 22 Feb 2020 19:36:05 +0000 (21:36 +0200)] 
Fix coveralls (#7148)

5 years agoEnsure all samples use correct scale options (#7147)
Evert Timberg [Sat, 22 Feb 2020 19:33:39 +0000 (14:33 -0500)] 
Ensure all samples use correct scale options (#7147)

5 years agoUpdate dependencies and alter privacy of functions (#7138)
Jukka Kurkela [Sat, 22 Feb 2020 13:35:16 +0000 (15:35 +0200)] 
Update dependencies and alter privacy of functions (#7138)

* Update dependencies

* Fix privacy problems

* color lib & consistency

* Review update

* getLabelCapacity

* Review update

5 years agoFill between datasets (#7139)
Jukka Kurkela [Fri, 21 Feb 2020 23:58:14 +0000 (01:58 +0200)] 
Fill between datasets (#7139)

5 years agoCreate a Tick typedef (#7124)
Ben McCann [Fri, 21 Feb 2020 23:56:39 +0000 (15:56 -0800)] 
Create a Tick typedef (#7124)

5 years agoOutput ES6 from babel (#7136)
Jukka Kurkela [Fri, 21 Feb 2020 23:55:53 +0000 (01:55 +0200)] 
Output ES6 from babel (#7136)

5 years agoRemove unnecessary changes (#7140)
Ben McCann [Fri, 21 Feb 2020 23:55:40 +0000 (15:55 -0800)] 
Remove unnecessary changes (#7140)

5 years agoRollup plugins live in new location (#7134)
Ben McCann [Thu, 20 Feb 2020 23:19:59 +0000 (15:19 -0800)] 
Rollup plugins live in new location (#7134)

5 years agoTurn on excludeNotExported (#7121)
Ben McCann [Thu, 20 Feb 2020 17:18:21 +0000 (09:18 -0800)] 
Turn on excludeNotExported (#7121)

5 years agoTurn on some TypeScript checks (#7116)
Ben McCann [Thu, 20 Feb 2020 14:43:16 +0000 (06:43 -0800)] 
Turn on some TypeScript checks (#7116)

Turn on some TypeScript checks

5 years agoRemove css from deploy scripts (#7131)
Ben McCann [Thu, 20 Feb 2020 14:42:06 +0000 (06:42 -0800)] 
Remove css from deploy scripts (#7131)

5 years agoInclude version in Chart (#7129)
Jukka Kurkela [Thu, 20 Feb 2020 14:41:47 +0000 (16:41 +0200)] 
Include version in Chart (#7129)

* Include version in Chart
* Remove commonjs

5 years agoFix deploy.sh if (#7132)
Jukka Kurkela [Thu, 20 Feb 2020 14:41:27 +0000 (16:41 +0200)] 
Fix deploy.sh if (#7132)

5 years agoNo need to use rollup commonjs plugin (#7122)
Ben McCann [Thu, 20 Feb 2020 01:51:01 +0000 (17:51 -0800)] 
No need to use rollup commonjs plugin (#7122)

5 years agoMove color helpers to helpers.color (#7130)
Jukka Kurkela [Wed, 19 Feb 2020 23:14:22 +0000 (01:14 +0200)] 
Move color helpers to helpers.color (#7130)

Move color helpers to helpers.color

5 years agoRename steppedLine to stepped (#7127)
Jukka Kurkela [Wed, 19 Feb 2020 23:13:40 +0000 (01:13 +0200)] 
Rename steppedLine to stepped (#7127)

Rename steppedLine to stepped

5 years agoPrepare babel & karma for class properties (#7126)
Jukka Kurkela [Wed, 19 Feb 2020 19:24:16 +0000 (21:24 +0200)] 
Prepare babel & karma for class properties (#7126)

* Prepare babel & karma for class properties
* Remove rollup-plugin-istanbul

5 years agoSimplify rtlAdapter export (#7120)
Ben McCann [Wed, 19 Feb 2020 19:20:11 +0000 (11:20 -0800)] 
Simplify rtlAdapter export (#7120)

5 years agoRemove version from docs. Use latest (#7128)
Ben McCann [Wed, 19 Feb 2020 19:19:46 +0000 (11:19 -0800)] 
Remove version from docs. Use latest (#7128)

5 years agoInclude Typedoc files on GitHub pages (#7119)
Ben McCann [Wed, 19 Feb 2020 19:17:51 +0000 (11:17 -0800)] 
Include Typedoc files on GitHub pages (#7119)

5 years agoMake margins private (#7123)
Ben McCann [Wed, 19 Feb 2020 19:15:48 +0000 (11:15 -0800)] 
Make margins private (#7123)

5 years agoDoughnut / PolarArea cleanup (#7113)
Jukka Kurkela [Mon, 17 Feb 2020 23:45:30 +0000 (01:45 +0200)] 
Doughnut / PolarArea cleanup (#7113)

Doughnut / PolarArea cleanup

5 years agoJSDoc fixes (#7112)
Ben McCann [Mon, 17 Feb 2020 19:31:43 +0000 (11:31 -0800)] 
JSDoc fixes (#7112)

5 years agoUse ResizeObserver and MutationObserver to detect detach/attach/resize (#7104)
Jukka Kurkela [Mon, 17 Feb 2020 16:00:03 +0000 (18:00 +0200)] 
Use ResizeObserver and MutationObserver to detect detach/attach/resize (#7104)

* Use Resize/MutationObserver to detect detach/attach/resize
* Cleanup
* Review update
* Restore infinite resize detection (#6011)

5 years agoChange remaining `for of` loops to regular ones (#7103)
Jukka Kurkela [Fri, 14 Feb 2020 19:12:23 +0000 (21:12 +0200)] 
Change remaining `for of` loops to regular ones (#7103)

5 years agoStrip comments from ESM build otherwise the TS compiler breaks (#7102)
Evert Timberg [Fri, 14 Feb 2020 19:11:24 +0000 (14:11 -0500)] 
Strip comments from ESM build otherwise the TS compiler breaks (#7102)

* Strip comments from ESM build otherwise the TS compiler breaks
* Cleanup no ESM build as well

5 years agoAllow "spriting" text in fixtures (#7073)
Jukka Kurkela [Fri, 14 Feb 2020 17:33:08 +0000 (19:33 +0200)] 
Allow "spriting" text in fixtures (#7073)

Allow "blit" text drawing in fixtures

5 years agoRemove unused property _maxLabelLines (#7101)
Ben McCann [Fri, 14 Feb 2020 17:29:52 +0000 (09:29 -0800)] 
Remove unused property _maxLabelLines (#7101)

5 years agoBabel @kurkle/color for IE support (#7099)
Jukka Kurkela [Fri, 14 Feb 2020 17:29:33 +0000 (19:29 +0200)] 
Babel @kurkle/color for IE support (#7099)

Babel @kurkle/color for IE support

5 years agoFix transparentize in samples (#7098)
Jukka Kurkela [Thu, 13 Feb 2020 23:42:53 +0000 (01:42 +0200)] 
Fix transparentize in samples (#7098)

5 years agoFix memory leak (#7097)
Jukka Kurkela [Thu, 13 Feb 2020 23:42:25 +0000 (01:42 +0200)] 
Fix memory leak (#7097)

5 years agoEnable esnext and fix all lint errors (#7094)
Jukka Kurkela [Thu, 13 Feb 2020 23:41:49 +0000 (01:41 +0200)] 
Enable esnext and fix all lint errors (#7094)

* enable esnext and fix all lint errors

* Review update

* Missed some

* Some cleanup still

* Remove leftover eslint disable

5 years agoCleanup some Typescript comments (#7088)
Ben McCann [Wed, 12 Feb 2020 13:03:23 +0000 (05:03 -0800)] 
Cleanup some Typescript comments (#7088)

5 years agoCleanup private methods on Scales (#7082)
Ben McCann [Wed, 12 Feb 2020 00:18:13 +0000 (16:18 -0800)] 
Cleanup private methods on Scales (#7082)

5 years agoLook for any branch starting with release (#7087)
Ben McCann [Tue, 11 Feb 2020 16:52:10 +0000 (08:52 -0800)] 
Look for any branch starting with release (#7087)

5 years agoPrefix private controller methods with underscore (#7081)
Ben McCann [Mon, 10 Feb 2020 22:57:22 +0000 (14:57 -0800)] 
Prefix private controller methods with underscore (#7081)

Prefix private controller methods with underscore

5 years agoDocument types for TimeScale (#7083)
Ben McCann [Mon, 10 Feb 2020 22:57:04 +0000 (14:57 -0800)] 
Document types for TimeScale (#7083)

5 years agoUtilize _angleBetween in Arc (#7080)
Jukka Kurkela [Mon, 10 Feb 2020 20:10:51 +0000 (22:10 +0200)] 
Utilize _angleBetween in Arc (#7080)

* Utilize _angleBetween in Arc
* More ES6 chrore on Arc

5 years agoAnimate circumference (#7079)
Jukka Kurkela [Mon, 10 Feb 2020 20:10:15 +0000 (22:10 +0200)] 
Animate circumference (#7079)

5 years agoFix typo and update dependencies (#7077)
Jukka Kurkela [Mon, 10 Feb 2020 01:14:38 +0000 (03:14 +0200)] 
Fix typo and update dependencies (#7077)

* Fix typo and update dependencies
* Update `isColorInstance`

5 years agoFix lint issues in gulpfile.js (#7076)
Jukka Kurkela [Sun, 9 Feb 2020 16:50:11 +0000 (18:50 +0200)] 
Fix lint issues in gulpfile.js (#7076)

* Fix lint issues in gulpfile.js
* .eslintignore update

5 years agoDefaults as ES6 class (#7074)
Jukka Kurkela [Sun, 9 Feb 2020 13:52:18 +0000 (15:52 +0200)] 
Defaults as ES6 class (#7074)

* Defaults as ES6 class

* Review comments

5 years agoFix time scale computeOffsets (#7072)
Ben McCann [Sat, 8 Feb 2020 23:08:42 +0000 (15:08 -0800)] 
Fix time scale computeOffsets (#7072)

5 years agoPluginService as ES6 class (#7075)
Jukka Kurkela [Sat, 8 Feb 2020 23:06:49 +0000 (01:06 +0200)] 
PluginService as ES6 class (#7075)

* PluginService as ES6 class
* Review update

5 years agoSimplify financial sample (#7070)
Ben McCann [Sat, 8 Feb 2020 13:10:20 +0000 (05:10 -0800)] 
Simplify financial sample (#7070)

5 years agoSwitch from chartjs-color to @kurkle/color (#7059)
Jukka Kurkela [Sat, 8 Feb 2020 00:24:29 +0000 (02:24 +0200)] 
Switch from chartjs-color to @kurkle/color (#7059)

5 years agoFix errors reported by TypeScript compiler (#7030)
Ben McCann [Fri, 7 Feb 2020 23:03:33 +0000 (15:03 -0800)] 
Fix errors reported by TypeScript compiler (#7030)

5 years agocore.scale cleanup (#7067)
Ben McCann [Thu, 6 Feb 2020 23:17:05 +0000 (15:17 -0800)] 
core.scale cleanup (#7067)

5 years agoConfigurable hide/show animations (#7055)
Jukka Kurkela [Thu, 6 Feb 2020 23:16:24 +0000 (01:16 +0200)] 
Configurable hide/show animations (#7055)

Configurable hide/show animations

5 years agoConvert controllers to ES6 classes (#7061)
Ben McCann [Thu, 6 Feb 2020 12:33:00 +0000 (04:33 -0800)] 
Convert controllers to ES6 classes (#7061)

5 years agoFix legend title drawing + update sample (#7060)
Evert Timberg [Thu, 6 Feb 2020 12:31:33 +0000 (07:31 -0500)] 
Fix legend title drawing + update sample (#7060)

5 years agoFinishing removing old major/minor options (#7042)
Ben McCann [Wed, 5 Feb 2020 23:20:01 +0000 (15:20 -0800)] 
Finishing removing old major/minor options (#7042)

* Finishing removing old major/minor options
* Fix samples

5 years agoJSDoc and other cleanup (#7057)
Ben McCann [Wed, 5 Feb 2020 13:27:02 +0000 (05:27 -0800)] 
JSDoc and other cleanup (#7057)

5 years agoMake datasetController an ES6 class (#7056)
Ben McCann [Tue, 4 Feb 2020 23:09:56 +0000 (15:09 -0800)] 
Make datasetController an ES6 class (#7056)

5 years agoGenerate ticks when source is data (#7044)
Ben McCann [Tue, 4 Feb 2020 00:22:09 +0000 (16:22 -0800)] 
Generate ticks when source is data (#7044)

Generate ticks when source is data

5 years agoFix some JSDoc errors (#7026)
Ben McCann [Mon, 3 Feb 2020 12:52:55 +0000 (04:52 -0800)] 
Fix some JSDoc errors (#7026)

* Fix some JSDoc errors

* Fix helpers.dom JSDoc errors

* Add scale JSDoc errors

* Address review comment

* Fix additional errors

* Document optional parameters

* JSDoc fixes for datasetController

* Remove undefined

5 years agoImproved formatting of numeric scale labels (#7007)
Ben McCann [Mon, 3 Feb 2020 12:36:31 +0000 (04:36 -0800)] 
Improved formatting of numeric scale labels (#7007)

* Improved formatting of numeric scale labels

* Put locale on options

* Use scientific notation for big ticks

* Remove extra parameter

5 years agoCleanup imports on controllers (#7052)
Ben McCann [Mon, 3 Feb 2020 12:34:54 +0000 (04:34 -0800)] 
Cleanup imports on controllers (#7052)

5 years agoUpdate imports for elements (#7049)
Ben McCann [Mon, 3 Feb 2020 12:34:36 +0000 (04:34 -0800)] 
Update imports for elements (#7049)

5 years agoUpdate legend imports (#7048)
Ben McCann [Sat, 1 Feb 2020 13:29:39 +0000 (05:29 -0800)] 
Update legend imports (#7048)

5 years agoRemove extra call to _getLabelCapacity (#6999)
Ben McCann [Sat, 1 Feb 2020 13:24:23 +0000 (05:24 -0800)] 
Remove extra call to _getLabelCapacity (#6999)

5 years agoFix bug in opacity handling (#7047)
Ben McCann [Sat, 1 Feb 2020 13:20:22 +0000 (05:20 -0800)] 
Fix bug in opacity handling (#7047)

5 years agoCleanup time scale imports (#7041)
Ben McCann [Fri, 31 Jan 2020 12:10:37 +0000 (04:10 -0800)] 
Cleanup time scale imports (#7041)

5 years agoscale.linearbase cleanup (#7038)
Ben McCann [Fri, 31 Jan 2020 12:09:52 +0000 (04:09 -0800)] 
scale.linearbase cleanup (#7038)

5 years agoRemove unnecessary check for color library (#7043)
Ben McCann [Fri, 31 Jan 2020 12:09:25 +0000 (04:09 -0800)] 
Remove unnecessary check for color library (#7043)

5 years agoFix legend.md markdown syntax (#7034)
jachstet-sea [Fri, 31 Jan 2020 00:27:53 +0000 (01:27 +0100)] 
Fix legend.md markdown syntax (#7034)

* Fix legend.md markdown syntax

Somehow the markdown of a table in the legend.md file was broken ...

* Update legend.md

forgot to add the second option

5 years agoFix typo in elements.line (#7040)
Jukka Kurkela [Fri, 31 Jan 2020 00:24:05 +0000 (02:24 +0200)] 
Fix typo in elements.line (#7040)

Fix typo in elements.line

5 years agoRemove unused helpers (#7039)
Ben McCann [Fri, 31 Jan 2020 00:23:40 +0000 (16:23 -0800)] 
Remove unused helpers (#7039)

5 years agoFix isRadial is always false (#7037)
Ben McCann [Fri, 31 Jan 2020 00:22:38 +0000 (16:22 -0800)] 
Fix isRadial is always false (#7037)

5 years agoReduce requestAnimationFrame polyfill (#7033)
Ben McCann [Fri, 31 Jan 2020 00:21:30 +0000 (16:21 -0800)] 
Reduce requestAnimationFrame polyfill (#7033)

* Reduce requestAnimationFrame polyfill
* Remove another unnecessary polyfill

5 years agoConvert the DateAdapter to ES6 (#7032)
Ben McCann [Fri, 31 Jan 2020 00:20:59 +0000 (16:20 -0800)] 
Convert the DateAdapter to ES6 (#7032)

5 years agoMove text helpers and reduce scope of imports (#7028)
Ben McCann [Fri, 31 Jan 2020 00:19:53 +0000 (16:19 -0800)] 
Move text helpers and reduce scope of imports (#7028)

5 years agoRemove unused variable (#7031)
Ben McCann [Fri, 31 Jan 2020 00:17:06 +0000 (16:17 -0800)] 
Remove unused variable (#7031)

5 years agoSwitch to const/let in platform.dom.js and fix bug (#7024)
Ben McCann [Tue, 28 Jan 2020 17:35:34 +0000 (09:35 -0800)] 
Switch to const/let in platform.dom.js and fix bug (#7024)

5 years agoFix binarySearch for empty dataset (#7023)
Jukka Kurkela [Tue, 28 Jan 2020 16:46:23 +0000 (18:46 +0200)] 
Fix binarySearch for empty dataset (#7023)

5 years agoFormat numbers in tooltip (#7004)
Ben McCann [Mon, 27 Jan 2020 22:58:58 +0000 (14:58 -0800)] 
Format numbers in tooltip (#7004)

* Format numbers in tooltip
* Add check for typeof number
* Implement only for linear and log scales

5 years agoWhen `gridLines.display` is false, the axis border is still drawn (#7014)
Evert Timberg [Mon, 27 Jan 2020 22:57:31 +0000 (17:57 -0500)] 
When `gridLines.display` is false, the axis border is still drawn (#7014)

5 years agoImproved financial sample (#6998)
Ben McCann [Sun, 26 Jan 2020 20:35:53 +0000 (12:35 -0800)] 
Improved financial sample (#6998)

* Improved financial sample
* Switch from adapter to moment
* Use data instead of cached timestamps

5 years agoAllow switching platforms (#6964)
David Winegar [Sun, 26 Jan 2020 20:33:20 +0000 (12:33 -0800)] 
Allow switching platforms (#6964)

Allow switching platforms

Move the Chart.platform to Chart.platform.current instead, and add
ways to see available platforms and set the current platform. This
is necessary for adding tests that use the "basic" platform.