]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Tue, 21 Jan 2020 23:31:17 +0000 (01:31 +0200)]
Use binary search for interpolations (#6958)
Jukka Kurkela [Tue, 21 Jan 2020 23:30:23 +0000 (01:30 +0200)]
Filler fix (#6989)
* Filler fix
* Add an indicator of reference points
Jukka Kurkela [Tue, 21 Jan 2020 20:44:14 +0000 (22:44 +0200)]
Enable imports for tests (#6997)
Jukka Kurkela [Tue, 21 Jan 2020 20:43:41 +0000 (22:43 +0200)]
Clean up after test (#6976)
* Clean up
* Make sure the event is inside chart are
Ben McCann [Tue, 21 Jan 2020 20:31:17 +0000 (12:31 -0800)]
Update version in package-lock (#6994)
Jukka Kurkela [Tue, 21 Jan 2020 14:48:58 +0000 (16:48 +0200)]
Fix tooltip for 'dataset' mode (#6961)
Evert Timberg [Tue, 21 Jan 2020 11:36:53 +0000 (06:36 -0500)]
Convert Tooltip to a plugin (#6990)
* Convert Tooltip to a plugin
* code review feedback
* Update docs. Convert positioners map to be on the plugin directly
Jukka Kurkela [Sun, 19 Jan 2020 18:15:27 +0000 (20:15 +0200)]
Resize on zoom, retry (#6987)
Evert Timberg [Sun, 19 Jan 2020 14:03:51 +0000 (09:03 -0500)]
Show color box only on the first line of the tooltip body (#6984)
* Show color box only on the first line of the tooltip body
* Code review feedback
Evert Timberg [Sat, 18 Jan 2020 13:35:30 +0000 (08:35 -0500)]
Linear scale with min/max/stepSize set should use all 3 if the range fits (#6966)
When (max - min) / stepSize is an integer, we can do a very simple
tick generation method.
Dominic Jean [Sat, 18 Jan 2020 13:32:09 +0000 (08:32 -0500)]
fix drawPoints parameter (#6975)
Ben McCann [Sat, 18 Jan 2020 00:13:38 +0000 (16:13 -0800)]
Use import statements in test code (#6977)
Jukka Kurkela [Sat, 18 Jan 2020 00:08:38 +0000 (02:08 +0200)]
Fix updating retinaScale (#6971)
* Fix updating retinaScale
* Destructure
Jukka Kurkela [Sat, 18 Jan 2020 00:07:28 +0000 (02:07 +0200)]
Resize on zoom (#6974)
* Resize on zoom
* Add test
Jukka Kurkela [Sat, 18 Jan 2020 00:06:51 +0000 (02:06 +0200)]
Fix bar border artifacts (#6972)
Jukka Kurkela [Sat, 18 Jan 2020 00:05:51 +0000 (02:05 +0200)]
Fix clipping when zoomed (#6973)
Jukka Kurkela [Thu, 16 Jan 2020 21:20:22 +0000 (23:20 +0200)]
Rebuild legend after datasets are updated (#6969)
Evert Timberg [Thu, 16 Jan 2020 12:20:16 +0000 (07:20 -0500)]
Set the version to v3.0.0-dev for dev builds (#6965)
Marc Silverman [Wed, 15 Jan 2020 22:13:36 +0000 (14:13 -0800)]
Proposed fix for issue #6830 (#6884)
* proposed fix for issue #6830 https://github.com/chartjs/Chart.js/issues/6830
* Updated to pass the full options object instead of a shadow borderwidth. Updated migration guide regarding the API signature change.
* Moved to use options.radius instead of caching radius; updated related migration docs.
Ben McCann [Tue, 14 Jan 2020 23:26:35 +0000 (15:26 -0800)]
Fix reference to distanceBetweenPoints (#6962)
Jukka Kurkela [Tue, 14 Jan 2020 23:22:17 +0000 (01:22 +0200)]
Optimize category parse for usual use case (#6959)
Jukka Kurkela [Tue, 14 Jan 2020 12:34:08 +0000 (14:34 +0200)]
Throttle all events (to 1 / frame each) (#6953)
* Throttle all events
* Asynchronize event tests
Ben McCann [Tue, 14 Jan 2020 00:39:30 +0000 (16:39 -0800)]
Move location of dataset options (#6955)
* Move location of dataset options
* Fix misplaced period
Jukka Kurkela [Tue, 14 Jan 2020 00:36:50 +0000 (02:36 +0200)]
Fix log scale calculations (#6903)
* Fix log scale calculations
* Fully remove _valueOffset
* Invalidate 0
* Review update
* Skip NaN
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Jukka Kurkela [Tue, 14 Jan 2020 00:35:44 +0000 (02:35 +0200)]
waitForResize before resizing (#6954)
* waitForResize before resizing
* Change the failing test
* Change the other leaking test too
Ben McCann [Tue, 14 Jan 2020 00:33:46 +0000 (16:33 -0800)]
Scriptable tick fonts (#6939)
* Remove extra font parsing in Scale.fit
* Implement scriptable options for tick formatting
Jukka Kurkela [Tue, 14 Jan 2020 00:33:25 +0000 (02:33 +0200)]
Detect stack change (#6947)
* Detect stack change
* Add test
Jose Raul Pérez [Sun, 12 Jan 2020 19:22:51 +0000 (20:22 +0100)]
Add stroke lines option around ticks to improve readability (#6787)
Enable stroking of text on of axis labels
Jukka Kurkela [Sat, 11 Jan 2020 23:10:32 +0000 (01:10 +0200)]
Limit interactions to chartArea (+/-0.5px) (#6943)
Limit interactions to chartArea (+/-0.5px)
Jukka Kurkela [Fri, 10 Jan 2020 23:31:17 +0000 (01:31 +0200)]
Re-parse existing elements when data is replaced (#6925)
* Re-parse existing elements when data is replaced
* Update test
Ben McCann [Fri, 10 Jan 2020 23:30:29 +0000 (15:30 -0800)]
Polar area: startAngle in degrees, 0 at top. (#6936)
* Polar area: startAngle in degrees, 0 at top.
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Jukka Kurkela [Fri, 10 Jan 2020 23:29:34 +0000 (01:29 +0200)]
Try beta Chrome (#6933)
* Try beta chrome
* Update path
Evert Timberg [Fri, 10 Jan 2020 23:28:51 +0000 (18:28 -0500)]
Add the ability to add a title to the legend (#6906)
* Add the ability to add a title to the legend
- Legend title can be specified
- Font & color options added
- Padding option added
- Positioning option added
- Legend title sample file added
Jukka Kurkela [Fri, 10 Jan 2020 23:28:06 +0000 (01:28 +0200)]
Account for hoverRadius in Point.size() (#6945)
* Account for hoverRadius in Point.size()
* Update fixtures
Jukka Kurkela [Fri, 10 Jan 2020 23:27:31 +0000 (01:27 +0200)]
Draw active points last (#6944)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:16 +0000 (01:27 +0200)]
Update moment to 2.24 in samples (#6948)
Ben McCann [Thu, 9 Jan 2020 21:25:31 +0000 (13:25 -0800)]
Fix broken config in log scatter sample (#6937)
Ben McCann [Thu, 9 Jan 2020 12:23:53 +0000 (04:23 -0800)]
Switch most requires to imports (#6935)
Jukka Kurkela [Wed, 8 Jan 2020 22:27:17 +0000 (00:27 +0200)]
Bar chores (#6889)
* Limit invisible bar section size
* Improve readability
* Fix for issue 6368
* Raview update
* Review update, add test
* Typos
* Try to make sense :)
Ben McCann [Wed, 8 Jan 2020 12:37:22 +0000 (04:37 -0800)]
Upgrade Ubuntu on Travis to match GitHub actions (#6932)
Ben McCann [Tue, 7 Jan 2020 21:45:04 +0000 (13:45 -0800)]
Stop using old OS on Travis (#6930)
Jukka Kurkela [Tue, 7 Jan 2020 16:27:44 +0000 (18:27 +0200)]
Remove futile optimization (#6928)
Ben McCann [Tue, 7 Jan 2020 12:43:47 +0000 (04:43 -0800)]
Make sampleSize apply to computeLabelSizes (#6926)
Ben McCann [Tue, 7 Jan 2020 12:26:29 +0000 (04:26 -0800)]
Improve calculation for number of ticks that can fit (#6927)
Elina Gorshkova [Mon, 6 Jan 2020 23:07:08 +0000 (18:07 -0500)]
Typos fix (#6924)
* Fixed spelling typo
Changed 'are know' to 'are known'
* Fix spelling in the docs
Added a missing comma
* Fix spelling in the docs
Added a missing comma
Evert Timberg [Mon, 6 Jan 2020 22:49:36 +0000 (17:49 -0500)]
Update tooltip docs with working example (#6918)
Evert Timberg [Mon, 6 Jan 2020 22:16:00 +0000 (17:16 -0500)]
Add API to change data visibility (#6907)
Evert Timberg [Mon, 6 Jan 2020 20:04:41 +0000 (15:04 -0500)]
Add multi series pie example (#6919)
Evert Timberg [Mon, 6 Jan 2020 12:40:49 +0000 (07:40 -0500)]
Handle font sizes that are set as strings (#6921)
Jukka Kurkela [Mon, 6 Jan 2020 12:22:18 +0000 (14:22 +0200)]
Internal data by axis instead of scale id (#6912)
* Internal data by axis instead of scale id
* Test
* Update test
* Update docs
Ben McCann [Sun, 5 Jan 2020 21:42:15 +0000 (13:42 -0800)]
Scale cleanup (#6916)
Evert Timberg [Sun, 5 Jan 2020 20:50:24 +0000 (15:50 -0500)]
Bar chart defaults to begin at zero (#6917)
* Bar chart defaults to begin at zero
* Add bar beginAtZero test
Evert Timberg [Sun, 5 Jan 2020 19:59:57 +0000 (14:59 -0500)]
Title alignment options (#6908)
* Add alignment options for title plugin.
Alignment can be set to 'start', 'center'. or 'end'. A new sample has been added as well.
* Update sample file title
Ben McCann [Sun, 5 Jan 2020 15:42:42 +0000 (07:42 -0800)]
Remove minSize (#6910)
Jukka Kurkela [Sat, 4 Jan 2020 17:59:27 +0000 (19:59 +0200)]
Remove `for of` loops for IE compatibility (#6905)
Evert Timberg [Fri, 3 Jan 2020 19:56:22 +0000 (14:56 -0500)]
#5573 Link PolarArea chart docs to radial axis docs (#6901)
Jukka Kurkela [Fri, 3 Jan 2020 19:07:38 +0000 (21:07 +0200)]
Remove global from defaults (#6893)
Jukka Kurkela [Fri, 3 Jan 2020 18:57:25 +0000 (20:57 +0200)]
Small optimizations (#6868)
* Only extend element if configuration is provided
* Time scale lookup optimization
Jukka Kurkela [Fri, 3 Jan 2020 18:56:42 +0000 (20:56 +0200)]
Determine if data is sorted (#6885)
* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs
Evert Timberg [Fri, 3 Jan 2020 18:56:11 +0000 (13:56 -0500)]
Remove HTML legend that is mostly unsupported. (#6887)
* Remove HTML legend that is mostly unsupported.
Resolves the discussion in #5070
* Add migration docs
Evert Timberg [Fri, 3 Jan 2020 18:55:50 +0000 (13:55 -0500)]
Enable override settings for the axis border (#6883)
* Enable override settings for the axis border - #4041
Adds two new options to the cartesian axis: `borderColor` and `borderWidth`
which are used to control the border drawn at the edge of the axis area.
If these options are not set, the first grid line settings are used.
* Correct spelling
Jukka Kurkela [Fri, 3 Jan 2020 14:08:15 +0000 (16:08 +0200)]
Update documentation of `order` (#6897)
Jukka Kurkela [Fri, 3 Jan 2020 14:07:33 +0000 (16:07 +0200)]
Linear scale: use suggested limits as defaults (#6892)
* Linear scale: use suggested limits as defaults
* Review update
Evert Timberg [Thu, 2 Jan 2020 14:42:48 +0000 (09:42 -0500)]
Update some dependencies that have security alerts (#6891)
Evert Timberg [Wed, 1 Jan 2020 23:11:16 +0000 (18:11 -0500)]
Convert `Chart` class to an ES6 class (#6886)
* Chart class is now an ES6 class
* Use of const and let in core Chart class
* Use import/export for core Chart file
Ben McCann [Wed, 1 Jan 2020 21:02:17 +0000 (15:02 -0600)]
Remove outdated element tests (#6869)
Jukka Kurkela [Tue, 31 Dec 2019 17:56:33 +0000 (19:56 +0200)]
Optimize arrayUnique (#6871)
Jukka Kurkela [Tue, 31 Dec 2019 17:56:15 +0000 (19:56 +0200)]
Rewrite filler (#6795)
Filler plugin is rewritten and test coverage increased
Ben McCann [Tue, 31 Dec 2019 13:23:03 +0000 (07:23 -0600)]
Remove unnecessary method argument (#6878)
Remove unnecessary method argument
Jukka Kurkela [Mon, 30 Dec 2019 22:15:57 +0000 (00:15 +0200)]
IE11 compatibility (#6872)
Jukka Kurkela [Mon, 30 Dec 2019 22:14:55 +0000 (00:14 +0200)]
Use ticks consistently (#6873)
Jukka Kurkela [Mon, 30 Dec 2019 21:54:19 +0000 (23:54 +0200)]
Fix default collections table (#6879)
Ben McCann [Mon, 30 Dec 2019 19:54:13 +0000 (13:54 -0600)]
Improved getMaxOverflow (#6874)
Jukka Kurkela [Sun, 29 Dec 2019 21:55:01 +0000 (23:55 +0200)]
core.animations ES6 (#6867)
Jukka Kurkela [Sat, 28 Dec 2019 14:49:34 +0000 (16:49 +0200)]
Resync metasets array when indices change. (#6864)
* Resync metasets array when indices change.
* Make sure _metasets is initialized
Ben McCann [Sat, 28 Dec 2019 13:19:32 +0000 (05:19 -0800)]
Alphabetize migration guide (#6865)
Alphabetize migration guide
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