]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
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.

5 years agoProper text alignment for multiline tick labels (#6988)
Evert Timberg [Wed, 22 Jan 2020 16:13:43 +0000 (11:13 -0500)] 
Proper text alignment for multiline tick labels (#6988)

* Proper text alignment for multiline tick labels

* Handle other rotations as well

5 years agoReduce scope of imports (#7000)
Ben McCann [Wed, 22 Jan 2020 12:19:44 +0000 (04:19 -0800)] 
Reduce scope of imports (#7000)

5 years agoAllow specifying spanGaps as number (max distance) (#6993)
Jukka Kurkela [Tue, 21 Jan 2020 23:33:27 +0000 (01:33 +0200)] 
Allow specifying spanGaps as number (max distance) (#6993)

5 years agoUse binary search for interpolations (#6958)
Jukka Kurkela [Tue, 21 Jan 2020 23:31:17 +0000 (01:31 +0200)] 
Use binary search for interpolations (#6958)

5 years agoFiller fix (#6989)
Jukka Kurkela [Tue, 21 Jan 2020 23:30:23 +0000 (01:30 +0200)] 
Filler fix (#6989)

* Filler fix
* Add an indicator of reference points

5 years agoEnable imports for tests (#6997)
Jukka Kurkela [Tue, 21 Jan 2020 20:44:14 +0000 (22:44 +0200)] 
Enable imports for tests (#6997)

5 years agoClean up after test (#6976)
Jukka Kurkela [Tue, 21 Jan 2020 20:43:41 +0000 (22:43 +0200)] 
Clean up after test (#6976)

* Clean up
* Make sure the event is inside chart are

5 years agoUpdate version in package-lock (#6994)
Ben McCann [Tue, 21 Jan 2020 20:31:17 +0000 (12:31 -0800)] 
Update version in package-lock (#6994)

5 years agoFix tooltip for 'dataset' mode (#6961)
Jukka Kurkela [Tue, 21 Jan 2020 14:48:58 +0000 (16:48 +0200)] 
Fix tooltip for 'dataset' mode (#6961)

5 years agoConvert Tooltip to a plugin (#6990)
Evert Timberg [Tue, 21 Jan 2020 11:36:53 +0000 (06:36 -0500)] 
Convert Tooltip to a plugin (#6990)

* Convert Tooltip to a plugin
* code review feedback
* Update docs. Convert positioners map to be on the plugin directly

5 years agoResize on zoom, retry (#6987)
Jukka Kurkela [Sun, 19 Jan 2020 18:15:27 +0000 (20:15 +0200)] 
Resize on zoom, retry (#6987)

5 years agoShow color box only on the first line of the tooltip body (#6984)
Evert Timberg [Sun, 19 Jan 2020 14:03:51 +0000 (09:03 -0500)] 
Show color box only on the first line of the tooltip body (#6984)

* Show color box only on the first line of the tooltip body
* Code review feedback

5 years agoLinear scale with min/max/stepSize set should use all 3 if the range fits (#6966)
Evert Timberg [Sat, 18 Jan 2020 13:35:30 +0000 (08:35 -0500)] 
Linear scale with min/max/stepSize set should use all 3 if the range fits (#6966)

When (max - min) / stepSize is an integer, we can do a very simple
tick generation method.

5 years agofix drawPoints parameter (#6975)
Dominic Jean [Sat, 18 Jan 2020 13:32:09 +0000 (08:32 -0500)] 
fix drawPoints parameter (#6975)

5 years agoUse import statements in test code (#6977)
Ben McCann [Sat, 18 Jan 2020 00:13:38 +0000 (16:13 -0800)] 
Use import statements in test code (#6977)

5 years agoFix updating retinaScale (#6971)
Jukka Kurkela [Sat, 18 Jan 2020 00:08:38 +0000 (02:08 +0200)] 
Fix updating retinaScale (#6971)

* Fix updating retinaScale
* Destructure

5 years agoResize on zoom (#6974)
Jukka Kurkela [Sat, 18 Jan 2020 00:07:28 +0000 (02:07 +0200)] 
Resize on zoom (#6974)

* Resize on zoom
* Add test

5 years agoFix bar border artifacts (#6972)
Jukka Kurkela [Sat, 18 Jan 2020 00:06:51 +0000 (02:06 +0200)] 
Fix bar border artifacts (#6972)

5 years agoFix clipping when zoomed (#6973)
Jukka Kurkela [Sat, 18 Jan 2020 00:05:51 +0000 (02:05 +0200)] 
Fix clipping when zoomed (#6973)

5 years agoRebuild legend after datasets are updated (#6969)
Jukka Kurkela [Thu, 16 Jan 2020 21:20:22 +0000 (23:20 +0200)] 
Rebuild legend after datasets are updated (#6969)

5 years agoSet the version to v3.0.0-dev for dev builds (#6965)
Evert Timberg [Thu, 16 Jan 2020 12:20:16 +0000 (07:20 -0500)] 
Set the version to v3.0.0-dev for dev builds (#6965)

5 years agoProposed fix for issue #6830 (#6884)
Marc Silverman [Wed, 15 Jan 2020 22:13:36 +0000 (14:13 -0800)] 
Proposed fix for issue #6830 (#6884)

* proposed fix for issue #6830 https://github.com/chartjs/Chart.js/issues/6830

* Updated to pass the full options object instead of a shadow borderwidth. Updated migration guide regarding the API signature change.

* Moved to use options.radius instead of caching radius; updated related migration docs.

5 years agoFix reference to distanceBetweenPoints (#6962)
Ben McCann [Tue, 14 Jan 2020 23:26:35 +0000 (15:26 -0800)] 
Fix reference to distanceBetweenPoints (#6962)

5 years agoOptimize category parse for usual use case (#6959)
Jukka Kurkela [Tue, 14 Jan 2020 23:22:17 +0000 (01:22 +0200)] 
Optimize category parse for usual use case (#6959)

5 years agoThrottle all events (to 1 / frame each) (#6953)
Jukka Kurkela [Tue, 14 Jan 2020 12:34:08 +0000 (14:34 +0200)] 
Throttle all events (to 1 / frame each) (#6953)

* Throttle all events
* Asynchronize event tests

5 years agoMove location of dataset options (#6955)
Ben McCann [Tue, 14 Jan 2020 00:39:30 +0000 (16:39 -0800)] 
Move location of dataset options (#6955)

* Move location of dataset options
* Fix misplaced period

5 years agoFix log scale calculations (#6903)
Jukka Kurkela [Tue, 14 Jan 2020 00:36:50 +0000 (02:36 +0200)] 
Fix log scale calculations (#6903)

* Fix log scale calculations
* Fully remove _valueOffset
* Invalidate 0
* Review update
* Skip NaN

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
5 years agowaitForResize before resizing (#6954)
Jukka Kurkela [Tue, 14 Jan 2020 00:35:44 +0000 (02:35 +0200)] 
waitForResize before resizing (#6954)

* waitForResize before resizing
* Change the failing test
* Change the other leaking test too

5 years agoScriptable tick fonts (#6939)
Ben McCann [Tue, 14 Jan 2020 00:33:46 +0000 (16:33 -0800)] 
Scriptable tick fonts (#6939)

* Remove extra font parsing in Scale.fit
* Implement scriptable options for tick formatting

5 years agoDetect stack change (#6947)
Jukka Kurkela [Tue, 14 Jan 2020 00:33:25 +0000 (02:33 +0200)] 
Detect stack change (#6947)

* Detect stack change
* Add test

5 years agoAdd stroke lines option around ticks to improve readability (#6787)
Jose Raul Pérez [Sun, 12 Jan 2020 19:22:51 +0000 (20:22 +0100)] 
Add stroke lines option around ticks to improve readability (#6787)

Enable stroking of text on of axis labels

5 years agoLimit interactions to chartArea (+/-0.5px) (#6943)
Jukka Kurkela [Sat, 11 Jan 2020 23:10:32 +0000 (01:10 +0200)] 
Limit interactions to chartArea (+/-0.5px) (#6943)

Limit interactions to chartArea (+/-0.5px)

5 years agoRe-parse existing elements when data is replaced (#6925)
Jukka Kurkela [Fri, 10 Jan 2020 23:31:17 +0000 (01:31 +0200)] 
Re-parse existing elements when data is replaced (#6925)

* Re-parse existing elements when data is replaced
* Update test

5 years agoPolar area: startAngle in degrees, 0 at top. (#6936)
Ben McCann [Fri, 10 Jan 2020 23:30:29 +0000 (15:30 -0800)] 
Polar area: startAngle in degrees, 0 at top. (#6936)

* Polar area: startAngle in degrees, 0 at top.
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
5 years agoTry beta Chrome (#6933)
Jukka Kurkela [Fri, 10 Jan 2020 23:29:34 +0000 (01:29 +0200)] 
Try beta Chrome (#6933)

* Try beta chrome
* Update path

5 years agoAdd the ability to add a title to the legend (#6906)
Evert Timberg [Fri, 10 Jan 2020 23:28:51 +0000 (18:28 -0500)] 
Add the ability to add a title to the legend (#6906)

* Add the ability to add a title to the legend

- Legend title can be specified
- Font & color options added
- Padding option added
- Positioning option added
- Legend title sample file added

5 years agoAccount for hoverRadius in Point.size() (#6945)
Jukka Kurkela [Fri, 10 Jan 2020 23:28:06 +0000 (01:28 +0200)] 
Account for hoverRadius in Point.size() (#6945)

* Account for hoverRadius in Point.size()
* Update fixtures

5 years agoDraw active points last (#6944)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:31 +0000 (01:27 +0200)] 
Draw active points last (#6944)

5 years agoUpdate moment to 2.24 in samples (#6948)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:16 +0000 (01:27 +0200)] 
Update moment to 2.24 in samples (#6948)

5 years agoFix broken config in log scatter sample (#6937)
Ben McCann [Thu, 9 Jan 2020 21:25:31 +0000 (13:25 -0800)] 
Fix broken config in log scatter sample (#6937)

5 years agoSwitch most requires to imports (#6935)
Ben McCann [Thu, 9 Jan 2020 12:23:53 +0000 (04:23 -0800)] 
Switch most requires to imports (#6935)

5 years agoBar chores (#6889)
Jukka Kurkela [Wed, 8 Jan 2020 22:27:17 +0000 (00:27 +0200)] 
Bar chores (#6889)

* Limit invisible bar section size

* Improve readability

* Fix for issue 6368

* Raview update

* Review update, add test

* Typos

* Try to make sense :)

5 years agoUpgrade Ubuntu on Travis to match GitHub actions (#6932)
Ben McCann [Wed, 8 Jan 2020 12:37:22 +0000 (04:37 -0800)] 
Upgrade Ubuntu on Travis to match GitHub actions (#6932)

5 years agoStop using old OS on Travis (#6930)
Ben McCann [Tue, 7 Jan 2020 21:45:04 +0000 (13:45 -0800)] 
Stop using old OS on Travis (#6930)

5 years agoRemove futile optimization (#6928)
Jukka Kurkela [Tue, 7 Jan 2020 16:27:44 +0000 (18:27 +0200)] 
Remove futile optimization (#6928)

5 years agoMake sampleSize apply to computeLabelSizes (#6926)
Ben McCann [Tue, 7 Jan 2020 12:43:47 +0000 (04:43 -0800)] 
Make sampleSize apply to computeLabelSizes (#6926)

5 years agoImprove calculation for number of ticks that can fit (#6927)
Ben McCann [Tue, 7 Jan 2020 12:26:29 +0000 (04:26 -0800)] 
Improve calculation for number of ticks that can fit (#6927)

5 years agoTypos fix (#6924)
Elina Gorshkova [Mon, 6 Jan 2020 23:07:08 +0000 (18:07 -0500)] 
Typos fix  (#6924)

* Fixed spelling typo

Changed 'are know' to 'are known'

* Fix spelling in the docs

Added a missing comma

* Fix spelling in the docs

Added a missing comma

5 years agoUpdate tooltip docs with working example (#6918)
Evert Timberg [Mon, 6 Jan 2020 22:49:36 +0000 (17:49 -0500)] 
Update tooltip docs with working example (#6918)

5 years agoAdd API to change data visibility (#6907)
Evert Timberg [Mon, 6 Jan 2020 22:16:00 +0000 (17:16 -0500)] 
Add API to change data visibility (#6907)