]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Fri, 27 Dec 2019 22:13:24 +0000 (00:13 +0200)]
Rewrite animation logic (#6845)
* Rewrite animation logic
* Review update 1
* Review update 2
* Review update 3
* Add 'none' to api.md
Ben McCann [Thu, 26 Dec 2019 13:49:22 +0000 (05:49 -0800)]
Replace Object.entries with Object.keys (#6862)
Ben McCann [Wed, 25 Dec 2019 13:21:42 +0000 (05:21 -0800)]
Remove helpers.where and unnecessary calls to helpers.each (#6860)
* Remove unnecessary calls to helpers.each
* Remove where
Ben McCann [Sat, 21 Dec 2019 02:14:41 +0000 (18:14 -0800)]
Remove executable bit from tests (#6854)
Ben McCann [Sat, 21 Dec 2019 02:14:21 +0000 (18:14 -0800)]
Fix log scale autoSkip issues (#6853)
SansDK [Fri, 20 Dec 2019 13:21:20 +0000 (14:21 +0100)]
(feature) Added separate top and bottom padding for title plugin. (#6852)
* (feature) Added separate top and bottom padding for title plugin.
* Added regular padding multiplier like how it was before.
* Now makes use of toPadding helper.
Fixed typo in toPadding helper.
* Fixed requested changes.
Jukka Kurkela [Thu, 19 Dec 2019 19:58:23 +0000 (21:58 +0200)]
Fix automatic `min` value of `stacked` scale. (#6851)
Ben McCann [Thu, 19 Dec 2019 13:27:32 +0000 (05:27 -0800)]
Removed unused method (#6849)
Ben McCann [Wed, 18 Dec 2019 16:01:53 +0000 (08:01 -0800)]
Fix category scale autoSkip (#6847)
Ben McCann [Wed, 18 Dec 2019 16:01:38 +0000 (08:01 -0800)]
Fix rendering of table in tooltip documentation (#6846)
Ben McCann [Tue, 17 Dec 2019 19:18:19 +0000 (11:18 -0800)]
Make tests work with karma-cli (#6840)
Evert Timberg [Tue, 17 Dec 2019 13:04:40 +0000 (08:04 -0500)]
Move all helpers to src/helpers (#6841)
* Move all helpers into src/helpers
* Move curve helpers to their own file
* DOM helpers moved to their own file
* Update migration docs
* Remove migration docs on new functions
Evert Timberg [Mon, 16 Dec 2019 23:17:42 +0000 (18:17 -0500)]
Allow axes to be centered on the chart area (#6818)
Allow axes to be centered on the chart area or at a dynamic position based on another axis
Ben McCann [Sun, 15 Dec 2019 13:26:17 +0000 (05:26 -0800)]
Optimize tooltip event handler (#6827)
* Optimize tooltip event handler
* Address review comments
* Additional cleanup
Ben McCann [Sat, 14 Dec 2019 18:22:57 +0000 (10:22 -0800)]
Rename calculateTickRotation to calculateLabelRotation (#6809)
Ben McCann [Sat, 14 Dec 2019 18:09:50 +0000 (10:09 -0800)]
Interactions cleanup (#6825)
Jukka Kurkela [Sat, 14 Dec 2019 18:03:09 +0000 (20:03 +0200)]
Cache sorting order of dataset metas (#6757)
* Cache sorting order of dataset metas
* Cache dataset visibility
Ben McCann [Sat, 14 Dec 2019 04:52:18 +0000 (20:52 -0800)]
Make elements optional (#6829)
Ben McCann [Sat, 14 Dec 2019 04:51:59 +0000 (20:51 -0800)]
Tests and fixes for data watching (#6831)
* Tests and fixes for data watching
* Remove call to _configure
Ben McCann [Tue, 10 Dec 2019 23:57:21 +0000 (15:57 -0800)]
Shrink _parsed to match if dataset shrinks (#6826)
Ben McCann [Tue, 10 Dec 2019 23:56:42 +0000 (15:56 -0800)]
Convert line controller to use const/let (#6820)
Ben McCann [Sun, 8 Dec 2019 13:52:11 +0000 (05:52 -0800)]
Store parsed data more similarly to provided data (#6814)
* Store parsed data more similarly to provided data
* Add test
Chris Lamb [Sat, 7 Dec 2019 15:41:56 +0000 (15:41 +0000)]
Make the build reproducible (#6817)
Whilst working on the Reproducible Builds effort [0] we noticed that
Chart.js could not be built reproducibly.
This is because it was embedding another build date in a "banner"
comment. This patch uses the value from SOURCE_DATE_EPOCH [1] if
present.
This was originally filed in Debian as #946333 [2].
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/
[2] https://bugs.debian.org/946333
Signed-off-by: Chris Lamb <lamby@debian.org>
Jukka Kurkela [Sat, 7 Dec 2019 00:47:00 +0000 (02:47 +0200)]
Allow pre-parsed data (to scale id's) (#6768)
* Allow pre-parsed data (to scale id's)
* Only update `count` references in pre-parsed mode
* Documentation
Evert Timberg [Sat, 7 Dec 2019 00:44:53 +0000 (19:44 -0500)]
Scale use modules (#6813)
Ben McCann [Tue, 3 Dec 2019 22:53:33 +0000 (14:53 -0800)]
Use const/let in time scale (#6806)
Edward Thomson [Tue, 3 Dec 2019 22:52:39 +0000 (09:52 +1100)]
Update GitHub Actions CI to include pull requests (#6705)
* Update GitHub Actions CI to include pull requests
Update GitHub Actions CI to include pull requests, and limit both triggers to the master branch.
* Run coveralls publish on bash
Always run coveralls publish on bash - on Windows, the default shell is PowerShell but that is not appropriate for this workflow.
* Run GitHub Actions against the 2.9 branch
* Temporarily remove macOS continuous integration
Chrome is unhappy executing the tests after an update to macOS Catalina.
Remove macOS CI until that can be resolved.
Ben McCann [Tue, 3 Dec 2019 22:52:04 +0000 (14:52 -0800)]
Fix typo (#6805)
Evert Timberg [Sun, 1 Dec 2019 18:28:34 +0000 (13:28 -0500)]
Convert src/helpers to use ES6 exports (#6797)
* Canvas helpers exported
* Easing helpers use exports
* Math helper uses export
* Linting
* RTL options use export
* Allow object spread operator
* Rest of helpers use `export`
Ben McCann [Thu, 28 Nov 2019 12:00:50 +0000 (04:00 -0800)]
Remove createElement and pre-allocate arrays (#6788)
* Remove createElement and pre-allocate arrays
* Address review comment
Ben McCann [Wed, 27 Nov 2019 23:24:57 +0000 (15:24 -0800)]
Improve autoSkip performance (#6783)
* Improve autoSkip performance
* Maintain tick ordering
Jukka Kurkela [Sun, 24 Nov 2019 12:53:52 +0000 (14:53 +0200)]
Simplify stacking even more, leverage more ES6 features (#6769)
* Simplify stacking even more
* Destructuring
Jukka Kurkela [Sat, 23 Nov 2019 22:39:12 +0000 (00:39 +0200)]
Add min/max to performance documentation (#6785)
* Add min/max to performance documentation
* Review1
* Review2
Jukka Kurkela [Sat, 23 Nov 2019 22:38:48 +0000 (00:38 +0200)]
Use correct dataset index in parseVisibleItems (#6786)
* Use correct dataset index
* Review1
Ben McCann [Sat, 23 Nov 2019 22:37:32 +0000 (14:37 -0800)]
Assume time series data has been normalized (#6775)
* Assume time series data has been normalized
* Add sentance to docs
Evert Timberg [Sat, 23 Nov 2019 17:26:55 +0000 (12:26 -0500)]
Convert elements to use ES6 modules (import/export) (#6776)
* Enable ES6 modules
* Convert elements to use import/export
* Need default export for backwards compatibility
* Remove dangling comma
Evert Timberg [Fri, 22 Nov 2019 12:28:31 +0000 (07:28 -0500)]
Fix broken tests (#6780)
Jukka Kurkela [Thu, 21 Nov 2019 23:46:49 +0000 (01:46 +0200)]
Convert axis options from arrays to objects (#6773)
* Convert axis options from arrays to objects
* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs
* Fix additional tests
* Ensure scale defaults are set if type is not explicitly defined
* Another step
* Include `scale` as `firstIDs.r`
* update docs
* Update for buildOrUpdateScales
* Update migration guide
* Add test back
L M [Thu, 21 Nov 2019 18:48:31 +0000 (19:48 +0100)]
Allow filling above and below with different colors (#6318)
Two colors allowed : first one to fill above the target, second to fill below
Tests added
Docs edited
Ben McCann [Thu, 21 Nov 2019 12:20:18 +0000 (04:20 -0800)]
Don't store _meta on dataset (#6778)
Ben McCann [Thu, 21 Nov 2019 12:06:15 +0000 (04:06 -0800)]
Remove Element.initialize (#6777)
Jukka Kurkela [Wed, 20 Nov 2019 00:01:32 +0000 (02:01 +0200)]
Remove _ctx from Element (#6764)
* Remove _ctx from Element
* Sort
Ben McCann [Tue, 19 Nov 2019 12:12:38 +0000 (04:12 -0800)]
Change updateElement to updateElements (#6722)
Ben McCann [Tue, 19 Nov 2019 12:09:50 +0000 (04:09 -0800)]
Remove _getPixelForOffset (#6763)
* Remove _getPixelForOffset
* Update migration guide
Jukka Kurkela [Mon, 18 Nov 2019 23:51:58 +0000 (01:51 +0200)]
Improve stacking performance and footprint (#6762)
* Improve stacking speed and footprint
* Better utilization of caches
* Chore
Jukka Kurkela [Mon, 18 Nov 2019 23:45:54 +0000 (01:45 +0200)]
Fix tick spacing calculation (#6761)
Jukka Kurkela [Mon, 18 Nov 2019 01:28:13 +0000 (03:28 +0200)]
Point cleanup (#6755)
* remove steppedLine from Point
* Remove tension from Point
* Migration guide, private
Ben McCann [Sun, 17 Nov 2019 23:01:31 +0000 (15:01 -0800)]
Reduce object creation during parsing (#6758)
* Reduce object creation during parsing
* Rename method to createElement
* Make code more efficient?
* Update migration guide
Evert Timberg [Sat, 16 Nov 2019 18:49:35 +0000 (13:49 -0500)]
Convert all scales to use ES6 classes
Ben McCann [Sat, 16 Nov 2019 15:52:41 +0000 (07:52 -0800)]
Stacks readability improvements (#6753)
* Stacks readability improvements
* Variable renames
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
Jukka Kurkela [Fri, 15 Nov 2019 18:14:01 +0000 (20:14 +0200)]
Fix tick range options in tests (#6748)
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
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
Jukka Kurkela [Fri, 15 Nov 2019 16:51:45 +0000 (18:51 +0200)]
Tooltip label and value via controller (#6744)
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
Ben McCann [Fri, 15 Nov 2019 12:49:41 +0000 (04:49 -0800)]
Remove unused helpers.canvas.roundedRect (#6734)
Ben McCann [Thu, 14 Nov 2019 12:17:29 +0000 (04:17 -0800)]
Include helpers._alignPixel only once (#6735)
Ben McCann [Thu, 14 Nov 2019 12:15:44 +0000 (04:15 -0800)]
Fix value passed to getPixelForTick (#6724)
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
Jukka Kurkela [Wed, 13 Nov 2019 00:24:07 +0000 (02:24 +0200)]
determineDataLimits optimizations (#6695)
Jukka Kurkela [Wed, 13 Nov 2019 00:20:52 +0000 (02:20 +0200)]
Update time combo sample (#6736)
Ben McCann [Wed, 13 Nov 2019 00:18:58 +0000 (16:18 -0800)]
Remove helpers.previousItem/nextItem (#6727)
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
Jukka Kurkela [Tue, 12 Nov 2019 18:59:29 +0000 (20:59 +0200)]
Convert element.line mock tests to fixtures (#6730)
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
Jukka Kurkela [Mon, 11 Nov 2019 23:28:17 +0000 (01:28 +0200)]
Performance improvements (#6729)
Jukka Kurkela [Mon, 11 Nov 2019 17:12:11 +0000 (19:12 +0200)]
Remove remaingin zeroLine* references (#6728)
Ben McCann [Mon, 11 Nov 2019 01:03:38 +0000 (17:03 -0800)]
Don't make legend empty when fill is false (#6718)
Jukka Kurkela [Sun, 10 Nov 2019 22:41:01 +0000 (00:41 +0200)]
Versatile clipping (#6642)
Versatile clipping algorithm for different chart types
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.
Ben McCann [Sun, 10 Nov 2019 12:49:16 +0000 (04:49 -0800)]
Remove unused method. Prefix private ones with underscore (#6721)
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
Ben McCann [Sat, 9 Nov 2019 00:59:44 +0000 (16:59 -0800)]
Fix undefined variable (#6699)
Jukka Kurkela [Sat, 9 Nov 2019 00:59:26 +0000 (02:59 +0200)]
Fix sample paths and include all options (#6712)
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
Jukka Kurkela [Fri, 8 Nov 2019 16:12:28 +0000 (18:12 +0200)]
Update package-lock.json (#6714)
Ben McCann [Fri, 8 Nov 2019 12:28:21 +0000 (04:28 -0800)]
Generate jsdocs (#5824)
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
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
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
Ben McCann [Wed, 6 Nov 2019 12:13:40 +0000 (04:13 -0800)]
Remove check that is always true (#6701)
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
Ben McCann [Tue, 5 Nov 2019 23:09:44 +0000 (15:09 -0800)]
Remove unused Element methods (#6694)
Jukka Kurkela [Tue, 5 Nov 2019 23:08:14 +0000 (01:08 +0200)]
Remove duplicate array equality function (#6693)
Ben McCann [Tue, 5 Nov 2019 12:11:53 +0000 (04:11 -0800)]
Remove tension option backwards compatibility (#6692)
Ben McCann [Tue, 5 Nov 2019 12:10:01 +0000 (04:10 -0800)]
Fix doughnut sample (#6690)
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
Ben McCann [Sat, 2 Nov 2019 19:48:49 +0000 (12:48 -0700)]
Remove bundled builds (#6680)
Ben McCann [Sat, 2 Nov 2019 19:20:19 +0000 (12:20 -0700)]
Remove unused parameters (#6674)
Ben McCann [Sat, 2 Nov 2019 13:19:50 +0000 (06:19 -0700)]
Comment explaining hover animation (#6676)
Ben McCann [Sat, 2 Nov 2019 13:18:42 +0000 (06:18 -0700)]
Remove backwards compatibility for update second arg (#6675)
Jukka Kurkela [Fri, 1 Nov 2019 18:06:08 +0000 (20:06 +0200)]
Hide correct dataset from legend (#6667)
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
Evert Timberg [Fri, 1 Nov 2019 11:19:36 +0000 (07:19 -0400)]
Fix polar area sample (#6665)
Ben McCann [Thu, 31 Oct 2019 22:45:13 +0000 (15:45 -0700)]
Make all ticks objects (#6645)
Make all ticks object
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
Ben McCann [Thu, 31 Oct 2019 22:03:00 +0000 (15:03 -0700)]
Upgrade dependencies (#6662)
Jukka Kurkela [Wed, 30 Oct 2019 22:51:01 +0000 (00:51 +0200)]
Update eslint-config-chartjs (#6650)
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))