]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Thu, 13 Feb 2020 23:42:53 +0000 (01:42 +0200)]
Fix transparentize in samples (#7098)
Jukka Kurkela [Thu, 13 Feb 2020 23:42:25 +0000 (01:42 +0200)]
Fix memory leak (#7097)
Jukka Kurkela [Thu, 13 Feb 2020 23:41:49 +0000 (01:41 +0200)]
Enable esnext and fix all lint errors (#7094)
* enable esnext and fix all lint errors
* Review update
* Missed some
* Some cleanup still
* Remove leftover eslint disable
Ben McCann [Wed, 12 Feb 2020 13:03:23 +0000 (05:03 -0800)]
Cleanup some Typescript comments (#7088)
Ben McCann [Wed, 12 Feb 2020 00:18:13 +0000 (16:18 -0800)]
Cleanup private methods on Scales (#7082)
Ben McCann [Tue, 11 Feb 2020 16:52:10 +0000 (08:52 -0800)]
Look for any branch starting with release (#7087)
Ben McCann [Mon, 10 Feb 2020 22:57:22 +0000 (14:57 -0800)]
Prefix private controller methods with underscore (#7081)
Prefix private controller methods with underscore
Ben McCann [Mon, 10 Feb 2020 22:57:04 +0000 (14:57 -0800)]
Document types for TimeScale (#7083)
Jukka Kurkela [Mon, 10 Feb 2020 20:10:51 +0000 (22:10 +0200)]
Utilize _angleBetween in Arc (#7080)
* Utilize _angleBetween in Arc
* More ES6 chrore on Arc
Jukka Kurkela [Mon, 10 Feb 2020 20:10:15 +0000 (22:10 +0200)]
Animate circumference (#7079)
Jukka Kurkela [Mon, 10 Feb 2020 01:14:38 +0000 (03:14 +0200)]
Fix typo and update dependencies (#7077)
* Fix typo and update dependencies
* Update `isColorInstance`
Jukka Kurkela [Sun, 9 Feb 2020 16:50:11 +0000 (18:50 +0200)]
Fix lint issues in gulpfile.js (#7076)
* Fix lint issues in gulpfile.js
* .eslintignore update
Jukka Kurkela [Sun, 9 Feb 2020 13:52:18 +0000 (15:52 +0200)]
Defaults as ES6 class (#7074)
* Defaults as ES6 class
* Review comments
Ben McCann [Sat, 8 Feb 2020 23:08:42 +0000 (15:08 -0800)]
Fix time scale computeOffsets (#7072)
Jukka Kurkela [Sat, 8 Feb 2020 23:06:49 +0000 (01:06 +0200)]
PluginService as ES6 class (#7075)
* PluginService as ES6 class
* Review update
Ben McCann [Sat, 8 Feb 2020 13:10:20 +0000 (05:10 -0800)]
Simplify financial sample (#7070)
Jukka Kurkela [Sat, 8 Feb 2020 00:24:29 +0000 (02:24 +0200)]
Switch from chartjs-color to @kurkle/color (#7059)
Ben McCann [Fri, 7 Feb 2020 23:03:33 +0000 (15:03 -0800)]
Fix errors reported by TypeScript compiler (#7030)
Ben McCann [Thu, 6 Feb 2020 23:17:05 +0000 (15:17 -0800)]
core.scale cleanup (#7067)
Jukka Kurkela [Thu, 6 Feb 2020 23:16:24 +0000 (01:16 +0200)]
Configurable hide/show animations (#7055)
Configurable hide/show animations
Ben McCann [Thu, 6 Feb 2020 12:33:00 +0000 (04:33 -0800)]
Convert controllers to ES6 classes (#7061)
Evert Timberg [Thu, 6 Feb 2020 12:31:33 +0000 (07:31 -0500)]
Fix legend title drawing + update sample (#7060)
Ben McCann [Wed, 5 Feb 2020 23:20:01 +0000 (15:20 -0800)]
Finishing removing old major/minor options (#7042)
* Finishing removing old major/minor options
* Fix samples
Ben McCann [Wed, 5 Feb 2020 13:27:02 +0000 (05:27 -0800)]
JSDoc and other cleanup (#7057)
Ben McCann [Tue, 4 Feb 2020 23:09:56 +0000 (15:09 -0800)]
Make datasetController an ES6 class (#7056)
Ben McCann [Tue, 4 Feb 2020 00:22:09 +0000 (16:22 -0800)]
Generate ticks when source is data (#7044)
Generate ticks when source is data
Ben McCann [Mon, 3 Feb 2020 12:52:55 +0000 (04:52 -0800)]
Fix some JSDoc errors (#7026)
* Fix some JSDoc errors
* Fix helpers.dom JSDoc errors
* Add scale JSDoc errors
* Address review comment
* Fix additional errors
* Document optional parameters
* JSDoc fixes for datasetController
* Remove undefined
Ben McCann [Mon, 3 Feb 2020 12:36:31 +0000 (04:36 -0800)]
Improved formatting of numeric scale labels (#7007)
* Improved formatting of numeric scale labels
* Put locale on options
* Use scientific notation for big ticks
* Remove extra parameter
Ben McCann [Mon, 3 Feb 2020 12:34:54 +0000 (04:34 -0800)]
Cleanup imports on controllers (#7052)
Ben McCann [Mon, 3 Feb 2020 12:34:36 +0000 (04:34 -0800)]
Update imports for elements (#7049)
Ben McCann [Sat, 1 Feb 2020 13:29:39 +0000 (05:29 -0800)]
Update legend imports (#7048)
Ben McCann [Sat, 1 Feb 2020 13:24:23 +0000 (05:24 -0800)]
Remove extra call to _getLabelCapacity (#6999)
Ben McCann [Sat, 1 Feb 2020 13:20:22 +0000 (05:20 -0800)]
Fix bug in opacity handling (#7047)
Ben McCann [Fri, 31 Jan 2020 12:10:37 +0000 (04:10 -0800)]
Cleanup time scale imports (#7041)
Ben McCann [Fri, 31 Jan 2020 12:09:52 +0000 (04:09 -0800)]
scale.linearbase cleanup (#7038)
Ben McCann [Fri, 31 Jan 2020 12:09:25 +0000 (04:09 -0800)]
Remove unnecessary check for color library (#7043)
jachstet-sea [Fri, 31 Jan 2020 00:27:53 +0000 (01:27 +0100)]
Fix legend.md markdown syntax (#7034)
* Fix legend.md markdown syntax
Somehow the markdown of a table in the legend.md file was broken ...
* Update legend.md
forgot to add the second option
Jukka Kurkela [Fri, 31 Jan 2020 00:24:05 +0000 (02:24 +0200)]
Fix typo in elements.line (#7040)
Fix typo in elements.line
Ben McCann [Fri, 31 Jan 2020 00:23:40 +0000 (16:23 -0800)]
Remove unused helpers (#7039)
Ben McCann [Fri, 31 Jan 2020 00:22:38 +0000 (16:22 -0800)]
Fix isRadial is always false (#7037)
Ben McCann [Fri, 31 Jan 2020 00:21:30 +0000 (16:21 -0800)]
Reduce requestAnimationFrame polyfill (#7033)
* Reduce requestAnimationFrame polyfill
* Remove another unnecessary polyfill
Ben McCann [Fri, 31 Jan 2020 00:20:59 +0000 (16:20 -0800)]
Convert the DateAdapter to ES6 (#7032)
Ben McCann [Fri, 31 Jan 2020 00:19:53 +0000 (16:19 -0800)]
Move text helpers and reduce scope of imports (#7028)
Ben McCann [Fri, 31 Jan 2020 00:17:06 +0000 (16:17 -0800)]
Remove unused variable (#7031)
Ben McCann [Tue, 28 Jan 2020 17:35:34 +0000 (09:35 -0800)]
Switch to const/let in platform.dom.js and fix bug (#7024)
Jukka Kurkela [Tue, 28 Jan 2020 16:46:23 +0000 (18:46 +0200)]
Fix binarySearch for empty dataset (#7023)
Ben McCann [Mon, 27 Jan 2020 22:58:58 +0000 (14:58 -0800)]
Format numbers in tooltip (#7004)
* Format numbers in tooltip
* Add check for typeof number
* Implement only for linear and log scales
Evert Timberg [Mon, 27 Jan 2020 22:57:31 +0000 (17:57 -0500)]
When `gridLines.display` is false, the axis border is still drawn (#7014)
Ben McCann [Sun, 26 Jan 2020 20:35:53 +0000 (12:35 -0800)]
Improved financial sample (#6998)
* Improved financial sample
* Switch from adapter to moment
* Use data instead of cached timestamps
David Winegar [Sun, 26 Jan 2020 20:33:20 +0000 (12:33 -0800)]
Allow switching platforms (#6964)
Allow switching platforms
Move the Chart.platform to Chart.platform.current instead, and add
ways to see available platforms and set the current platform. This
is necessary for adding tests that use the "basic" platform.
Evert Timberg [Wed, 22 Jan 2020 16:13:43 +0000 (11:13 -0500)]
Proper text alignment for multiline tick labels (#6988)
* Proper text alignment for multiline tick labels
* Handle other rotations as well
Ben McCann [Wed, 22 Jan 2020 12:19:44 +0000 (04:19 -0800)]
Reduce scope of imports (#7000)
Jukka Kurkela [Tue, 21 Jan 2020 23:33:27 +0000 (01:33 +0200)]
Allow specifying spanGaps as number (max distance) (#6993)
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)