]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
5 years agoFix polar area sample (#6665)
Evert Timberg [Fri, 1 Nov 2019 11:19:36 +0000 (07:19 -0400)] 
Fix polar area sample (#6665)

5 years agoMake all ticks objects (#6645)
Ben McCann [Thu, 31 Oct 2019 22:45:13 +0000 (15:45 -0700)] 
Make all ticks objects (#6645)

Make all ticks object

5 years ago Adding title for the axes (#6571)
jatiny17 [Thu, 31 Oct 2019 22:14:37 +0000 (03:44 +0530)] 
 Adding title for the axes (#6571)

Create sample to show how to add an axis title

5 years agoUpgrade dependencies (#6662)
Ben McCann [Thu, 31 Oct 2019 22:03:00 +0000 (15:03 -0700)] 
Upgrade dependencies (#6662)

5 years agoUpdate eslint-config-chartjs (#6650)
Jukka Kurkela [Wed, 30 Oct 2019 22:51:01 +0000 (00:51 +0200)] 
Update eslint-config-chartjs (#6650)

5 years agoAdded the global datasets defaults for new extended chart type (#6649)
stockiNail [Wed, 30 Oct 2019 22:42:15 +0000 (23:42 +0100)] 
Added the global datasets defaults for new extended chart type (#6649)

Added documentation to create a global datasets default for new extended chart type.
This is currently mandatory for BAR/HORIZONTALBAR charts (see issue [#6636](https://github.com/chartjs/Chart.js/issues/6636))

5 years agoUpdate deprecated constructors (#6647)
Jukka Kurkela [Wed, 30 Oct 2019 22:41:41 +0000 (00:41 +0200)] 
Update deprecated constructors (#6647)

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

5 years agoRemove deprecated userCallback (#6638)
Ben McCann [Tue, 29 Oct 2019 21:22:11 +0000 (14:22 -0700)] 
Remove deprecated userCallback (#6638)

5 years agoStart v3 migration guide (#6639)
Ben McCann [Tue, 29 Oct 2019 21:21:45 +0000 (14:21 -0700)] 
Start v3 migration guide (#6639)

5 years agoUpdate tooltip content and styling on update() (#6635)
RatherLogical [Tue, 29 Oct 2019 10:39:07 +0000 (06:39 -0400)] 
Update tooltip content and styling on update() (#6635)

Update tooltip content and styling on update()

5 years agoCombine performance docs (#6632)
Ben McCann [Mon, 28 Oct 2019 22:11:50 +0000 (15:11 -0700)] 
Combine performance docs (#6632)

5 years agoRemove deprecated interaction modes (#6625)
Jukka Kurkela [Mon, 28 Oct 2019 22:11:38 +0000 (00:11 +0200)] 
Remove deprecated interaction modes (#6625)

* Remove deprecated interaction modes
* Use default modes

5 years agoFix scatter sample (#6627)
Jukka Kurkela [Mon, 28 Oct 2019 22:08:52 +0000 (00:08 +0200)] 
Fix scatter sample (#6627)

5 years agoRemove deprecated code from index.js (#6623)
Ben McCann [Mon, 28 Oct 2019 11:03:39 +0000 (04:03 -0700)] 
Remove deprecated code from index.js (#6623)

Remove deprecated code from index.js

5 years agoRemove deprecated code from time scale and bar chart (#6622)
Ben McCann [Sun, 27 Oct 2019 22:46:28 +0000 (15:46 -0700)] 
Remove deprecated code from time scale and bar chart (#6622)

* Remove deprecated code from bar chart
* Remove deprecated code from time scale

5 years agoRemove deprecated code from animations and core (#6624)
Jukka Kurkela [Sun, 27 Oct 2019 22:28:47 +0000 (00:28 +0200)] 
Remove deprecated code from animations and core (#6624)

5 years agoAdds support for ES6 modules (#6619)
Sebastian Niemann [Sun, 27 Oct 2019 22:28:25 +0000 (23:28 +0100)] 
Adds support for ES6 modules (#6619)

5 years agoRemove mergeTicksOptions (#6621)
Ben McCann [Sun, 27 Oct 2019 22:12:05 +0000 (15:12 -0700)] 
Remove mergeTicksOptions (#6621)

5 years agoTime scale: return time from getValueForPixel (#6616)
Jukka Kurkela [Sun, 27 Oct 2019 20:36:57 +0000 (22:36 +0200)] 
Time scale: return time from getValueForPixel (#6616)

5 years agoAdd label alignment option to axis label title (#6521)
Eliz [Sun, 27 Oct 2019 20:36:08 +0000 (23:36 +0300)] 
Add label alignment option to axis label title (#6521)

Add label alignment option to axis label title

5 years agoRemove xLabel and yLabel from tooltip and chart and scales from element (#6606)
Ben McCann [Sun, 27 Oct 2019 20:35:15 +0000 (13:35 -0700)] 
Remove xLabel and yLabel from tooltip and chart and scales from element (#6606)

* Element should not have reference to chart
* Remove scales from element
* Remove deprecated xLabel and yLabel

5 years agoRemove deprecated helpers (#6607)
Ben McCann [Sun, 27 Oct 2019 20:33:44 +0000 (13:33 -0700)] 
Remove deprecated helpers (#6607)

5 years agoRemove undocumented "custom" feature (#6605)
Ben McCann [Sun, 27 Oct 2019 20:33:21 +0000 (13:33 -0700)] 
Remove undocumented "custom" feature (#6605)

Remove undocumented "custom" feature

5 years agoremove `relativePoints` option support (#6595)
Jukka Kurkela [Sun, 27 Oct 2019 20:30:48 +0000 (22:30 +0200)] 
remove `relativePoints` option support (#6595)

5 years agoLimit onClick to chartArea (#6227)
Jukka Kurkela [Sun, 27 Oct 2019 20:29:07 +0000 (22:29 +0200)] 
Limit onClick to chartArea (#6227)

* Limit onClick to chartArea
* Utilize helpers.canvas._isPointInArea

5 years agoAdd babel plugin for rollup & transform code (#6555)
Evert Timberg [Sun, 27 Oct 2019 20:28:30 +0000 (16:28 -0400)] 
Add babel plugin for rollup & transform code (#6555)

* Add babel plugin for rollup & transform code
* Add .browserlistrc file & copy defaults

5 years agoFix line / non-numeric-y (#6617) 6618/head
Jukka Kurkela [Sun, 27 Oct 2019 19:05:23 +0000 (21:05 +0200)] 
Fix line / non-numeric-y (#6617)

5 years agoBump version number to v2.9.1 (#6612)
Evert Timberg [Sun, 27 Oct 2019 18:51:07 +0000 (14:51 -0400)] 
Bump version number to v2.9.1 (#6612)

5 years agoAdd link to performance documentation (#6613)
Ben McCann [Sun, 27 Oct 2019 18:50:18 +0000 (11:50 -0700)] 
Add link to performance documentation (#6613)

5 years agoStop limiting getDecimalForPixel to chart area (#6608)
Jukka Kurkela [Sun, 27 Oct 2019 13:16:38 +0000 (15:16 +0200)] 
Stop limiting getDecimalForPixel to chart area (#6608)

5 years agoDon't use deprecated options in tests (#6609)
Jukka Kurkela [Sun, 27 Oct 2019 13:15:53 +0000 (15:15 +0200)] 
Don't use deprecated options in tests (#6609)

5 years agoFix horizontalBar deprecation warnings (#6603)
Ben McCann [Sat, 26 Oct 2019 16:48:48 +0000 (09:48 -0700)] 
Fix horizontalBar deprecation warnings (#6603)

Fix horizontalBar deprecation warnings

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)

6 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

6 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)

6 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

6 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

6 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

6 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)