]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Evert Timberg [Sun, 6 Sep 2020 13:46:41 +0000 (09:46 -0400)]
Update pull request template contributing docs link (#7765)
Jukka Kurkela [Fri, 4 Sep 2020 20:49:38 +0000 (23:49 +0300)]
Cache Intl.NumberFormat instances (#7755)
* Update dependencies
* Cache Intl.NumberFormat instances
Jukka Kurkela [Fri, 4 Sep 2020 20:47:36 +0000 (23:47 +0300)]
Fix: update chart when attached (#7758)
Jukka Kurkela [Fri, 4 Sep 2020 20:47:08 +0000 (23:47 +0300)]
Fix the parameter order of before/afterEvent (#7757)
Jukka Kurkela [Fri, 4 Sep 2020 20:46:44 +0000 (23:46 +0300)]
Remove duplicate code, clearer parameter names (#7756)
Jukka Kurkela [Thu, 3 Sep 2020 15:45:57 +0000 (18:45 +0300)]
Chart.register instead of Chart.plugins.register (#7753)
Samuel Gratzl [Wed, 2 Sep 2020 12:10:19 +0000 (14:10 +0200)]
Fix Invalid Typescript Types (#7748)
Jukka Kurkela [Wed, 2 Sep 2020 12:09:39 +0000 (15:09 +0300)]
Reduce code duplication and sort generated ticks (#7747)
* Reduce code duplication and sort generated ticks
* Add test
Jukka Kurkela [Mon, 31 Aug 2020 12:39:26 +0000 (15:39 +0300)]
Bump version for beta release of v3 (#7743)
* Bump version for beta release of v3
* What is it with the http://
Jukka Kurkela [Mon, 31 Aug 2020 11:57:06 +0000 (14:57 +0300)]
Color the scales of multi-axis scatter sample (#7741)
Jukka Kurkela [Thu, 27 Aug 2020 13:14:08 +0000 (16:14 +0300)]
Fix shared option handling (#7731)
Fix shared option handling
Jukka Kurkela [Tue, 25 Aug 2020 12:16:33 +0000 (15:16 +0300)]
Refer to master documentation for Contributing (#7733)
Jukka Kurkela [Tue, 25 Aug 2020 12:04:06 +0000 (15:04 +0300)]
Use offsetX/Y or layerX/Y for events when available (#7732)
* Use offsetX/offsetY for events when available
* Fall to layerX/layerY for FF compatibility
Jukka Kurkela [Mon, 24 Aug 2020 12:15:56 +0000 (15:15 +0300)]
Revert "Preserve object prototypes when cloning (#7381)" (#7727)
This reverts commit
51be3447170fc648c3b5bc3002c963be62bccdf9 .
Pavel [Sat, 22 Aug 2020 16:25:28 +0000 (12:25 -0400)]
Document .getElementsAtXAxis(e) (#7718)
Preventing pain for people with a specific use case.
Jukka Kurkela [Wed, 19 Aug 2020 11:08:41 +0000 (14:08 +0300)]
Resize on devicePixelRatio changes (#7717)
* Resize on devicePixelRatio changes
Samuel Gratzl [Wed, 19 Aug 2020 11:01:14 +0000 (13:01 +0200)]
small type fixes (#7715)
Jukka Kurkela [Mon, 17 Aug 2020 14:03:15 +0000 (17:03 +0300)]
Improve test coverage and fix minor issues found (#7713)
* Registry
* Element
* Animation
* Animations
* Animator
Jukka Kurkela [Sun, 16 Aug 2020 15:18:46 +0000 (18:18 +0300)]
Use interpolation in fill: 'stack' (and fix interpolation) (#7711)
* Add tests and fix _boundSegment
* Use interpolate for finding points below
* Remove _refPoints logic (getTarget in draw)
Jukka Kurkela [Sat, 15 Aug 2020 21:06:03 +0000 (00:06 +0300)]
Make sure bezier control points are updated (#7710)
* Make sure bezier control points are updated
* Test
Jukka Kurkela [Fri, 14 Aug 2020 13:15:18 +0000 (16:15 +0300)]
Stop bundling specs for improved coverage (#7709)
Evert Timberg [Tue, 11 Aug 2020 21:11:57 +0000 (17:11 -0400)]
Doughnut controller overrides (#7702)
Jukka Kurkela [Tue, 11 Aug 2020 13:31:18 +0000 (16:31 +0300)]
'stack' mode for filler (#7705)
'stack' mode for filler
Jukka Kurkela [Wed, 5 Aug 2020 11:35:28 +0000 (14:35 +0300)]
Add offset option for arc (#7691)
* Add offset option for arc
* Finishing touches
Samuel Gratzl [Tue, 4 Aug 2020 20:52:57 +0000 (22:52 +0200)]
WIP: TypeScript types (#7668)
First version of types
Jukka Kurkela [Mon, 3 Aug 2020 16:33:41 +0000 (19:33 +0300)]
Export extensible classes in ESM compatible way (#7650)
* Export extensible classes in ESM compatible way
* Export collection helperrs
* Remove reduntant registry assignment
Jukka Kurkela [Mon, 3 Aug 2020 16:33:21 +0000 (19:33 +0300)]
Include `Chart.defaults` always (#7686)
Jukka Kurkela [Mon, 3 Aug 2020 16:32:58 +0000 (19:32 +0300)]
Resolve fonts through options.font (#7674)
* Resolve fonts through options.font
* Remove defaultRoutes from Tooltip fonts
stockiNail [Fri, 31 Jul 2020 13:49:17 +0000 (15:49 +0200)]
Add some additional info and sections to animation documentation (#7685)
stockiNail [Tue, 28 Jul 2020 21:24:55 +0000 (23:24 +0200)]
fixed default of tension property of line element (#7677)
Jukka Kurkela [Sun, 26 Jul 2020 14:23:12 +0000 (17:23 +0300)]
Fix casing of dist files in docs (#7670)
Jukka Kurkela [Wed, 22 Jul 2020 17:00:43 +0000 (20:00 +0300)]
Live demo in getting-started page (#7659)
* Output docs directly to dist
* Live demo in getting-started page
Ben McCann [Tue, 21 Jul 2020 21:50:18 +0000 (14:50 -0700)]
Docs: chart should live in own container (#7658)
Ben McCann [Mon, 20 Jul 2020 19:54:46 +0000 (12:54 -0700)]
Fix import statement in docs (#7653)
Evert Timberg [Sun, 19 Jul 2020 16:52:59 +0000 (12:52 -0400)]
Do not use line defaults in legend (#7649)
dependabot[bot] [Fri, 17 Jul 2020 20:48:51 +0000 (16:48 -0400)]
Bump lodash from 4.17.15 to 4.17.19 (#7645)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Evert Timberg [Fri, 17 Jul 2020 20:41:27 +0000 (16:41 -0400)]
Bump package version in preparation for alpha2 release (#7586)
* Bump package version in preparation for alpha2 release
* Bump lockfile as well
* Mark build as pre-release
Jukka Kurkela [Fri, 17 Jul 2020 20:24:06 +0000 (23:24 +0300)]
Update spanGaps docs (#7643)
Jukka Kurkela [Fri, 17 Jul 2020 17:29:43 +0000 (20:29 +0300)]
minBarLength at base going both ways (#7642)
Ben McCann [Fri, 17 Jul 2020 13:19:20 +0000 (06:19 -0700)]
Fix tooltip in financial sample (#7638)
Ben McCann [Fri, 17 Jul 2020 11:53:40 +0000 (04:53 -0700)]
Determine unit automatically in test (#7637)
Ben McCann [Thu, 16 Jul 2020 22:47:40 +0000 (15:47 -0700)]
Add test fixture for financial sample (#7635)
Add test fixture for financial sample
Jukka Kurkela [Thu, 16 Jul 2020 17:31:11 +0000 (20:31 +0300)]
FloatBar: update range only for value scale (#7634)
Jukka Kurkela [Thu, 16 Jul 2020 17:30:07 +0000 (20:30 +0300)]
Animation events sanity (#7629)
stockiNail [Thu, 16 Jul 2020 17:29:13 +0000 (19:29 +0200)]
Removes the line hegiht property from title documentation (#7631)
Jukka Kurkela [Thu, 16 Jul 2020 17:28:12 +0000 (20:28 +0300)]
Fix remaining issues in samples (#7625)
* Fix remaining issues in samples
* Update migration guide
* Use element instead
* Update tooltip.md
Jukka Kurkela [Wed, 15 Jul 2020 22:13:10 +0000 (01:13 +0300)]
Leftover defaults (#7628)
* Remove leftover placeholders from defaults
* Add migration note about moved plugin defaults
Jukka Kurkela [Wed, 15 Jul 2020 22:12:32 +0000 (01:12 +0300)]
Fix category scale tick placement with autoSkip (#7622)
Jukka Kurkela [Wed, 15 Jul 2020 22:12:15 +0000 (01:12 +0300)]
Align axes documentation with the changes (#7624)
Jukka Kurkela [Wed, 15 Jul 2020 22:11:56 +0000 (01:11 +0300)]
Move register/unregister to core.controller (#7626)
Jukka Kurkela [Wed, 15 Jul 2020 22:11:16 +0000 (01:11 +0300)]
Fix links to fonts.md (#7623)
Ben McCann [Wed, 15 Jul 2020 11:52:59 +0000 (04:52 -0700)]
Move registration migration guide to user migration section (#7620)
Ben McCann [Tue, 14 Jul 2020 21:40:32 +0000 (14:40 -0700)]
Tooltip: add dataPoint and rename value to formattedValue (#7618)
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
Jukka Kurkela [Mon, 13 Jul 2020 21:43:30 +0000 (00:43 +0300)]
Registry fixes (#7617)
* Fix documentation for classical extensions
* Tests and fixes for registry
Jukka Kurkela [Mon, 13 Jul 2020 17:20:05 +0000 (20:20 +0300)]
Line hide (#7612)
* Add support for description in fixtures
* Update datasetController to draw active(s) last
* Handle hiding of line by borderWidth
* Disable filling of scatter charts by default
* Make radar chart consistent with line
Jukka Kurkela [Mon, 13 Jul 2020 13:41:42 +0000 (16:41 +0300)]
Registry bugs (#7608)
* Stop failing early when no scales are registered
* Move filler defaults
* Move legend defaults
* Remove legendHitBoxes from title
* Move @kurkle/color to devDependencies
Jukka Kurkela [Sun, 12 Jul 2020 22:28:39 +0000 (01:28 +0300)]
Update charts.md (#7609)
Ben McCann [Sun, 12 Jul 2020 22:26:13 +0000 (15:26 -0700)]
Align the tooltip callbacks parameters with scriptable options (#7603)
Align the tooltip callbacks parameters with scriptable options
Ben McCann [Sun, 12 Jul 2020 11:52:57 +0000 (04:52 -0700)]
Fix errors in custom tooltip samples (#7595)
Jukka Kurkela [Sat, 11 Jul 2020 22:08:45 +0000 (01:08 +0300)]
PluginService using registry (#7590)
PluginService using registry
stockiNail [Wed, 8 Jul 2020 21:17:53 +0000 (23:17 +0200)]
Tooltip Model documentation sounds not correct (#7592)
Tooltip Model documentation sounds not correct
Fixed #7591
Ben McCann [Tue, 7 Jul 2020 11:50:53 +0000 (04:50 -0700)]
Add normalized option (#7538)
Add normalized option to time scales
Jukka Kurkela [Mon, 6 Jul 2020 21:38:04 +0000 (00:38 +0300)]
Generic registry for controllers, scales, elements and plugins (#7435)
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
Ben McCann [Mon, 6 Jul 2020 13:35:30 +0000 (06:35 -0700)]
Remove duplicate tests (#7568)
Ben McCann [Mon, 6 Jul 2020 13:35:16 +0000 (06:35 -0700)]
Enable autoSkip for time scale to match others (#7570)
Ben McCann [Mon, 6 Jul 2020 13:34:56 +0000 (06:34 -0700)]
Fix padding for labels (#7572)
Ben McCann [Mon, 6 Jul 2020 13:34:43 +0000 (06:34 -0700)]
Use all timestamps for calculating offsets (#7573)
Ben McCann [Mon, 6 Jul 2020 13:34:06 +0000 (06:34 -0700)]
Pass context parameter to custom tooltip (#7579)
stockiNail [Sun, 5 Jul 2020 12:07:39 +0000 (14:07 +0200)]
The hover* options of bar chart doc page change as scriptable (#7584)
In the bar chart, the `hoverBackgroundColor`, `hoverBorderColor and `hoverBorderWidth` options are scriptable.
In the previous version (2.9.3) they weren't documented as scriptable but they are.
JohnMHoyt24 [Wed, 1 Jul 2020 20:05:08 +0000 (16:05 -0400)]
Grammar updates to the description on the homepage (#7581)
Evert Timberg [Mon, 29 Jun 2020 11:55:09 +0000 (07:55 -0400)]
Fix tooltip caret border when caret is on right or bottom (#7565)
* Fix tooltip caret border when caret is on right or bottom
* Lint fixes
* Code review feedback
Ben McCann [Mon, 29 Jun 2020 11:53:29 +0000 (04:53 -0700)]
Update time scale docs to be Moment agnostic (#7558)
* Update time scale docs to be Moment agnostic
* Address code review comments
Ben McCann [Mon, 29 Jun 2020 11:52:28 +0000 (04:52 -0700)]
Generate ticks from small to large (#7559)
* Generate ticks from small to large
* Add note to migration guide
Ben McCann [Mon, 29 Jun 2020 11:51:20 +0000 (04:51 -0700)]
Add parameters to tooltip filter option (#7556)
Ben McCann [Mon, 29 Jun 2020 11:51:05 +0000 (04:51 -0700)]
Fix financial sample (#7552)
* Fix financial sample
* Fix major unit determination by copying code from chartjs-chart-financial
Ben McCann [Mon, 29 Jun 2020 11:50:35 +0000 (04:50 -0700)]
Fix typo in sample (#7557)
Ben McCann [Mon, 29 Jun 2020 11:50:10 +0000 (04:50 -0700)]
Remove "for bugs" from bug issue template (#7562)
It's a bit redundant and doesn't add much
Evert Timberg [Thu, 25 Jun 2020 17:51:34 +0000 (13:51 -0400)]
Update tooltip when the display position changes (#7469)
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
Ben McCann [Sun, 21 Jun 2020 12:30:34 +0000 (05:30 -0700)]
Move timeseries fixtures to their own directory (#7536)
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
Ben McCann [Sat, 20 Jun 2020 11:31:04 +0000 (04:31 -0700)]
Mark parameter as optional (#7530)
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