]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jukka Kurkela [Sun, 21 Mar 2021 22:13:50 +0000 (00:13 +0200)]
Move scale defaults to separate file (#8692)
Jukka Kurkela [Sun, 21 Mar 2021 21:07:28 +0000 (23:07 +0200)]
Move autoSkip related functions to separate file (#8691)
Jukka Kurkela [Sun, 21 Mar 2021 21:07:09 +0000 (23:07 +0200)]
Add rollup-plugin-analyzer (#8690)
Jukka Kurkela [Sun, 21 Mar 2021 15:50:28 +0000 (17:50 +0200)]
Add typings for throttled and debounce (#8689)
* Add typings for throttled and debounce
* Review feedback
* args for fn too
* one more
Jukka Kurkela [Sun, 21 Mar 2021 15:27:30 +0000 (17:27 +0200)]
Make sure all helpers are exported (#8688)
Evert Timberg [Sun, 21 Mar 2021 15:15:41 +0000 (11:15 -0400)]
Bump to v3.0.0-rc.2 (#8687)
Jukka Kurkela [Sun, 21 Mar 2021 15:05:20 +0000 (17:05 +0200)]
Generalize toTRBL and toTRBLCorners (#8686)
Jukka Kurkela [Sun, 21 Mar 2021 14:20:05 +0000 (16:20 +0200)]
Modify Scale typing (#8681)
Evert Timberg [Sun, 21 Mar 2021 09:04:27 +0000 (05:04 -0400)]
Expose `formatNumber` as a helper (#8683)
Jukka Kurkela [Fri, 19 Mar 2021 20:09:13 +0000 (22:09 +0200)]
Fix _isPointInArea for undefined point (#8678)
Jukka Kurkela [Fri, 19 Mar 2021 12:02:51 +0000 (14:02 +0200)]
Update external tooltip docs (#8674)
Jacco van den Berg [Fri, 19 Mar 2021 07:09:55 +0000 (08:09 +0100)]
Docs/licence year update (#8671)
* Update license year
* Update docusaurus.config.js
update license year
* Update LICENSE.md
Jukka Kurkela [Thu, 18 Mar 2021 21:28:49 +0000 (23:28 +0200)]
Bumpo version to 3.0.0-rc (#8670)
Evert Timberg [Thu, 18 Mar 2021 21:07:32 +0000 (17:07 -0400)]
Allow changing the aspect ratio (#8659)
* Allow changing the aspect ratio
* Add test and require `resize()` call
* Update to respect maintainAspectRatio
Jukka Kurkela [Thu, 18 Mar 2021 20:34:08 +0000 (22:34 +0200)]
Fix category scale invalid data handling (#8668)
* Fix category scale invalid data handling
* Fix NaN
Jukka Kurkela [Thu, 18 Mar 2021 11:37:03 +0000 (13:37 +0200)]
Add textAlign for legend labels (#8665)
* Add textAlign for legend labels
* Update tests
Jukka Kurkela [Thu, 18 Mar 2021 11:27:37 +0000 (13:27 +0200)]
Fix tooltip padding (#8666)
Jukka Kurkela [Thu, 18 Mar 2021 11:12:43 +0000 (13:12 +0200)]
Re-enable oversized boxes (#8662)
stockiNail [Thu, 18 Mar 2021 07:57:56 +0000 (08:57 +0100)]
Changes defaults in documentation, applied by PR 8657 (#8660)
Jukka Kurkela [Wed, 17 Mar 2021 22:22:21 +0000 (00:22 +0200)]
Update tick positioning (#8657)
* Update tick positioning
* Update tests
coyotte508 [Wed, 17 Mar 2021 14:26:30 +0000 (15:26 +0100)]
Update stacked option's typing (#8656)
Jukka Kurkela [Tue, 16 Mar 2021 21:01:28 +0000 (23:01 +0200)]
Bump version to v3.0.0-beta.14 (#8653)
Jukka Kurkela [Tue, 16 Mar 2021 21:01:13 +0000 (23:01 +0200)]
Update deps (#8654)
Jukka Kurkela [Tue, 16 Mar 2021 20:32:29 +0000 (22:32 +0200)]
Use maxOverflow as minimum layout padding (#8650)
* Use maxOverflow as minimum layout padding
* fixes
Jukka Kurkela [Tue, 16 Mar 2021 12:49:19 +0000 (14:49 +0200)]
Exclude base-line from bar size (#8648)
* Exclude base-line from bar size
* lint
* add to types
Jukka Kurkela [Tue, 16 Mar 2021 12:41:51 +0000 (14:41 +0200)]
Add alignToPixles option for scales (#8649)
Jukka Kurkela [Tue, 16 Mar 2021 12:07:17 +0000 (14:07 +0200)]
Reduce duplication in drawGrid (#8647)
Jukka Kurkela [Tue, 16 Mar 2021 12:06:05 +0000 (14:06 +0200)]
Fix tooltip positioning issues (#8646)
* Fix tooltip positioning issues
* Update fixture, add npm run dev:ff
* Refactor determineXAlign
* Simplify more
* remove unneeded change
Evert Timberg [Mon, 15 Mar 2021 12:49:25 +0000 (08:49 -0400)]
Linear Scale: Ability to specify a fixed number of ticks (#8643)
* Option to specify exact number of ticks on linear scale
* Fix issue description in tests
* Add tests for conditions where min/max do not align with niceMin/niceMax
* Refactor linear tick generation algorithm
* Add TS definitions
* Update docs
* Code review feedback + lint fixes
Jukka Kurkela [Sun, 14 Mar 2021 15:29:54 +0000 (17:29 +0200)]
Allow tooltip callback override in dataset (#8640)
Jukka Kurkela [Sun, 14 Mar 2021 15:27:57 +0000 (17:27 +0200)]
Add option to turn off grouping of bar datasets (#8641)
* Add option to turn off grouping of bar datasets
* Disregard time offset
Jukka Kurkela [Sun, 14 Mar 2021 15:21:30 +0000 (17:21 +0200)]
Add x/y shorthand for padding options (#8637)
38elements [Sun, 14 Mar 2021 15:08:12 +0000 (00:08 +0900)]
Add og:image (#8635)
Jukka Kurkela [Sun, 14 Mar 2021 15:07:39 +0000 (17:07 +0200)]
Loosen the max-statements lint rule for tests (#8638)
Evert Timberg [Sun, 14 Mar 2021 06:22:28 +0000 (01:22 -0500)]
Document the different parts of cartesian and radial scales with examples (#8636)
Evert Timberg [Sun, 14 Mar 2021 06:12:06 +0000 (01:12 -0500)]
Add documentation on how plugin hooks interact with the chart (#8634)
* Add documentation on how plugin hooks interact with the chart
* Add draw.io file for flowcharts
Evert Timberg [Sat, 13 Mar 2021 22:37:43 +0000 (17:37 -0500)]
Radial scale point label backdrop color (#8633)
* Radial scale point label backdrop color
* Update default tests
* backdropPadding is a single setting
* Up the tolerance a bit
* Update tick backdrop padding options
Evert Timberg [Sat, 13 Mar 2021 20:14:48 +0000 (15:14 -0500)]
Use font lineHeight for tooltip alignment (#8631)
* Use font lineHeight for tooltip alignment
* Remove toFontString usage from tooltip
Jukka Kurkela [Sat, 13 Mar 2021 20:11:20 +0000 (22:11 +0200)]
Resize: width > 0, height = 0. Use aspectRatio 2 (#8632)
Jukka Kurkela [Sat, 13 Mar 2021 18:47:21 +0000 (20:47 +0200)]
Radial: min 1/2 of the max radius as chartArea (#8630)
* Radial: min 1/2 of the max radius as chartArea
* Keep fooling TS
Jukka Kurkela [Sat, 13 Mar 2021 18:30:19 +0000 (20:30 +0200)]
Change default autoSkipPadding to 3 (#8629)
Evert Timberg [Sat, 13 Mar 2021 17:49:09 +0000 (12:49 -0500)]
Rename scale `gridLines` options to be clearer (#8628)
* Rename `options.gridLines` to `options.grid`
* Rename `offsetGridLines` to `offset`
Jukka Kurkela [Sat, 13 Mar 2021 16:36:12 +0000 (18:36 +0200)]
Scale: autoSkip before fit (#8627)
Scale: autoSkip now occurs before fit in the update process
Jukka Kurkela [Sat, 13 Mar 2021 13:05:57 +0000 (15:05 +0200)]
Update context documentation (#8626)
Jukka Kurkela [Sat, 13 Mar 2021 13:04:59 +0000 (15:04 +0200)]
Types: fix bubble chart options (#8625)
Jukka Kurkela [Sat, 13 Mar 2021 13:03:45 +0000 (15:03 +0200)]
Remove rollup-plugin-size (vulnerability) (#8624)
Jacco van den Berg [Sat, 13 Mar 2021 12:03:04 +0000 (13:03 +0100)]
Update v3-migration.md (#8622)
Add note in migration guide about ability to use the `auto` register path as a npm module
Jukka Kurkela [Thu, 11 Mar 2021 23:06:55 +0000 (01:06 +0200)]
Fix some animation issues (#8616)
* Fix some animation issues
* Stop animating shared options on reset
* cc
Jukka Kurkela [Thu, 11 Mar 2021 21:25:16 +0000 (23:25 +0200)]
Fix autoSkip (#8619)
* Fix autoSkip
* Add tests
Jukka Kurkela [Thu, 11 Mar 2021 21:20:54 +0000 (23:20 +0200)]
Add rollup-plugin-size and shave couple of bytes (#8618)
* Add rollup-plugin-size
* Shave couple of bytes
Jukka Kurkela [Thu, 11 Mar 2021 21:20:07 +0000 (23:20 +0200)]
Clear stacks when data is replaced (#8617)
Ikko Ashimine [Thu, 11 Mar 2021 06:19:33 +0000 (15:19 +0900)]
Fix typo in animations.mdx (#8615)
transtion -> transition
Jukka Kurkela [Wed, 10 Mar 2021 14:32:54 +0000 (16:32 +0200)]
helpers.curve cleanup (#8608)
* helpers.curve cleanup
* Use distanceBetweenPoints
Jukka Kurkela [Wed, 10 Mar 2021 13:18:10 +0000 (15:18 +0200)]
Add backgroundColor for scales (#8606)
* Add backgroundColor for scales
* Loosen the threshold
Jukka Kurkela [Wed, 10 Mar 2021 13:13:04 +0000 (15:13 +0200)]
Disable warning of unused variables in types/tests (#8607)
Ikko Ashimine [Wed, 10 Mar 2021 07:23:05 +0000 (16:23 +0900)]
Fix typo in linear.mdx (#8605)
minumum -> minimum
Jukka Kurkela [Wed, 10 Mar 2021 06:40:22 +0000 (08:40 +0200)]
RadialLinear: add padding option for point labels (#8604)
* RadialLinear: add padding option for point labels
* lint
* only resolve padding once
Jukka Kurkela [Tue, 9 Mar 2021 18:05:41 +0000 (20:05 +0200)]
Fix typo in auto package (#8601)
Jukka Kurkela [Tue, 9 Mar 2021 13:35:43 +0000 (15:35 +0200)]
Scale: refactor drawTitle, add tests (#8598)
* Scale: refactor drawTitle, add tests
* CC, lint
* update
Evert Timberg [Tue, 9 Mar 2021 13:08:50 +0000 (08:08 -0500)]
Update scriptable tooltip context docs (#8599)
Jukka Kurkela [Tue, 9 Mar 2021 13:08:36 +0000 (15:08 +0200)]
scale.category: options.min/max can be index (#8594)
Jukka Kurkela [Mon, 8 Mar 2021 18:36:54 +0000 (20:36 +0200)]
Move startAngle to scale options (#8593)
Evert Timberg [Sun, 7 Mar 2021 21:58:45 +0000 (16:58 -0500)]
Expose radial scale point label positions (#8588)
Jacco van den Berg [Sun, 7 Mar 2021 20:43:31 +0000 (21:43 +0100)]
Update legend.md (#8582)
Noticed from https://github.com/chartjs/Chart.js/issues/6185#issuecomment-
748097030 that there is an option to get the legend in the chart, this was not documented. Only difference I noticed from kurkles screenshot is that the legend now shows in the middle instead of in the top corner.
https://jsfiddle.net/Leelenaleee/wszdv8q0/2/
Jukka Kurkela [Sun, 7 Mar 2021 15:52:31 +0000 (17:52 +0200)]
Add `'single'` mode for stacking (#8586)
* Add `'single'` mode for stacking
* Update fixture
Jukka Kurkela [Sat, 6 Mar 2021 22:18:49 +0000 (00:18 +0200)]
Add `grace` option for linear scale (#8581)
* Add `grace` option for linear scale
* cc
Evert Timberg [Sat, 6 Mar 2021 15:44:15 +0000 (10:44 -0500)]
Bump to 3.0.0-beta.13 (#8580)
Jukka Kurkela [Sat, 6 Mar 2021 15:34:52 +0000 (17:34 +0200)]
Relocate chart type and dataset type defaults (#8563)
* Relocate chart type and dataset type defaults
* Update types
* Separate overrides and descriptors
* Update derived sample, use merge for inherit
* Don't merge overrides
* Review update
Evert Timberg [Sat, 6 Mar 2021 15:18:32 +0000 (10:18 -0500)]
Enable multi-line axis titles (#8579)
Evert Timberg [Sat, 6 Mar 2021 04:22:55 +0000 (23:22 -0500)]
Rename scaleLabel to title in scale options (#8576)
Jukka Kurkela [Fri, 5 Mar 2021 13:10:24 +0000 (15:10 +0200)]
Move niceNum to helpers.math, cleanup IE fallbacks (#8570)
Jukka Kurkela [Fri, 5 Mar 2021 00:48:26 +0000 (02:48 +0200)]
Fix layout refit logic (#8567)
* Fix layout refit logic
* CC
* Update fixture
Jukka Kurkela [Fri, 5 Mar 2021 00:37:46 +0000 (02:37 +0200)]
Linear: Skip ticks that would overlap with min/max (#8569)
Evert Timberg [Thu, 4 Mar 2021 13:25:24 +0000 (08:25 -0500)]
Tooltip specific scriptable context (#8561)
* Update plugin to use it's own tooltip context
* Scriptable tooltip option types
* Tests
* Update types to use UnionToIntersection
* Update TooltipItem to use UnionToIntersection
Jukka Kurkela [Thu, 4 Mar 2021 13:24:52 +0000 (15:24 +0200)]
Use karma-spec-reporter and suppress passed (#8564)
Jukka Kurkela [Tue, 2 Mar 2021 22:00:03 +0000 (00:00 +0200)]
Time: limit offset to sane values, gen >= 2 ticks (#8560)
Jukka Kurkela [Tue, 2 Mar 2021 21:03:08 +0000 (23:03 +0200)]
Remove distribution option from fixtures (#8559)
Jukka Kurkela [Tue, 2 Mar 2021 12:41:17 +0000 (14:41 +0200)]
Types: Update ScriptableContext (#8556)
* Types: Update ScriptableContext
* Add data array type test
Jukka Kurkela [Tue, 2 Mar 2021 12:39:05 +0000 (14:39 +0200)]
Types: Update LayotPosition (#8555)
Jacco van den Berg [Tue, 2 Mar 2021 06:59:10 +0000 (07:59 +0100)]
update defaults in tooltip (#8554)
Jukka Kurkela [Mon, 1 Mar 2021 21:44:14 +0000 (23:44 +0200)]
Add _allKeys descriptor for Object.keys behavior (#8553)
Ben McCann [Mon, 1 Mar 2021 20:27:36 +0000 (12:27 -0800)]
Add test for normalized option (#8552)
Ben McCann [Mon, 1 Mar 2021 20:06:48 +0000 (12:06 -0800)]
Fix normalize when null values at edge of dataset (#8547)
* Fix normalize when null values at edge of dataset
* Fix test with mismatched number of points
Ben McCann [Mon, 1 Mar 2021 20:06:28 +0000 (12:06 -0800)]
Remove empty dependencies block from package.json (#8550)
stockiNail [Mon, 1 Mar 2021 20:06:01 +0000 (21:06 +0100)]
Fixes sample in the doc about missing animations configuration (#8549)
Jukka Kurkela [Mon, 1 Mar 2021 17:19:55 +0000 (19:19 +0200)]
Fix function support on _fallback (#8545)
Jukka Kurkela [Sun, 28 Feb 2021 22:32:56 +0000 (00:32 +0200)]
Resolve to false only when _fallback is used (#8542)
* Resolve to false only when _fallback is used
* Typo
* 2nd part
Evert Timberg [Sun, 28 Feb 2021 21:02:44 +0000 (16:02 -0500)]
Update chart extension docs + add samples (#8540)
* Update docs on chart extensions
* Working sample for derived chart types
* Add derived axis example
* Remove duplicated line
Jukka Kurkela [Sun, 28 Feb 2021 13:49:34 +0000 (15:49 +0200)]
Remove the constantly failing test (#8538)
Jukka Kurkela [Sun, 28 Feb 2021 07:02:44 +0000 (09:02 +0200)]
Provide auto-registering entry point (#8429)
Evert Timberg [Sun, 28 Feb 2021 06:58:07 +0000 (01:58 -0500)]
Options need to include dataset level defaults from main chart type (#8534)
Evert Timberg [Sun, 28 Feb 2021 00:46:58 +0000 (19:46 -0500)]
Clarify interaction docs to indicate they apply to all interactions (#8537)
* Clarify interaction docs to indicate they apply to all interactions
* Update note on modes documentation to indicate interaction options exist
* Fix ytpo
Jukka Kurkela [Sat, 27 Feb 2021 18:30:26 +0000 (20:30 +0200)]
Bump version to beta.12 (#8532)
Jacco van den Berg [Sat, 27 Feb 2021 16:18:12 +0000 (17:18 +0100)]
rename tooltip.custom property to tooltip.external (#8523)
* rename tooltip.custom property to tooltip.external
* Implement feedback
* missed 1
Jukka Kurkela [Fri, 26 Feb 2021 21:29:10 +0000 (23:29 +0200)]
Types: Add couple of tests, move utils to new file (#8526)
Jacco van den Berg [Fri, 26 Feb 2021 19:57:34 +0000 (20:57 +0100)]
Update wording in docs about merging options (#8533)
Jukka Kurkela [Fri, 26 Feb 2021 19:55:43 +0000 (21:55 +0200)]
Fix calling of onResize (#8529)
* Fix calling of onResize
* Try to fix the bugging animation test
* try again
* and the actual fix
* maybe now
Jukka Kurkela [Fri, 26 Feb 2021 00:06:32 +0000 (02:06 +0200)]
Update types so instance can be assigned to a variable of type Chart (#8525)
* Update types
* Remove outdated comments
Jukka Kurkela [Wed, 24 Feb 2021 23:43:37 +0000 (01:43 +0200)]
Clean up easing functions (#8518)
* Clean up easing functions
* Remove leftover comment
Ben McCann [Wed, 24 Feb 2021 23:20:11 +0000 (15:20 -0800)]
Use null for skipped values instead of NaN (#8510)
* Use null for skipped values instead of NaN
* Document skipped values when parsing is false
* Update src/core/core.datasetController.js
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* Update src/core/core.datasetController.js
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* fix lint issue
* use isFinite
* revert change checking for pixel values
* ternary readability
* revert accidental paren movement
* test with parsing: false
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>