]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
4 years ago2.9 docs - fix broken link (#8241) 2.9
Ben McCann [Mon, 28 Dec 2020 08:20:08 +0000 (00:20 -0800)] 
2.9 docs - fix broken link (#8241)

4 years agoUse default value when backgroundColor is undefined (#7950)
Takuya Uehara [Sat, 24 Oct 2020 11:43:51 +0000 (20:43 +0900)] 
Use default value when backgroundColor is undefined (#7950)

4 years agoUse Object.create(null) as `merge` target (#7920) 7916/head
Jukka Kurkela [Sun, 18 Oct 2020 18:05:05 +0000 (21:05 +0300)] 
Use Object.create(null) as `merge` target (#7920)

4 years agoWhen objects are merged together, the target prototype can be polluted. (#7918)
Evert Timberg [Sun, 18 Oct 2020 17:47:08 +0000 (13:47 -0400)] 
When objects are merged together, the target prototype can be polluted. (#7918)

* When objects are merged together, the target prototype can be polluted.

This change blocks updates to the `__proto__` key during config merge

4 years agoBump verison number to v2.9.4
Evert Timberg [Sun, 18 Oct 2020 16:56:08 +0000 (12:56 -0400)] 
Bump verison number to v2.9.4

4 years agoFix Maximum call stack size exception in computeLabelSizes (#7883)
Matthew Crumley [Sat, 17 Oct 2020 20:35:00 +0000 (16:35 -0400)] 
Fix Maximum call stack size exception in computeLabelSizes (#7883)

Calling Math.max with a large number of values was throwing an exception.
Tracking the current largest width and height as the widths and heights are
built up should be faster and avoids the exception.

4 years ago[2.9] FitBoxes recursion when dimensions are NaN (#7853)
Alessandro Menezes [Fri, 9 Oct 2020 14:45:13 +0000 (10:45 -0400)] 
[2.9] FitBoxes recursion when dimensions are NaN (#7853)

* Infinite recursion when dimensions are NaN

Adding a verification on updateDims that handles a case when dimensions are both
NaN. This caused an infinite recursion on fitBoxes when calculating the layout
for a chart that is mounted on an element that is not yet in DOM.

Fixes #7761

4 years agoUse node v12.18.2 on Travis CI (#7864)
Alessandro Menezes [Thu, 8 Oct 2020 12:04:05 +0000 (08:04 -0400)] 
Use node v12.18.2 on Travis CI (#7864)

Due to an issue with deprecated deps (gitbook-cli), forcing travis to and older
compatible version of nodejs.

Fixes #7863

5 years agodocs: fix rollup external moment (#7587)
Alexander Wunschik [Sun, 5 Jul 2020 14:36:05 +0000 (16:36 +0200)] 
docs: fix rollup external moment (#7587)

5 years agoPreserve object prototypes when cloning (#7404)
Bryan Iddings [Thu, 4 Jun 2020 21:23:59 +0000 (17:23 -0400)] 
Preserve object prototypes when cloning (#7404)

Co-authored-by: Bryan.Iddings <bryan.iddings@noaa.gov>
5 years agoLook for any branch starting with release (#7087) (#7089) 7378/head
Ben McCann [Tue, 11 Feb 2020 18:09:44 +0000 (10:09 -0800)] 
Look for any branch starting with release (#7087) (#7089)

5 years agoUpdate version number to 2.9.3 (#6725) 6743/head
Ben McCann [Mon, 11 Nov 2019 12:10:09 +0000 (04:10 -0800)] 
Update version number to 2.9.3 (#6725)

5 years agoDon't make legend empty when fill is false (#6719)
Ben McCann [Mon, 11 Nov 2019 01:03:30 +0000 (17:03 -0800)] 
Don't make legend empty when fill is false (#6719)

5 years agoFix undefined variable (#6698)
Ben McCann [Sun, 10 Nov 2019 02:54:51 +0000 (18:54 -0800)] 
Fix undefined variable (#6698)

5 years agoStop unnecessary line calculations (#6671) 6679/head
Ben McCann [Sat, 2 Nov 2019 13:17:29 +0000 (06:17 -0700)] 
Stop unnecessary line calculations (#6671)

5 years agoBackward compatible default `fill` for radar charts (#6655)
Jukka Kurkela [Thu, 31 Oct 2019 22:13:42 +0000 (00:13 +0200)] 
Backward compatible default `fill` for radar charts (#6655)

* Backward compatible fill behavior for radar

5 years agoHide correct dataset from legend (#6661)
Jukka Kurkela [Thu, 31 Oct 2019 22:13:06 +0000 (00:13 +0200)] 
Hide correct dataset from legend (#6661)

5 years agoVersatile clipping for lines (#6660)
Jukka Kurkela [Thu, 31 Oct 2019 21:16:46 +0000 (23:16 +0200)] 
Versatile clipping for lines (#6660)

5 years agoRefresh package-lock to pick up new version of chartjs-colors (#6663)
Ben McCann [Thu, 31 Oct 2019 21:15:09 +0000 (14:15 -0700)] 
Refresh package-lock to pick up new version of chartjs-colors (#6663)

5 years agoUpdate version number to v2.9.2 (#6657)
Evert Timberg [Thu, 31 Oct 2019 13:05:41 +0000 (09:05 -0400)] 
Update version number to v2.9.2 (#6657)

5 years agoCombine performance docs (#6643)
Ben McCann [Wed, 30 Oct 2019 11:25:03 +0000 (04:25 -0700)] 
Combine performance docs (#6643)

5 years agoUse `document` when `getRootNode` is unsupported (#6641)
Jukka Kurkela [Tue, 29 Oct 2019 21:22:46 +0000 (23:22 +0200)] 
Use `document` when `getRootNode` is unsupported (#6641)

5 years agoRelease v2.9.1 (#6618)
Evert Timberg [Sun, 27 Oct 2019 19:11:33 +0000 (15:11 -0400)] 
Release v2.9.1 (#6618)

Release v2.9.1

5 years agoMerge pull request #6601 from chartjs/master
Evert Timberg [Sat, 26 Oct 2019 00:25:10 +0000 (20:25 -0400)] 
Merge pull request #6601 from chartjs/master

Version 2.9.0

5 years agoBump version number to 2.9.0 (#6600) 6601/head
Ben McCann [Fri, 25 Oct 2019 18:57:21 +0000 (11:57 -0700)] 
Bump version number to 2.9.0 (#6600)

5 years agoHover styling for dataset in 'dataset' mode (#6527)
Jukka Kurkela [Fri, 25 Oct 2019 17:22:37 +0000 (20:22 +0300)] 
Hover styling for dataset in 'dataset' mode (#6527)

* Hover styling for dataset in 'dataset' mode

5 years agoBar options should not be defined on scale (#6249)
Ben McCann [Fri, 25 Oct 2019 16:17:41 +0000 (09:17 -0700)] 
Bar options should not be defined on scale (#6249)

* Bar options should not be defined on scale

* Improve minimization

* Add tests

* Multiple datasets in test

5 years agoInject styles into Shadow DOM when inside Shadow DOM (#5763) (#6556)
Simon Tang [Fri, 25 Oct 2019 11:15:40 +0000 (07:15 -0400)] 
Inject styles into Shadow DOM when inside Shadow DOM (#5763) (#6556)

5 years agoRemove a couple calls to helpers.each (#6594)
Ben McCann [Fri, 25 Oct 2019 11:14:07 +0000 (04:14 -0700)] 
Remove a couple calls to helpers.each (#6594)

5 years agoFix unit determination when autoSkip is enabled (#6583)
Ben McCann [Thu, 24 Oct 2019 23:21:45 +0000 (16:21 -0700)] 
Fix unit determination when autoSkip is enabled (#6583)

5 years agoFix autoskip for first segment of chart (#6584)
Ben McCann [Thu, 24 Oct 2019 23:21:05 +0000 (16:21 -0700)] 
Fix autoskip for first segment of chart (#6584)

* Fix autoskip for first segment of chart

* Fix issue identified during review

5 years agoFix sampleSize option (#6586)
Ben McCann [Wed, 23 Oct 2019 00:59:22 +0000 (17:59 -0700)] 
Fix sampleSize option (#6586)

5 years agoAdd a note to the perf documentation about rotation (#6585)
Ben McCann [Wed, 23 Oct 2019 00:57:51 +0000 (17:57 -0700)] 
Add a note to the perf documentation about rotation (#6585)

5 years agoRemove duplicate scale building (#6247)
Jukka Kurkela [Tue, 22 Oct 2019 23:15:15 +0000 (02:15 +0300)] 
Remove duplicate scale building (#6247)

5 years agoImplement `dataset.order` (#6268)
Jukka Kurkela [Tue, 22 Oct 2019 23:14:54 +0000 (02:14 +0300)] 
Implement `dataset.order` (#6268)

Allow sorting datasets based on the `order` property

5 years agoReturn correct index/value id in radar/polarArea (#6581)
Jukka Kurkela [Sat, 19 Oct 2019 21:20:48 +0000 (00:20 +0300)] 
Return correct index/value id in radar/polarArea (#6581)

5 years agoFix logarighmic test to use correct scale (#6580)
Jukka Kurkela [Sat, 19 Oct 2019 20:17:57 +0000 (23:17 +0300)] 
Fix logarighmic test to use correct scale (#6580)

5 years agoMake autoskip aware of major ticks (#6509)
Ben McCann [Sat, 19 Oct 2019 20:13:04 +0000 (13:13 -0700)] 
Make autoskip aware of major ticks (#6509)

* Make autoskip aware of major ticks
* Address review comments
* Fix codeclimate warning
* Add test for major and minor tick autoskipping
* Revert change for determining _majorUnit and fix sample

5 years ago[perf] cache resolved data element options (#6579)
Jukka Kurkela [Sat, 19 Oct 2019 13:19:12 +0000 (16:19 +0300)] 
[perf] cache resolved data element options (#6579)

* [perf] cache resolved data element options
* Address review comments
* Move uninitialized variables, update comments

5 years ago[perf] simplify line drawing (#6575)
Ben McCann [Fri, 18 Oct 2019 11:25:37 +0000 (04:25 -0700)] 
[perf] simplify line drawing (#6575)

* Simplify line drawing

* Remove duplicate initialization

5 years agoSample only if specified option value is smaller than number of ticks (#6572)
Ben McCann [Fri, 18 Oct 2019 00:47:00 +0000 (17:47 -0700)] 
Sample only if specified option value is smaller than number of ticks (#6572)

5 years agoAdd ticks.sampleSize option (#6508)
Ben McCann [Wed, 9 Oct 2019 17:25:04 +0000 (10:25 -0700)] 
Add ticks.sampleSize option (#6508)

5 years agoAdd link to linear radial axis for radar chart doc (#6554)
Takuya Uehara [Sun, 6 Oct 2019 14:02:00 +0000 (23:02 +0900)] 
Add link to linear radial axis for radar chart doc (#6554)

5 years agoMake sure zeroLineIndex is defined (#6528)
Jukka Kurkela [Thu, 19 Sep 2019 02:18:32 +0000 (05:18 +0300)] 
Make sure zeroLineIndex is defined (#6528)

5 years agoFix right side scale ticks (#6523)
Jukka Kurkela [Mon, 16 Sep 2019 20:03:32 +0000 (23:03 +0300)] 
Fix right side scale ticks (#6523)

5 years agoImplemented RTL support for legends and tooltips (#6460)
Daniel Cohen Gindi [Wed, 11 Sep 2019 23:20:03 +0000 (02:20 +0300)] 
Implemented RTL support for legends and tooltips (#6460)

Implemented RTL support for legends and tooltips

5 years agoImproved minimization for calling helpers (#6507)
Ben McCann [Sat, 7 Sep 2019 23:09:15 +0000 (16:09 -0700)] 
Improved minimization for calling helpers (#6507)

5 years agoReduce indentation by reversing if check (#6497)
Ben McCann [Sat, 7 Sep 2019 14:56:15 +0000 (07:56 -0700)] 
Reduce indentation by reversing if check (#6497)

5 years agoAutoSkip in update (#6355)
Ben McCann [Sat, 7 Sep 2019 11:24:31 +0000 (04:24 -0700)] 
AutoSkip in update (#6355)

* AutoSkip in update

* Address review comments

* Add v3 to TODO

* Address review comments

* Remove unrelated code cleanup

5 years agoAdd elements.arc.angle in documentation (#6491)
Matthias Perret [Sat, 7 Sep 2019 11:20:07 +0000 (13:20 +0200)] 
Add elements.arc.angle in documentation (#6491)

Add elements.arc.angle in documentation

5 years agoHtml dom building (#6490)
Ben McCann [Sat, 7 Sep 2019 11:19:17 +0000 (04:19 -0700)] 
Html dom building (#6490)

Replaces #6179 and builds HTML legend strings using dom nodes rather than building up an HTML string directly.

5 years agoUpgrade rollup and plugins to fix build (#6493)
Ben McCann [Wed, 4 Sep 2019 11:44:01 +0000 (04:44 -0700)] 
Upgrade rollup and plugins to fix build (#6493)

5 years agoFixed incorrect spelling in pie dataset options. (#6466)
HansM [Wed, 14 Aug 2019 23:02:08 +0000 (01:02 +0200)] 
Fixed incorrect spelling in pie dataset options. (#6466)

Fixes https://github.com/chartjs/Chart.js/issues/6465.

5 years agoMinor cleanup (#6362)
Ben McCann [Tue, 13 Aug 2019 00:36:46 +0000 (17:36 -0700)] 
Minor cleanup (#6362)

5 years agoAdd link back to home page from docs (#6435)
Jake [Sun, 4 Aug 2019 23:49:58 +0000 (01:49 +0200)] 
Add link back to home page from docs (#6435)

* Add link back to home page from docs #6433

* Modify link texts

* Edit homepage link

5 years agoclamps argument of toExponential between 0 and 20 (#6423)
Angus Comrie [Sat, 3 Aug 2019 01:23:15 +0000 (03:23 +0200)] 
clamps argument of toExponential between 0 and 20 (#6423)

5 years agoAdd radar chart config options (#6393)
Akihiko Kusanagi [Sun, 21 Jul 2019 12:00:12 +0000 (14:00 +0200)] 
Add radar chart config options (#6393)

* Add radar chart config options

* Add default value of spanGaps option for radar charts

* Address review comments

5 years agoDraw the rightmost grid line when offsetGridLines is true (#6326)
Akihiko Kusanagi [Thu, 18 Jul 2019 22:25:33 +0000 (00:25 +0200)] 
Draw the rightmost grid line when offsetGridLines is true (#6326)

* Draw the rightmost grid line when offsetGridLines is true

* Refactor based on feedback

* Replace helpers.each with for loop

* Minor refactoring

* Refactor _computeItemsToDraw

5 years agoPerf improvement for ticks.source:'labels' (#6354)
Ben McCann [Thu, 18 Jul 2019 22:24:25 +0000 (23:24 +0100)] 
Perf improvement for ticks.source:'labels' (#6354)

* Perf improvement for ticks.source:'labels'

* Address review comments

* Address review comments

5 years agoHandle reverse support in core.scale (#6343)
Jukka Kurkela [Mon, 15 Jul 2019 21:20:16 +0000 (00:20 +0300)] 
Handle reverse support in core.scale (#6343)

* Move log10 from core.helpers to helpers.math

* Refactor scales

6 years agoAdd helpers.math._factorize (#6360)
Ben McCann [Tue, 2 Jul 2019 22:22:47 +0000 (15:22 -0700)] 
Add helpers.math._factorize (#6360)

* Add helpers.math._factorize
* Remove duplicate test statement

6 years agoLazily compute label sizes (#6351)
Ben McCann [Thu, 27 Jun 2019 10:49:04 +0000 (03:49 -0700)] 
Lazily compute label sizes (#6351)

* Lazily compute label sizes

* Reduce file size

6 years agoRender charts only once in time scale tests (#6347)
Ben McCann [Tue, 25 Jun 2019 22:46:24 +0000 (15:46 -0700)] 
Render charts only once in time scale tests (#6347)

6 years agoCorrect descriptions on ticks.display and add pointLabels.display (#6293)
Akihiko Kusanagi [Sun, 23 Jun 2019 15:44:35 +0000 (23:44 +0800)] 
Correct descriptions on ticks.display and add pointLabels.display (#6293)

* Correct descriptions on ticks.display and add pointLabels.display

* Remove notes about angleLines.display and pointLabels.display

6 years agoFix getValueForPixel in time scale (#6328)
Akihiko Kusanagi [Sat, 22 Jun 2019 13:56:31 +0000 (21:56 +0800)] 
Fix getValueForPixel in time scale (#6328)

* Fix getValueForPixel in time scale

* Minor refactoring

6 years ago[performance] replace helpers.each calls with for-loops (#6301)
Ben McCann [Sat, 22 Jun 2019 13:55:46 +0000 (06:55 -0700)] 
[performance] replace helpers.each calls with for-loops (#6301)

* [performance] replace helpers.each calls with for-loops

* Use Math.min/max instead of if statement

* Rename variable

6 years agoRefactor core.layouts (#6304)
Jukka Kurkela [Wed, 19 Jun 2019 22:08:07 +0000 (01:08 +0300)] 
Refactor core.layouts (#6304)

6 years agoSupport spanGaps in radar charts (#6289)
Akihiko Kusanagi [Wed, 19 Jun 2019 11:12:53 +0000 (19:12 +0800)] 
Support spanGaps in radar charts (#6289)

* Support spanGaps in radar charts

* Minor fixes based on feedback

6 years agoAdjust virtical alignment of tooptip items (#6292)
Akihiko Kusanagi [Wed, 19 Jun 2019 11:11:48 +0000 (19:11 +0800)] 
Adjust virtical alignment of tooptip items (#6292)

6 years agoSupport object values for bar charts (#6323)
Akihiko Kusanagi [Wed, 19 Jun 2019 11:10:04 +0000 (19:10 +0800)] 
Support object values for bar charts (#6323)

* Support object values for bar charts

* Check if null or undefined

* Refactor category scale code

* Make isNullOrUndef global

6 years ago[performance] faster major tick calculation (#6307)
Ben McCann [Wed, 19 Jun 2019 11:08:40 +0000 (04:08 -0700)] 
[performance] faster major tick calculation (#6307)

* [performance] faster major tick calculation

* Address review comments

* Replace isNaN

6 years agoUpdate dataset metadata when axisID changes (#6321)
Akihiko Kusanagi [Fri, 14 Jun 2019 09:34:56 +0000 (11:34 +0200)] 
Update dataset metadata when axisID changes (#6321)

6 years agoAssign unique scale IDs (#6291)
Akihiko Kusanagi [Sun, 9 Jun 2019 07:45:12 +0000 (15:45 +0800)] 
Assign unique scale IDs (#6291)

6 years agoSupport rotation for pointStyle image (#6287)
Akihiko Kusanagi [Fri, 24 May 2019 07:35:47 +0000 (15:35 +0800)] 
Support rotation for pointStyle image (#6287)

6 years agoFix regression with lineTension (#6288)
Akihiko Kusanagi [Fri, 24 May 2019 07:34:09 +0000 (15:34 +0800)] 
Fix regression with lineTension (#6288)

6 years agoAdd tests and a sample for radar scriptable line options (#6263)
Akihiko Kusanagi [Tue, 21 May 2019 22:06:12 +0000 (06:06 +0800)] 
Add tests and a sample for radar scriptable line options (#6263)

* Add tests and a sample for radar scriptable line options

* Improve image tests

6 years agoAllow specifying labels in time scale options (#6257)
Jukka Kurkela [Tue, 21 May 2019 11:36:16 +0000 (14:36 +0300)] 
Allow specifying labels in time scale options (#6257)

6 years agoTreat null as NaN in radialLinear scale (#6282)
Akihiko Kusanagi [Tue, 21 May 2019 09:50:38 +0000 (17:50 +0800)] 
Treat null as NaN in radialLinear scale (#6282)

6 years agoSupport boundary filling modes in radialLinear scale (#6281)
Akihiko Kusanagi [Tue, 21 May 2019 09:15:33 +0000 (17:15 +0800)] 
Support boundary filling modes in radialLinear scale (#6281)

6 years agoAdd support for floating bar chart ([start, end]) (#6056)
gwyneblaidd [Tue, 21 May 2019 08:54:13 +0000 (11:54 +0300)] 
Add support for floating bar chart ([start, end]) (#6056)

6 years agoKeep lines on the left and right edges from being cut (#6285)
Akihiko Kusanagi [Mon, 20 May 2019 15:23:54 +0000 (23:23 +0800)] 
Keep lines on the left and right edges from being cut (#6285)

6 years agoApply lineJoin style at the first point in radar charts (#6269)
Akihiko Kusanagi [Mon, 20 May 2019 07:28:09 +0000 (08:28 +0100)] 
Apply lineJoin style at the first point in radar charts (#6269)

6 years agoFix point label counting in radialLinear scale (#6280)
Akihiko Kusanagi [Thu, 16 May 2019 18:34:43 +0000 (19:34 +0100)] 
Fix point label counting in radialLinear scale (#6280)

6 years agoTreat 0 as a valid point label for radial scale (#6279)
Akihiko Kusanagi [Thu, 16 May 2019 18:17:46 +0000 (19:17 +0100)] 
Treat 0 as a valid point label for radial scale (#6279)

6 years agoFix data in financial sample (#6244)
Ben McCann [Wed, 15 May 2019 12:23:09 +0000 (05:23 -0700)] 
Fix data in financial sample (#6244)

6 years agoUse tick.major rather than recomputing (#6265)
Ben McCann [Tue, 14 May 2019 06:29:41 +0000 (23:29 -0700)] 
Use tick.major rather than recomputing (#6265)

6 years agoApply offset regardless of min/max time scale options (#6264)
Jukka Kurkela [Sun, 12 May 2019 14:52:30 +0000 (17:52 +0300)] 
Apply offset regardless of min/max time scale options (#6264)

6 years agoFix ticks generation for vertical time scale (#6258)
Jukka Kurkela [Sun, 12 May 2019 14:34:15 +0000 (17:34 +0300)] 
Fix ticks generation for vertical time scale (#6258)

6 years agoFix determineUnitForFormatting floating point error (#6259)
Ben McCann [Fri, 10 May 2019 13:02:30 +0000 (06:02 -0700)] 
Fix determineUnitForFormatting floating point error (#6259)

6 years agoImplement layers (z-index) for layout items (#6241)
Jukka Kurkela [Thu, 9 May 2019 13:54:05 +0000 (16:54 +0300)] 
Implement layers (z-index) for layout items (#6241)

6 years agoFix overlapping auto-generated ticks on time scale (#6115)
Jukka Kurkela [Thu, 9 May 2019 13:42:00 +0000 (16:42 +0300)] 
Fix overlapping auto-generated ticks on time scale (#6115)

6 years agoMake legend appearance consistent with chart elements (#5621)
Akihiko Kusanagi [Thu, 9 May 2019 13:33:19 +0000 (21:33 +0800)] 
Make legend appearance consistent with chart elements (#5621)

6 years agoCache getScaleForId() calls in the line controller (#6250)
Ben McCann [Wed, 8 May 2019 06:08:02 +0000 (23:08 -0700)] 
Cache getScaleForId() calls in the line controller (#6250)

6 years agoImplement per-dataset type (default and per-chart) options (#5999)
Ben McCann [Mon, 6 May 2019 20:52:40 +0000 (13:52 -0700)] 
Implement per-dataset type (default and per-chart) options (#5999)

6 years agoAvoid time related deprecation warnings in tests (#6246)
Jukka Kurkela [Mon, 6 May 2019 20:46:22 +0000 (23:46 +0300)] 
Avoid time related deprecation warnings in tests (#6246)

6 years agoRemove the old slack token used for notifications. (#6245)
Evert Timberg [Sun, 5 May 2019 06:08:28 +0000 (02:08 -0400)] 
Remove the old slack token used for notifications. (#6245)

6 years agoFix tooltip title in radar charts (#6238)
Jukka Kurkela [Fri, 3 May 2019 07:04:25 +0000 (10:04 +0300)] 
Fix tooltip title in radar charts (#6238)

6 years agoFix arc size calculation when circumference is under 2PI (#6224)
Akihiko Kusanagi [Wed, 1 May 2019 16:05:34 +0000 (00:05 +0800)] 
Fix arc size calculation when circumference is under 2PI (#6224)

6 years agoFix arc border with circumference over 2*PI (#6215)
Jukka Kurkela [Tue, 30 Apr 2019 09:34:10 +0000 (12:34 +0300)] 
Fix arc border with circumference over 2*PI (#6215)

6 years agoFix tick label rotation and layout issues (#5961)
Akihiko Kusanagi [Tue, 30 Apr 2019 06:55:04 +0000 (14:55 +0800)] 
Fix tick label rotation and layout issues (#5961)