]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
5 years agoESM build, with helpers separated (#7400)
Jukka Kurkela [Tue, 23 Jun 2020 23:02:51 +0000 (02:02 +0300)] 
ESM build, with helpers separated (#7400)

* ESM build, with helpers separated
* Remove umd environment
* Include the chunks in package

5 years agoMove timeseries fixtures to their own directory (#7536)
Ben McCann [Sun, 21 Jun 2020 12:30:34 +0000 (05:30 -0700)] 
Move timeseries fixtures to their own directory (#7536)

5 years agoRemove lookup table from TimeScale (#7532)
Ben McCann [Sat, 20 Jun 2020 20:39:39 +0000 (13:39 -0700)] 
Remove lookup table from TimeScale (#7532)

* Add getDecimalForValue
* Move interpolate to timeseries scale
* Remove getTimestampsForTable from time scale
* Remove parameters from buildLookupTable
* Restore getValueForPixel
* Remove table from time scale

5 years agoMark parameter as optional (#7530)
Ben McCann [Sat, 20 Jun 2020 11:31:04 +0000 (04:31 -0700)] 
Mark parameter as optional (#7530)

5 years agoUpdate the legend object during beforeUpdate (#7528)
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)

5 years agoSplit time scale into time and timeseries (#7525)
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

5 years agoConsistently resolve element options (#7520)
Jukka Kurkela [Thu, 18 Jun 2020 21:44:55 +0000 (00:44 +0300)] 
Consistently resolve element options (#7520)

* Consistently resolve element options
* Add tests

5 years agoRemove babel from tests (#7521)
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

5 years agoTooltip: Provide argument for custom callback (#7522)
Jukka Kurkela [Thu, 18 Jun 2020 21:37:27 +0000 (00:37 +0300)] 
Tooltip: Provide argument for custom callback (#7522)

5 years agoParse from custom properties in data (#7489)
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

5 years agoReplace horizontalBar with indexAxis: 'y' (#7514)
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

5 years agoFix initial animations (#7511)
Jukka Kurkela [Tue, 16 Jun 2020 21:56:42 +0000 (00:56 +0300)] 
Fix initial animations (#7511)

* Fix initial animations

* CC

5 years agoRemove lineHeight property from LegendTitlt (#7508)
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.

5 years agoTurns off interpolation per default (#7386)
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>
5 years agoRelocate array utils to helpers.collection (#7498)
Jukka Kurkela [Fri, 12 Jun 2020 22:02:12 +0000 (01:02 +0300)] 
Relocate array utils to helpers.collection (#7498)

5 years agoUse consistent option context for scales (#7499)
Evert Timberg [Fri, 12 Jun 2020 22:01:48 +0000 (18:01 -0400)] 
Use consistent option context for scales (#7499)

5 years agoRead Title font options from correct place (#7502)
Jukka Kurkela [Fri, 12 Jun 2020 21:58:09 +0000 (00:58 +0300)] 
Read Title font options from correct place (#7502)

5 years agoRemove unused _scaleStacked cache (#7494)
Jukka Kurkela [Fri, 12 Jun 2020 21:55:51 +0000 (00:55 +0300)] 
Remove unused _scaleStacked cache (#7494)

5 years agoReplace ineffective test with a fixture (#7491)
Jukka Kurkela [Thu, 11 Jun 2020 22:21:10 +0000 (01:21 +0300)] 
Replace ineffective test with a fixture (#7491)

5 years agoFix measureText bug in spriting (#7492)
Jukka Kurkela [Thu, 11 Jun 2020 12:50:17 +0000 (15:50 +0300)] 
Fix measureText bug in spriting (#7492)

5 years agoRadial scale scriptable options (#7471)
Evert Timberg [Thu, 11 Jun 2020 12:49:54 +0000 (08:49 -0400)] 
Radial scale scriptable options (#7471)

Scriptable radialLinear options

5 years agoUpdate horizontal bar chart default tooltip mode (#7488)
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

5 years agoUpdate packages (#7486)
Jukka Kurkela [Tue, 9 Jun 2020 21:16:03 +0000 (00:16 +0300)] 
Update packages (#7486)

5 years agoFix link to animations docs (#7484)
Ben McCann [Tue, 9 Jun 2020 21:15:36 +0000 (14:15 -0700)] 
Fix link to animations docs (#7484)

5 years agoCorrectly determine min/max for Float Bar (#7398)
Jukka Kurkela [Tue, 9 Jun 2020 21:15:05 +0000 (00:15 +0300)] 
Correctly determine min/max for Float Bar (#7398)

5 years agoRestore Set to arrayUnique (#7481)
Jukka Kurkela [Tue, 9 Jun 2020 17:15:06 +0000 (20:15 +0300)] 
Restore Set to arrayUnique (#7481)

5 years agoRemove unused parameter (#7480)
Ben McCann [Tue, 9 Jun 2020 11:51:12 +0000 (04:51 -0700)] 
Remove unused parameter (#7480)

5 years agoRemove data checks and always re-parse data (#7458)
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

5 years agoImplement routing of defaults (#7453)
Jukka Kurkela [Mon, 8 Jun 2020 21:49:17 +0000 (00:49 +0300)] 
Implement routing of defaults (#7453)

Implement routing of defaults

5 years agoDocument the context properties for ticks (#7399)
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

5 years agoRemove lineHeight property from ScaleTitle (#7477)
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

5 years agoBetter formatting of large tick values (#7335)
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

5 years agoCleanup Event Handling code to match style of tooltip plugin. (#7467)
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.

5 years agoDo not show legend in stacked scatter test (#7470)
Evert Timberg [Mon, 8 Jun 2020 11:26:06 +0000 (07:26 -0400)] 
Do not show legend in stacked scatter test (#7470)

5 years agoStacked scatter chart (#7468)
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

5 years agoBabel loose (#7452)
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

5 years agoEnable custom legend box heights (#7459)
Evert Timberg [Thu, 4 Jun 2020 23:53:40 +0000 (19:53 -0400)] 
Enable custom legend box heights (#7459)

Enable custom legend box heights

5 years agoUpdate packages (#7463)
Jukka Kurkela [Thu, 4 Jun 2020 23:51:34 +0000 (02:51 +0300)] 
Update packages (#7463)

5 years agoUse verbose build in dev mode (#7455)
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

5 years agoRadial Linear Scale: Compute Value based on distance from center (#7449)
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

5 years agoIndicate that axis callbacks are at top level of options (#7451)
Evert Timberg [Mon, 1 Jun 2020 12:06:59 +0000 (08:06 -0400)] 
Indicate that axis callbacks are at top level of options (#7451)

5 years agoUpdate doc samples for changed file name (#7447)
Evert Timberg [Sun, 31 May 2020 12:36:42 +0000 (08:36 -0400)] 
Update doc samples for changed file name (#7447)

5 years agoRadar charts should fill to the center by default (#7446)
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

5 years agoMake indexable options looping (#7442)
Jukka Kurkela [Fri, 29 May 2020 20:27:10 +0000 (23:27 +0300)] 
Make indexable options looping (#7442)

* Make indexable options looping
* Migration note

5 years agoRemove unused dependency (#7441)
Ben McCann [Thu, 28 May 2020 21:39:09 +0000 (14:39 -0700)] 
Remove unused dependency (#7441)

5 years agoConsistency: Use lower case for instances (#7436)
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

5 years agoArc: Stop drawing anything when hidden (#7438)
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

5 years agoRemove missing setDataVisibility for documentation (#7437)
Jukka Kurkela [Thu, 28 May 2020 21:33:50 +0000 (00:33 +0300)] 
Remove missing setDataVisibility for documentation (#7437)

5 years agoCleanup resize complexity (#7439)
Jukka Kurkela [Thu, 28 May 2020 21:33:27 +0000 (00:33 +0300)] 
Cleanup resize complexity (#7439)

Cleanup resize complexity

5 years agoClean lint errors from samples by refactoring (#7440)
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

5 years agoUpgrade to Docusaurus alpha.56 (#7432)
Ben McCann [Thu, 28 May 2020 11:37:45 +0000 (04:37 -0700)] 
Upgrade to Docusaurus alpha.56 (#7432)

5 years agoReplace gulp with npm scripts (#7402)
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

5 years agoConsider all timestamps for bar measuring (#7421)
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

5 years agoOnly draw the tooltip if it is defined (#7411)
Evert Timberg [Wed, 27 May 2020 00:03:18 +0000 (20:03 -0400)] 
Only draw the tooltip if it is defined (#7411)

5 years agoRemove proposal and obsolete features (#7425)
Jukka Kurkela [Tue, 26 May 2020 23:16:23 +0000 (02:16 +0300)] 
Remove proposal and obsolete features (#7425)

5 years agoAlter test to require fever iterations (#7426)
Jukka Kurkela [Tue, 26 May 2020 22:10:28 +0000 (01:10 +0300)] 
Alter test to require fever iterations (#7426)

5 years agoDefault aspectRatio to 1 for square charts (#7414)
Evert Timberg [Mon, 25 May 2020 20:55:12 +0000 (16:55 -0400)] 
Default aspectRatio to 1 for square charts (#7414)

5 years agoFix chart resizing issue (#7297) (#7298)
Yiwen Wang [Mon, 25 May 2020 20:54:55 +0000 (04:54 +0800)] 
Fix chart resizing issue (#7297) (#7298)

Fix chart resizing issue

5 years agoRename dist/Chart* to dist/chart* (#7416)
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

5 years agoLegend onClick callback supports arrow functions (#7410)
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.

5 years agoDocs: fix z-index default (#7405)
Ben McCann [Fri, 22 May 2020 21:32:15 +0000 (14:32 -0700)] 
Docs: fix z-index default (#7405)

5 years agoUse full URL for TypeDocs (#7380)
Jukka Kurkela [Thu, 21 May 2020 21:11:46 +0000 (00:11 +0300)] 
Use full URL for TypeDocs (#7380)

Use full URL for TypeDocs

5 years agoMove font* to font.* (#7383)
Jukka Kurkela [Thu, 21 May 2020 21:07:06 +0000 (00:07 +0300)] 
Move font* to font.* (#7383)

5 years agoRemove default export from controllers/index (#7388)
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

5 years agoSmall update to animation documentation (#7384)
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

5 years agouse direct imports instead of generic helpers import (#7385)
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

5 years agoRemove default export from plugins/index (#7389)
Jukka Kurkela [Thu, 21 May 2020 20:37:37 +0000 (23:37 +0300)] 
Remove default export from plugins/index (#7389)

5 years agoAdd index to core (#7390)
Jukka Kurkela [Thu, 21 May 2020 20:37:10 +0000 (23:37 +0300)] 
Add index to core (#7390)

5 years agoRename platform/platform to index removing default (#7391)
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

5 years agoRun tests in series to avoid timeouts (#7392)
Jukka Kurkela [Thu, 21 May 2020 20:35:03 +0000 (23:35 +0300)] 
Run tests in series to avoid timeouts (#7392)

5 years agoDelay animations until attached (#7370)
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

5 years agoPreserve object prototypes when cloning (#7381)
Jukka Kurkela [Wed, 20 May 2020 21:40:42 +0000 (00:40 +0300)] 
Preserve object prototypes when cloning (#7381)

5 years agoDetect data modifications with equal values (#7350)
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

5 years agoAdd a JSDoc for _dataCheck (#7377)
Ben McCann [Tue, 19 May 2020 21:58:16 +0000 (14:58 -0700)] 
Add a JSDoc for _dataCheck (#7377)

5 years agoUpgrade Docusaurus to alpha.55 (#7376)
Ben McCann [Tue, 19 May 2020 14:28:27 +0000 (07:28 -0700)] 
Upgrade Docusaurus to alpha.55 (#7376)

5 years agoUse correct index when resolving bubble options (#7375)
Ben McCann [Tue, 19 May 2020 14:28:16 +0000 (07:28 -0700)] 
Use correct index when resolving bubble options (#7375)

5 years agoBetter organize calls in main controller (#7345)
Ben McCann [Mon, 18 May 2020 13:49:07 +0000 (06:49 -0700)] 
Better organize calls in main controller (#7345)

5 years agoFix broken links to contributor's guide (#7348)
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

5 years agoUpgrade dependencies (#7352)
Ben McCann [Mon, 18 May 2020 13:48:21 +0000 (06:48 -0700)] 
Upgrade dependencies (#7352)

5 years agoUse @rollup/plugin-inject for ResizeObserver poly (#7360)
Jukka Kurkela [Fri, 15 May 2020 21:17:59 +0000 (00:17 +0300)] 
Use @rollup/plugin-inject for ResizeObserver poly (#7360)

5 years agoDeveloper migration documentation (#7358)
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

5 years agoWhen the container padding is an empty string, handle it as 0px (#7349)
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)

5 years agoAdd a scale.init method (#7346)
Ben McCann [Tue, 12 May 2020 20:44:40 +0000 (13:44 -0700)] 
Add a scale.init method (#7346)

5 years agoAdd Algolia to docs (#7329)
Ben McCann [Tue, 12 May 2020 20:43:00 +0000 (13:43 -0700)] 
Add Algolia to docs (#7329)

5 years agoRemove unused bar property and confusing docs referring to it (#7333)
Ben McCann [Tue, 12 May 2020 20:42:48 +0000 (13:42 -0700)] 
Remove unused bar property and confusing docs referring to it (#7333)

5 years agoDocument the removal of deprecated properties (#7334)
Ben McCann [Tue, 12 May 2020 20:42:26 +0000 (13:42 -0700)] 
Document the removal of deprecated properties (#7334)

5 years agoUpdate the contributing guide for Docusaurus (#7327)
Ben McCann [Fri, 8 May 2020 15:09:37 +0000 (08:09 -0700)] 
Update the contributing guide for Docusaurus (#7327)

5 years agoUpgrade dependencies (#7317)
Ben McCann [Fri, 8 May 2020 13:46:07 +0000 (06:46 -0700)] 
Upgrade dependencies (#7317)

5 years agoImprove Docusaurus URLs (#7315)
Ben McCann [Fri, 8 May 2020 13:45:12 +0000 (06:45 -0700)] 
Improve Docusaurus URLs (#7315)

5 years agoRemove old docs from gitignore (#7314)
Ben McCann [Fri, 8 May 2020 13:44:52 +0000 (06:44 -0700)] 
Remove old docs from gitignore (#7314)

5 years agoMigrate from GitBook to Docusaurus (#7295)
Ben McCann [Tue, 5 May 2020 19:19:57 +0000 (12:19 -0700)] 
Migrate from GitBook to Docusaurus (#7295)

Migrate from GitBook to Docusaurus

5 years agoFinish removing bower (#7294)
Ben McCann [Tue, 28 Apr 2020 21:34:49 +0000 (14:34 -0700)] 
Finish removing bower (#7294)

5 years agoCheck for destroyed charts when handling throttled DOM events (#7293)
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>
5 years agoMake br tags self-closing (#7275)
Ben McCann [Mon, 27 Apr 2020 20:25:02 +0000 (13:25 -0700)] 
Make br tags self-closing (#7275)

5 years agoClarify that API docs are generated by TypeDoc (#7274)
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

5 years agoSupport isoWeekday when rounding (#7269)
Jukka Kurkela [Mon, 13 Apr 2020 23:34:18 +0000 (02:34 +0300)] 
Support isoWeekday when rounding (#7269)

5 years agoFix couple of small issues (#7268)
Jukka Kurkela [Mon, 13 Apr 2020 23:33:15 +0000 (02:33 +0300)] 
Fix couple of small issues (#7268)

5 years agoRemove unused layouts.defaults (#7264)
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

5 years agoRemove bower (#7265)
Mohamed Nainar [Fri, 10 Apr 2020 21:56:45 +0000 (03:26 +0530)] 
Remove bower (#7265)

5 years agodocs: Fix simple typo, layed -> laid (#7263)
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`.