]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
5 years agoStacks readability improvements (#6753)
Ben McCann [Sat, 16 Nov 2019 15:52:41 +0000 (07:52 -0800)] 
Stacks readability improvements (#6753)

* Stacks readability improvements
* Variable renames

5 years agoClean up element.line and do data decimation when applicable (#6731)
Jukka Kurkela [Fri, 15 Nov 2019 18:51:41 +0000 (20:51 +0200)] 
Clean up element.line and do data decimation when applicable (#6731)

Decimate line drawing to improve performance and reduce extraneous drawing

5 years agoFix tick range options in tests (#6748)
Jukka Kurkela [Fri, 15 Nov 2019 18:14:01 +0000 (20:14 +0200)] 
Fix tick range options in tests (#6748)

5 years agoRemove moment from dependencies (#6745)
Ben McCann [Fri, 15 Nov 2019 18:13:33 +0000 (10:13 -0800)] 
Remove moment from dependencies (#6745)

* Remove moment from dependencies
* Remove version number in docs

5 years agoMove scale defining options up from `ticks` (#6738)
Jukka Kurkela [Fri, 15 Nov 2019 17:11:13 +0000 (19:11 +0200)] 
Move scale defining options up from `ticks` (#6738)

* Move scale defining options up from `ticks`
* Include `ticks.reverse` in v3-migration

5 years agoTooltip label and value via controller (#6744)
Jukka Kurkela [Fri, 15 Nov 2019 16:51:45 +0000 (18:51 +0200)] 
Tooltip label and value via controller (#6744)

5 years agoFloat bars: data as objects (#6739)
Jukka Kurkela [Fri, 15 Nov 2019 13:40:45 +0000 (15:40 +0200)] 
Float bars: data as objects (#6739)

Float bars can be specified in object data points

5 years agoRemove unused helpers.canvas.roundedRect (#6734)
Ben McCann [Fri, 15 Nov 2019 12:49:41 +0000 (04:49 -0800)] 
Remove unused helpers.canvas.roundedRect (#6734)

5 years agoInclude helpers._alignPixel only once (#6735)
Ben McCann [Thu, 14 Nov 2019 12:17:29 +0000 (04:17 -0800)] 
Include helpers._alignPixel only once (#6735)

5 years agoFix value passed to getPixelForTick (#6724)
Ben McCann [Thu, 14 Nov 2019 12:15:44 +0000 (04:15 -0800)] 
Fix value passed to getPixelForTick (#6724)

5 years agoSmall chores (#6740)
Jukka Kurkela [Thu, 14 Nov 2019 00:04:56 +0000 (02:04 +0200)] 
Small chores (#6740)

* Remove duplicate code
* Migrate `xLabel` and `yLabel` from docs & samples

5 years agodetermineDataLimits optimizations (#6695)
Jukka Kurkela [Wed, 13 Nov 2019 00:24:07 +0000 (02:24 +0200)] 
determineDataLimits optimizations (#6695)

5 years agoUpdate time combo sample (#6736)
Jukka Kurkela [Wed, 13 Nov 2019 00:20:52 +0000 (02:20 +0200)] 
Update time combo sample (#6736)

5 years agoRemove helpers.previousItem/nextItem (#6727)
Ben McCann [Wed, 13 Nov 2019 00:18:58 +0000 (16:18 -0800)] 
Remove helpers.previousItem/nextItem (#6727)

5 years agoRemove Element _index and _datasetIndex for real this time (#6726)
Ben McCann [Wed, 13 Nov 2019 00:18:29 +0000 (16:18 -0800)] 
Remove Element _index and _datasetIndex for real this time (#6726)

* Remove Element _index and _datasetIndex for real this time

* Remove unused _datasetIndex

5 years agoConvert element.line mock tests to fixtures (#6730)
Jukka Kurkela [Tue, 12 Nov 2019 18:59:29 +0000 (20:59 +0200)] 
Convert element.line mock tests to fixtures (#6730)

5 years agoAllow functions to be specified for scale grid line options (#6700)
Evert Timberg [Tue, 12 Nov 2019 12:03:00 +0000 (07:03 -0500)] 
Allow functions to be specified for scale grid line options (#6700)

Add scriptable options for scale styling

5 years agoPerformance improvements (#6729)
Jukka Kurkela [Mon, 11 Nov 2019 23:28:17 +0000 (01:28 +0200)] 
Performance improvements (#6729)

5 years agoRemove remaingin zeroLine* references (#6728)
Jukka Kurkela [Mon, 11 Nov 2019 17:12:11 +0000 (19:12 +0200)] 
Remove remaingin zeroLine* references (#6728)

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

5 years agoVersatile clipping (#6642)
Jukka Kurkela [Sun, 10 Nov 2019 22:41:01 +0000 (00:41 +0200)] 
Versatile clipping (#6642)

Versatile clipping algorithm for different chart types

5 years agoRemove index and datasetIndex from Element (#6688)
Ben McCann [Sun, 10 Nov 2019 12:52:12 +0000 (04:52 -0800)] 
Remove index and datasetIndex from Element (#6688)

Remove `index` and `datasetIndex` properties from elements.

5 years agoRemove unused method. Prefix private ones with underscore (#6721)
Ben McCann [Sun, 10 Nov 2019 12:49:16 +0000 (04:49 -0800)] 
Remove unused method. Prefix private ones with underscore (#6721)

5 years agoPerformance optimizations when animations are disabled (#6710)
Jukka Kurkela [Sun, 10 Nov 2019 02:57:54 +0000 (04:57 +0200)] 
Performance optimizations when animations are disabled (#6710)

* Don't copy _model when animations are disabled

* Review comments

5 years agoFix undefined variable (#6699)
Ben McCann [Sat, 9 Nov 2019 00:59:44 +0000 (16:59 -0800)] 
Fix undefined variable (#6699)

5 years agoFix sample paths and include all options (#6712)
Jukka Kurkela [Sat, 9 Nov 2019 00:59:26 +0000 (02:59 +0200)] 
Fix sample paths and include all options (#6712)

5 years agoContext compatibility with dataLabels (#6713)
Jukka Kurkela [Sat, 9 Nov 2019 00:59:05 +0000 (02:59 +0200)] 
Context compatibility with dataLabels (#6713)

* Context compatibility with dataLabels

* document

* THe + wording

5 years agoUpdate package-lock.json (#6714)
Jukka Kurkela [Fri, 8 Nov 2019 16:12:28 +0000 (18:12 +0200)] 
Update package-lock.json (#6714)

5 years agoGenerate jsdocs (#5824)
Ben McCann [Fri, 8 Nov 2019 12:28:21 +0000 (04:28 -0800)] 
Generate jsdocs (#5824)

5 years agoUse ES6 classes for elements (#6702)
Ben McCann [Fri, 8 Nov 2019 00:51:26 +0000 (16:51 -0800)] 
Use ES6 classes for elements (#6702)

* Use ES6 classes for elements

* Add additional elements

5 years agoRemove zeroLineIndex functionality (#6697)
Evert Timberg [Thu, 7 Nov 2019 11:27:49 +0000 (06:27 -0500)] 
Remove zeroLineIndex functionality (#6697)

* Remove zeroLineIndex functionality

* Remove docs

* Code review updates

5 years agoAdd cross-platform CI (#6670)
Edward Thomson [Wed, 6 Nov 2019 12:14:09 +0000 (07:14 -0500)] 
Add cross-platform CI (#6670)

* Linux and Windows CI with GitHub Actions
* Add karma-edge-launcher
* Add edge configuration to karma.conf.js
* Support --browsers on the command line for karma tests
* Add macOS CI builds
* Add karma-safari-private-launcher
* Document browser specification for tests

5 years agoRemove check that is always true (#6701)
Ben McCann [Wed, 6 Nov 2019 12:13:40 +0000 (04:13 -0800)] 
Remove check that is always true (#6701)

5 years agoRemove unused model properties (#6691)
Ben McCann [Tue, 5 Nov 2019 23:10:44 +0000 (15:10 -0800)] 
Remove unused model properties (#6691)

* Remove unused model properties
* Add to migration guide

5 years agoRemove unused Element methods (#6694)
Ben McCann [Tue, 5 Nov 2019 23:09:44 +0000 (15:09 -0800)] 
Remove unused Element methods (#6694)

5 years agoRemove duplicate array equality function (#6693)
Jukka Kurkela [Tue, 5 Nov 2019 23:08:14 +0000 (01:08 +0200)] 
Remove duplicate array equality function (#6693)

5 years agoRemove tension option backwards compatibility (#6692)
Ben McCann [Tue, 5 Nov 2019 12:11:53 +0000 (04:11 -0800)] 
Remove tension option backwards compatibility (#6692)

5 years agoFix doughnut sample (#6690)
Ben McCann [Tue, 5 Nov 2019 12:10:01 +0000 (04:10 -0800)] 
Fix doughnut sample (#6690)

5 years agoEarly data parsing, stacking by value and support object data (#6576)
Jukka Kurkela [Mon, 4 Nov 2019 23:07:01 +0000 (01:07 +0200)] 
Early data parsing, stacking by value and support object data (#6576)

* Early data parsing + stacking by value
* Review comments
* review comments
* Remove reduntant parsing
* Couple CC warnings
* Optimize filterBetween
* More migration info

5 years agoRemove bundled builds (#6680)
Ben McCann [Sat, 2 Nov 2019 19:48:49 +0000 (12:48 -0700)] 
Remove bundled builds (#6680)

5 years agoRemove unused parameters (#6674)
Ben McCann [Sat, 2 Nov 2019 19:20:19 +0000 (12:20 -0700)] 
Remove unused parameters (#6674)

5 years agoComment explaining hover animation (#6676)
Ben McCann [Sat, 2 Nov 2019 13:19:50 +0000 (06:19 -0700)] 
Comment explaining hover animation (#6676)

5 years agoRemove backwards compatibility for update second arg (#6675)
Ben McCann [Sat, 2 Nov 2019 13:18:42 +0000 (06:18 -0700)] 
Remove backwards compatibility for update second arg (#6675)

5 years agoHide correct dataset from legend (#6667)
Jukka Kurkela [Fri, 1 Nov 2019 18:06:08 +0000 (20:06 +0200)] 
Hide correct dataset from legend (#6667)

5 years agoAdd radial and linear gradient sample files (#6666)
Evert Timberg [Fri, 1 Nov 2019 11:20:37 +0000 (07:20 -0400)] 
Add radial and linear gradient sample files (#6666)

* Add radial gradient sample file
* Add linear gradient sample file

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