]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Ben McCann [Mon, 28 Dec 2020 08:20:08 +0000 (00:20 -0800)]
2.9 docs - fix broken link (#8241)
Takuya Uehara [Sat, 24 Oct 2020 11:43:51 +0000 (20:43 +0900)]
Use default value when backgroundColor is undefined (#7950)
Jukka Kurkela [Sun, 18 Oct 2020 18:05:05 +0000 (21:05 +0300)]
Use Object.create(null) as `merge` target (#7920)
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
Evert Timberg [Sun, 18 Oct 2020 16:56:08 +0000 (12:56 -0400)]
Bump verison number to v2.9.4
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.
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
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
Alexander Wunschik [Sun, 5 Jul 2020 14:36:05 +0000 (16:36 +0200)]
docs: fix rollup external moment (#7587)
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>
Ben McCann [Tue, 11 Feb 2020 18:09:44 +0000 (10:09 -0800)]
Look for any branch starting with release (#7087) (#7089)
Ben McCann [Mon, 11 Nov 2019 12:10:09 +0000 (04:10 -0800)]
Update version number to 2.9.3 (#6725)
Ben McCann [Mon, 11 Nov 2019 01:03:30 +0000 (17:03 -0800)]
Don't make legend empty when fill is false (#6719)
Ben McCann [Sun, 10 Nov 2019 02:54:51 +0000 (18:54 -0800)]
Fix undefined variable (#6698)
Ben McCann [Sat, 2 Nov 2019 13:17:29 +0000 (06:17 -0700)]
Stop unnecessary line calculations (#6671)
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
Jukka Kurkela [Thu, 31 Oct 2019 22:13:06 +0000 (00:13 +0200)]
Hide correct dataset from legend (#6661)
Jukka Kurkela [Thu, 31 Oct 2019 21:16:46 +0000 (23:16 +0200)]
Versatile clipping for lines (#6660)
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)
Evert Timberg [Thu, 31 Oct 2019 13:05:41 +0000 (09:05 -0400)]
Update version number to v2.9.2 (#6657)
Ben McCann [Wed, 30 Oct 2019 11:25:03 +0000 (04:25 -0700)]
Combine performance docs (#6643)
Jukka Kurkela [Tue, 29 Oct 2019 21:22:46 +0000 (23:22 +0200)]
Use `document` when `getRootNode` is unsupported (#6641)
Evert Timberg [Sun, 27 Oct 2019 19:11:33 +0000 (15:11 -0400)]
Release v2.9.1 (#6618)
Release v2.9.1
Evert Timberg [Sat, 26 Oct 2019 00:25:10 +0000 (20:25 -0400)]
Merge pull request #6601 from chartjs/master
Version 2.9.0
Ben McCann [Fri, 25 Oct 2019 18:57:21 +0000 (11:57 -0700)]
Bump version number to 2.9.0 (#6600)
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
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
Simon Tang [Fri, 25 Oct 2019 11:15:40 +0000 (07:15 -0400)]
Inject styles into Shadow DOM when inside Shadow DOM (#5763) (#6556)
Ben McCann [Fri, 25 Oct 2019 11:14:07 +0000 (04:14 -0700)]
Remove a couple calls to helpers.each (#6594)
Ben McCann [Thu, 24 Oct 2019 23:21:45 +0000 (16:21 -0700)]
Fix unit determination when autoSkip is enabled (#6583)
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
Ben McCann [Wed, 23 Oct 2019 00:59:22 +0000 (17:59 -0700)]
Fix sampleSize option (#6586)
Ben McCann [Wed, 23 Oct 2019 00:57:51 +0000 (17:57 -0700)]
Add a note to the perf documentation about rotation (#6585)
Jukka Kurkela [Tue, 22 Oct 2019 23:15:15 +0000 (02:15 +0300)]
Remove duplicate scale building (#6247)
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
Jukka Kurkela [Sat, 19 Oct 2019 21:20:48 +0000 (00:20 +0300)]
Return correct index/value id in radar/polarArea (#6581)
Jukka Kurkela [Sat, 19 Oct 2019 20:17:57 +0000 (23:17 +0300)]
Fix logarighmic test to use correct scale (#6580)
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
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
Ben McCann [Fri, 18 Oct 2019 11:25:37 +0000 (04:25 -0700)]
[perf] simplify line drawing (#6575)
* Simplify line drawing
* Remove duplicate initialization
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)
Ben McCann [Wed, 9 Oct 2019 17:25:04 +0000 (10:25 -0700)]
Add ticks.sampleSize option (#6508)
Takuya Uehara [Sun, 6 Oct 2019 14:02:00 +0000 (23:02 +0900)]
Add link to linear radial axis for radar chart doc (#6554)
Jukka Kurkela [Thu, 19 Sep 2019 02:18:32 +0000 (05:18 +0300)]
Make sure zeroLineIndex is defined (#6528)
Jukka Kurkela [Mon, 16 Sep 2019 20:03:32 +0000 (23:03 +0300)]
Fix right side scale ticks (#6523)
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
Ben McCann [Sat, 7 Sep 2019 23:09:15 +0000 (16:09 -0700)]
Improved minimization for calling helpers (#6507)
Ben McCann [Sat, 7 Sep 2019 14:56:15 +0000 (07:56 -0700)]
Reduce indentation by reversing if check (#6497)
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
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
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.
Ben McCann [Wed, 4 Sep 2019 11:44:01 +0000 (04:44 -0700)]
Upgrade rollup and plugins to fix build (#6493)
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.
Ben McCann [Tue, 13 Aug 2019 00:36:46 +0000 (17:36 -0700)]
Minor cleanup (#6362)
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
Angus Comrie [Sat, 3 Aug 2019 01:23:15 +0000 (03:23 +0200)]
clamps argument of toExponential between 0 and 20 (#6423)
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
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
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
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
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
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
Ben McCann [Tue, 25 Jun 2019 22:46:24 +0000 (15:46 -0700)]
Render charts only once in time scale tests (#6347)
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
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
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
Jukka Kurkela [Wed, 19 Jun 2019 22:08:07 +0000 (01:08 +0300)]
Refactor core.layouts (#6304)
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
Akihiko Kusanagi [Wed, 19 Jun 2019 11:11:48 +0000 (19:11 +0800)]
Adjust virtical alignment of tooptip items (#6292)
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
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
Akihiko Kusanagi [Fri, 14 Jun 2019 09:34:56 +0000 (11:34 +0200)]
Update dataset metadata when axisID changes (#6321)
Akihiko Kusanagi [Sun, 9 Jun 2019 07:45:12 +0000 (15:45 +0800)]
Assign unique scale IDs (#6291)
Akihiko Kusanagi [Fri, 24 May 2019 07:35:47 +0000 (15:35 +0800)]
Support rotation for pointStyle image (#6287)
Akihiko Kusanagi [Fri, 24 May 2019 07:34:09 +0000 (15:34 +0800)]
Fix regression with lineTension (#6288)
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
Jukka Kurkela [Tue, 21 May 2019 11:36:16 +0000 (14:36 +0300)]
Allow specifying labels in time scale options (#6257)
Akihiko Kusanagi [Tue, 21 May 2019 09:50:38 +0000 (17:50 +0800)]
Treat null as NaN in radialLinear scale (#6282)
Akihiko Kusanagi [Tue, 21 May 2019 09:15:33 +0000 (17:15 +0800)]
Support boundary filling modes in radialLinear scale (#6281)
gwyneblaidd [Tue, 21 May 2019 08:54:13 +0000 (11:54 +0300)]
Add support for floating bar chart ([start, end]) (#6056)
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)
Akihiko Kusanagi [Mon, 20 May 2019 07:28:09 +0000 (08:28 +0100)]
Apply lineJoin style at the first point in radar charts (#6269)
Akihiko Kusanagi [Thu, 16 May 2019 18:34:43 +0000 (19:34 +0100)]
Fix point label counting in radialLinear scale (#6280)
Akihiko Kusanagi [Thu, 16 May 2019 18:17:46 +0000 (19:17 +0100)]
Treat 0 as a valid point label for radial scale (#6279)
Ben McCann [Wed, 15 May 2019 12:23:09 +0000 (05:23 -0700)]
Fix data in financial sample (#6244)
Ben McCann [Tue, 14 May 2019 06:29:41 +0000 (23:29 -0700)]
Use tick.major rather than recomputing (#6265)
Jukka Kurkela [Sun, 12 May 2019 14:52:30 +0000 (17:52 +0300)]
Apply offset regardless of min/max time scale options (#6264)
Jukka Kurkela [Sun, 12 May 2019 14:34:15 +0000 (17:34 +0300)]
Fix ticks generation for vertical time scale (#6258)
Ben McCann [Fri, 10 May 2019 13:02:30 +0000 (06:02 -0700)]
Fix determineUnitForFormatting floating point error (#6259)
Jukka Kurkela [Thu, 9 May 2019 13:54:05 +0000 (16:54 +0300)]
Implement layers (z-index) for layout items (#6241)
Jukka Kurkela [Thu, 9 May 2019 13:42:00 +0000 (16:42 +0300)]
Fix overlapping auto-generated ticks on time scale (#6115)
Akihiko Kusanagi [Thu, 9 May 2019 13:33:19 +0000 (21:33 +0800)]
Make legend appearance consistent with chart elements (#5621)
Ben McCann [Wed, 8 May 2019 06:08:02 +0000 (23:08 -0700)]
Cache getScaleForId() calls in the line controller (#6250)
Ben McCann [Mon, 6 May 2019 20:52:40 +0000 (13:52 -0700)]
Implement per-dataset type (default and per-chart) options (#5999)
Jukka Kurkela [Mon, 6 May 2019 20:46:22 +0000 (23:46 +0300)]
Avoid time related deprecation warnings in tests (#6246)
Evert Timberg [Sun, 5 May 2019 06:08:28 +0000 (02:08 -0400)]
Remove the old slack token used for notifications. (#6245)
Jukka Kurkela [Fri, 3 May 2019 07:04:25 +0000 (10:04 +0300)]
Fix tooltip title in radar charts (#6238)
Akihiko Kusanagi [Wed, 1 May 2019 16:05:34 +0000 (00:05 +0800)]
Fix arc size calculation when circumference is under 2PI (#6224)
Jukka Kurkela [Tue, 30 Apr 2019 09:34:10 +0000 (12:34 +0300)]
Fix arc border with circumference over 2*PI (#6215)
Akihiko Kusanagi [Tue, 30 Apr 2019 06:55:04 +0000 (14:55 +0800)]
Fix tick label rotation and layout issues (#5961)