]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Sat, 20 Jun 2020 11:30:31 +0000 (07:30 -0400)]
Update the legend object during beforeUpdate (#7528)
* Update the legend object during beforeUpdate
When the legend is updated in afterUpdate, the position is not updated
before the layout system runs. When the event that the legend position
was changed, the legend would not move to the new position in the layout
system. This causes the chart to render incorrectly because the layout
system handled the layout as if the legend was still at the original position.
The update is split into two passes to ensure that labels still update correctly
after datasets (#6968)
Ben McCann [Fri, 19 Jun 2020 14:21:39 +0000 (07:21 -0700)]
Split time scale into time and timeseries (#7525)
* Split time scale into time and timeseries
* Address comment
Jukka Kurkela [Thu, 18 Jun 2020 21:44:55 +0000 (00:44 +0300)]
Consistently resolve element options (#7520)
* Consistently resolve element options
* Add tests
Jukka Kurkela [Thu, 18 Jun 2020 21:38:09 +0000 (00:38 +0300)]
Remove babel from tests (#7521)
* Remove babel from tests
* Remove unused require
Jukka Kurkela [Thu, 18 Jun 2020 21:37:27 +0000 (00:37 +0300)]
Tooltip: Provide argument for custom callback (#7522)
Jukka Kurkela [Thu, 18 Jun 2020 21:36:53 +0000 (00:36 +0300)]
Parse from custom properties in data (#7489)
* Parse from custom properties in data
* Resolve CC issues
* Review update
Jukka Kurkela [Thu, 18 Jun 2020 21:35:52 +0000 (00:35 +0300)]
Replace horizontalBar with indexAxis: 'y' (#7514)
* Replace horizontalBar with indexAxis: 'y'
* Fix drawing of line for last x-position
* Consistently determine axis of scale
* Add test
Jukka Kurkela [Tue, 16 Jun 2020 21:56:42 +0000 (00:56 +0300)]
Fix initial animations (#7511)
* Fix initial animations
* CC
stockiNail [Mon, 15 Jun 2020 21:27:13 +0000 (23:27 +0200)]
Remove lineHeight property from LegendTitlt (#7508)
The updates
* removes `lineHeight` property from LegendTitle because already defined into Font.
* changes the link tp `Fonts.md` because it was wrong.
Sebastian Niemann [Fri, 12 Jun 2020 22:03:52 +0000 (00:03 +0200)]
Turns off interpolation per default (#7386)
Co-authored-by: Sebastian Niemann <sn@wertpapiertreuhand.de>
Jukka Kurkela [Fri, 12 Jun 2020 22:02:12 +0000 (01:02 +0300)]
Relocate array utils to helpers.collection (#7498)
Evert Timberg [Fri, 12 Jun 2020 22:01:48 +0000 (18:01 -0400)]
Use consistent option context for scales (#7499)
Jukka Kurkela [Fri, 12 Jun 2020 21:58:09 +0000 (00:58 +0300)]
Read Title font options from correct place (#7502)
Jukka Kurkela [Fri, 12 Jun 2020 21:55:51 +0000 (00:55 +0300)]
Remove unused _scaleStacked cache (#7494)
Jukka Kurkela [Thu, 11 Jun 2020 22:21:10 +0000 (01:21 +0300)]
Replace ineffective test with a fixture (#7491)
Jukka Kurkela [Thu, 11 Jun 2020 12:50:17 +0000 (15:50 +0300)]
Fix measureText bug in spriting (#7492)
Evert Timberg [Thu, 11 Jun 2020 12:49:54 +0000 (08:49 -0400)]
Radial scale scriptable options (#7471)
Scriptable radialLinear options
Evert Timberg [Wed, 10 Jun 2020 11:50:15 +0000 (07:50 -0400)]
Update horizontal bar chart default tooltip mode (#7488)
Ensures that vertical and horizontal bar charts behave the same way
Jukka Kurkela [Tue, 9 Jun 2020 21:16:03 +0000 (00:16 +0300)]
Update packages (#7486)
Ben McCann [Tue, 9 Jun 2020 21:15:36 +0000 (14:15 -0700)]
Fix link to animations docs (#7484)
Jukka Kurkela [Tue, 9 Jun 2020 21:15:05 +0000 (00:15 +0300)]
Correctly determine min/max for Float Bar (#7398)
Jukka Kurkela [Tue, 9 Jun 2020 17:15:06 +0000 (20:15 +0300)]
Restore Set to arrayUnique (#7481)
Ben McCann [Tue, 9 Jun 2020 11:51:12 +0000 (04:51 -0700)]
Remove unused parameter (#7480)
Jukka Kurkela [Mon, 8 Jun 2020 21:49:55 +0000 (00:49 +0300)]
Remove data checks and always re-parse data (#7458)
* Remove data checks and always re-parse data
* Fix removed helper namespace
Jukka Kurkela [Mon, 8 Jun 2020 21:49:17 +0000 (00:49 +0300)]
Implement routing of defaults (#7453)
Implement routing of defaults
Jukka Kurkela [Mon, 8 Jun 2020 21:31:54 +0000 (00:31 +0300)]
Document the context properties for ticks (#7399)
Document the context properties for ticks
stockiNail [Mon, 8 Jun 2020 11:56:06 +0000 (13:56 +0200)]
Remove lineHeight property from ScaleTitle (#7477)
`lineHeight` it should not be used anymore because inside the `Font` object
Ben McCann [Mon, 8 Jun 2020 11:52:01 +0000 (04:52 -0700)]
Better formatting of large tick values (#7335)
Better formatting of large tick values
Evert Timberg [Mon, 8 Jun 2020 11:31:00 +0000 (07:31 -0400)]
Cleanup Event Handling code to match style of tooltip plugin. (#7467)
* Cleanup Event Handling code to match style of tooltip plugin.
Eliminates saving two arrays of items on the chart prototype. The `onHover`
callback now receives the wrapped event instead of the native one.
Evert Timberg [Mon, 8 Jun 2020 11:26:06 +0000 (07:26 -0400)]
Do not show legend in stacked scatter test (#7470)
Evert Timberg [Sun, 7 Jun 2020 20:32:08 +0000 (16:32 -0400)]
Stacked scatter chart (#7468)
* Handle partially stacked scatter charts
* Update test files
Jukka Kurkela [Fri, 5 Jun 2020 21:03:54 +0000 (00:03 +0300)]
Babel loose (#7452)
* Use loose mode for babel
* Add note about loose mode in performance docs
Evert Timberg [Thu, 4 Jun 2020 23:53:40 +0000 (19:53 -0400)]
Enable custom legend box heights (#7459)
Enable custom legend box heights
Jukka Kurkela [Thu, 4 Jun 2020 23:51:34 +0000 (02:51 +0300)]
Update packages (#7463)
Jukka Kurkela [Wed, 3 Jun 2020 22:04:49 +0000 (01:04 +0300)]
Use verbose build in dev mode (#7455)
* Use verbose build in dev mode
* Update comment
Evert Timberg [Mon, 1 Jun 2020 12:07:48 +0000 (08:07 -0400)]
Radial Linear Scale: Compute Value based on distance from center (#7449)
* Radial Linear Scale: Compute Value based on distance from center
* Code review updates
Evert Timberg [Mon, 1 Jun 2020 12:06:59 +0000 (08:06 -0400)]
Indicate that axis callbacks are at top level of options (#7451)
Evert Timberg [Sun, 31 May 2020 12:36:42 +0000 (08:36 -0400)]
Update doc samples for changed file name (#7447)
Evert Timberg [Sat, 30 May 2020 20:42:23 +0000 (16:42 -0400)]
Radar charts should fill to the center by default (#7446)
* Radar charts should fill to the center by default
* Update tests for new defaults
Jukka Kurkela [Fri, 29 May 2020 20:27:10 +0000 (23:27 +0300)]
Make indexable options looping (#7442)
* Make indexable options looping
* Migration note
Ben McCann [Thu, 28 May 2020 21:39:09 +0000 (14:39 -0700)]
Remove unused dependency (#7441)
Jukka Kurkela [Thu, 28 May 2020 21:37:19 +0000 (00:37 +0300)]
Consistency: Use lower case for instances (#7436)
Consistency: Use lover case for instances
Jukka Kurkela [Thu, 28 May 2020 21:35:38 +0000 (00:35 +0300)]
Arc: Stop drawing anything when hidden (#7438)
* Arc: Stop drawing anything when hidden
* Cleanup
Jukka Kurkela [Thu, 28 May 2020 21:33:50 +0000 (00:33 +0300)]
Remove missing setDataVisibility for documentation (#7437)
Jukka Kurkela [Thu, 28 May 2020 21:33:27 +0000 (00:33 +0300)]
Cleanup resize complexity (#7439)
Cleanup resize complexity
Jukka Kurkela [Thu, 28 May 2020 21:32:00 +0000 (00:32 +0300)]
Clean lint errors from samples by refactoring (#7440)
* Clean lint errors from samples by refactoring
* Review
Ben McCann [Thu, 28 May 2020 11:37:45 +0000 (04:37 -0700)]
Upgrade to Docusaurus alpha.56 (#7432)
Jukka Kurkela [Wed, 27 May 2020 21:14:17 +0000 (00:14 +0300)]
Replace gulp with npm scripts (#7402)
Gulp removed from toolchain in favour of simpler build process
Evert Timberg [Wed, 27 May 2020 16:22:00 +0000 (12:22 -0400)]
Consider all timestamps for bar measuring (#7421)
* Consider all timestamps for bar measuring
* Fix watched tests for updated file names
* Add test of sparse bar time scales
Evert Timberg [Wed, 27 May 2020 00:03:18 +0000 (20:03 -0400)]
Only draw the tooltip if it is defined (#7411)
Jukka Kurkela [Tue, 26 May 2020 23:16:23 +0000 (02:16 +0300)]
Remove proposal and obsolete features (#7425)
Jukka Kurkela [Tue, 26 May 2020 22:10:28 +0000 (01:10 +0300)]
Alter test to require fever iterations (#7426)
Evert Timberg [Mon, 25 May 2020 20:55:12 +0000 (16:55 -0400)]
Default aspectRatio to 1 for square charts (#7414)
Yiwen Wang [Mon, 25 May 2020 20:54:55 +0000 (04:54 +0800)]
Fix chart resizing issue (#7297) (#7298)
Fix chart resizing issue
Jukka Kurkela [Mon, 25 May 2020 20:54:22 +0000 (23:54 +0300)]
Rename dist/Chart* to dist/chart* (#7416)
* Rename dist/Chart* to dist/chart*
* Add a note to migration docs
* Review update
Evert Timberg [Sun, 24 May 2020 14:28:41 +0000 (10:28 -0400)]
Legend onClick callback supports arrow functions (#7410)
#7409 Legend callbacks support arrow functions
The `Legend` is no longer implicitly found through `this` and instead
passed as an explicit argument to the callback functions.
Ben McCann [Fri, 22 May 2020 21:32:15 +0000 (14:32 -0700)]
Docs: fix z-index default (#7405)
Jukka Kurkela [Thu, 21 May 2020 21:11:46 +0000 (00:11 +0300)]
Use full URL for TypeDocs (#7380)
Use full URL for TypeDocs
Jukka Kurkela [Thu, 21 May 2020 21:07:06 +0000 (00:07 +0300)]
Move font* to font.* (#7383)
Jukka Kurkela [Thu, 21 May 2020 20:44:49 +0000 (23:44 +0300)]
Remove default export from controllers/index (#7388)
Remove default export from controllers/index
Jukka Kurkela [Thu, 21 May 2020 20:43:36 +0000 (23:43 +0300)]
Small update to animation documentation (#7384)
Update animation documentation to include samples
Samuel Gratzl [Thu, 21 May 2020 20:41:56 +0000 (22:41 +0200)]
use direct imports instead of generic helpers import (#7385)
Split all helper functions in different files and import them directly where used
Jukka Kurkela [Thu, 21 May 2020 20:37:37 +0000 (23:37 +0300)]
Remove default export from plugins/index (#7389)
Jukka Kurkela [Thu, 21 May 2020 20:37:10 +0000 (23:37 +0300)]
Add index to core (#7390)
Jukka Kurkela [Thu, 21 May 2020 20:36:06 +0000 (23:36 +0300)]
Rename platform/platform to index removing default (#7391)
Rename platform/platform to index removing default
Jukka Kurkela [Thu, 21 May 2020 20:35:03 +0000 (23:35 +0300)]
Run tests in series to avoid timeouts (#7392)
Jukka Kurkela [Wed, 20 May 2020 21:45:44 +0000 (00:45 +0300)]
Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
Jukka Kurkela [Wed, 20 May 2020 21:40:42 +0000 (00:40 +0300)]
Preserve object prototypes when cloning (#7381)
Jukka Kurkela [Tue, 19 May 2020 21:58:53 +0000 (00:58 +0300)]
Detect data modifications with equal values (#7350)
Fix data shift-push with identical values
Ben McCann [Tue, 19 May 2020 21:58:16 +0000 (14:58 -0700)]
Add a JSDoc for _dataCheck (#7377)
Ben McCann [Tue, 19 May 2020 14:28:27 +0000 (07:28 -0700)]
Upgrade Docusaurus to alpha.55 (#7376)
Ben McCann [Tue, 19 May 2020 14:28:16 +0000 (07:28 -0700)]
Use correct index when resolving bubble options (#7375)
Ben McCann [Mon, 18 May 2020 13:49:07 +0000 (06:49 -0700)]
Better organize calls in main controller (#7345)
Ben McCann [Mon, 18 May 2020 13:48:44 +0000 (06:48 -0700)]
Fix broken links to contributor's guide (#7348)
Closes https://github.com/chartjs/Chart.js/issues/7347
Ben McCann [Mon, 18 May 2020 13:48:21 +0000 (06:48 -0700)]
Upgrade dependencies (#7352)
Jukka Kurkela [Fri, 15 May 2020 21:17:59 +0000 (00:17 +0300)]
Use @rollup/plugin-inject for ResizeObserver poly (#7360)
Ben McCann [Fri, 15 May 2020 21:16:04 +0000 (14:16 -0700)]
Developer migration documentation (#7358)
* Update the developer guide intro page
* Expand developer migration documentation
Evert Timberg [Wed, 13 May 2020 20:53:42 +0000 (16:53 -0400)]
When the container padding is an empty string, handle it as 0px (#7349)
Ben McCann [Tue, 12 May 2020 20:44:40 +0000 (13:44 -0700)]
Add a scale.init method (#7346)
Ben McCann [Tue, 12 May 2020 20:43:00 +0000 (13:43 -0700)]
Add Algolia to docs (#7329)
Ben McCann [Tue, 12 May 2020 20:42:48 +0000 (13:42 -0700)]
Remove unused bar property and confusing docs referring to it (#7333)
Ben McCann [Tue, 12 May 2020 20:42:26 +0000 (13:42 -0700)]
Document the removal of deprecated properties (#7334)
Ben McCann [Fri, 8 May 2020 15:09:37 +0000 (08:09 -0700)]
Update the contributing guide for Docusaurus (#7327)
Ben McCann [Fri, 8 May 2020 13:46:07 +0000 (06:46 -0700)]
Upgrade dependencies (#7317)
Ben McCann [Fri, 8 May 2020 13:45:12 +0000 (06:45 -0700)]
Improve Docusaurus URLs (#7315)
Ben McCann [Fri, 8 May 2020 13:44:52 +0000 (06:44 -0700)]
Remove old docs from gitignore (#7314)
Ben McCann [Tue, 5 May 2020 19:19:57 +0000 (12:19 -0700)]
Migrate from GitBook to Docusaurus (#7295)
Migrate from GitBook to Docusaurus
Ben McCann [Tue, 28 Apr 2020 21:34:49 +0000 (14:34 -0700)]
Finish removing bower (#7294)
Evert Timberg [Tue, 28 Apr 2020 01:53:53 +0000 (21:53 -0400)]
Check for destroyed charts when handling throttled DOM events (#7293)
Co-authored-by: Evert Timberg <etimberg@opusonesolutions.com>
Ben McCann [Mon, 27 Apr 2020 20:25:02 +0000 (13:25 -0700)]
Make br tags self-closing (#7275)
Ben McCann [Mon, 27 Apr 2020 20:24:46 +0000 (13:24 -0700)]
Clarify that API docs are generated by TypeDoc (#7274)
Clarifying to answer the question asked in https://github.com/chartjs/Chart.js/issues/6598#issuecomment-
613879766
Jukka Kurkela [Mon, 13 Apr 2020 23:34:18 +0000 (02:34 +0300)]
Support isoWeekday when rounding (#7269)
Jukka Kurkela [Mon, 13 Apr 2020 23:33:15 +0000 (02:33 +0300)]
Fix couple of small issues (#7268)
Ben McCann [Sat, 11 Apr 2020 12:46:33 +0000 (05:46 -0700)]
Remove unused layouts.defaults (#7264)
* Remove unused layouts.defaults
* Add to migration guide
Mohamed Nainar [Fri, 10 Apr 2020 21:56:45 +0000 (03:26 +0530)]
Remove bower (#7265)
Tim Gates [Fri, 10 Apr 2020 00:46:41 +0000 (10:46 +1000)]
docs: Fix simple typo, layed -> laid (#7263)
There is a small typo in src/core/core.layouts.js, src/core/core.plugins.js.
Should read `laid` rather than `layed`.
Ben McCann [Fri, 3 Apr 2020 22:12:34 +0000 (15:12 -0700)]
Fix overlapping ticks on log scale (#7242)
Enio [Thu, 2 Apr 2020 16:02:09 +0000 (13:02 -0300)]
update introduction documentation #7245 (#7247)
Ben McCann [Mon, 30 Mar 2020 21:31:54 +0000 (14:31 -0700)]
Address bar chart performance regression (#7234)
Ben McCann [Sun, 29 Mar 2020 19:02:27 +0000 (12:02 -0700)]
Remove unused method parameter (#7229)