]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
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>
Jukka Kurkela [Wed, 24 Feb 2021 23:13:51 +0000 (01:13 +0200)]
Remove unused getRingIndex from Doughnut (#8521)
Jukka Kurkela [Wed, 24 Feb 2021 22:31:17 +0000 (00:31 +0200)]
Fix stacking bug when a dataset is removed (#8520)
Jukka Kurkela [Wed, 24 Feb 2021 21:58:01 +0000 (23:58 +0200)]
Rename cutoutPercentage to cutout + chores (#8514)
Jukka Kurkela [Wed, 24 Feb 2021 21:34:29 +0000 (23:34 +0200)]
Config is no longer updated by options setter (#8516)
Jukka Kurkela [Wed, 24 Feb 2021 21:28:18 +0000 (23:28 +0200)]
Reduce duplication in PointElement (#8517)
Jukka Kurkela [Wed, 24 Feb 2021 21:27:11 +0000 (23:27 +0200)]
Fix layout bug when there are no visible boxes (#8507)
Jukka Kurkela [Wed, 24 Feb 2021 19:33:07 +0000 (21:33 +0200)]
Remove unreachable code paths from plugins (#8513)
Jukka Kurkela [Wed, 24 Feb 2021 19:32:54 +0000 (21:32 +0200)]
Remove debug option from animation (#8512)
* Remove debug option from animation
* Add converage for visible animation
* Update visible animation fn
Jukka Kurkela [Tue, 23 Feb 2021 23:40:57 +0000 (01:40 +0200)]
Add resizeDelay option (#8509)
* Add resizeDelay option
* Extract helper
Jukka Kurkela [Tue, 23 Feb 2021 20:31:43 +0000 (22:31 +0200)]
Time scale: skip invalid data (#8508)
Jacco van den Berg [Tue, 23 Feb 2021 20:30:57 +0000 (21:30 +0100)]
data type is correct for all chart types (#8504)
* data type is correct for all chart types
* implement feedback
Jukka Kurkela [Tue, 23 Feb 2021 17:46:31 +0000 (19:46 +0200)]
Fix set/delete oprations on Proxies (#8506)
Jukka Kurkela [Tue, 23 Feb 2021 16:41:00 +0000 (18:41 +0200)]
Add linting of type tests (.ts) + fix errors (#8505)
Jukka Kurkela [Tue, 23 Feb 2021 15:54:42 +0000 (17:54 +0200)]
Plugin options default scriptable/indexable=false (#8497)
* Plugin options default scriptable/indexable=false
* Update test
* Inherti desciptors
* Remove unreachable code
* remove unintentional change
* remove double default
Ben McCann [Tue, 23 Feb 2021 11:59:50 +0000 (03:59 -0800)]
Perf docs: tension is now 0 by default (#8500)
Jacco van den Berg [Tue, 23 Feb 2021 11:58:53 +0000 (12:58 +0100)]
update borderskipped typing (#8503)
Evert Timberg [Mon, 22 Feb 2021 17:55:26 +0000 (12:55 -0500)]
Document stacked parse data (#8491)
Jukka Kurkela [Mon, 22 Feb 2021 13:53:13 +0000 (15:53 +0200)]
Add linting of .mdx files + fix errors (#8496)
Jacco van den Berg [Mon, 22 Feb 2021 13:52:57 +0000 (14:52 +0100)]
Sample plugin in docs for canvas background (#8492)
* color done
* add example inline plugins for background image and color
* add link to css background
* improve text bit
* fix build error
* implement kurkles feedback
* fix indenting tab -> spaces
Evert Timberg [Mon, 22 Feb 2021 06:30:25 +0000 (01:30 -0500)]
Merge tooltip padding settings (#8493)
Jukka Kurkela [Sun, 21 Feb 2021 22:30:37 +0000 (00:30 +0200)]
Add outerRadius option to doughnut/pie (#8487)
Evert Timberg [Sun, 21 Feb 2021 21:25:03 +0000 (16:25 -0500)]
Document the `fullSize` property of the title plugin (#8488)
Jukka Kurkela [Sun, 21 Feb 2021 20:43:31 +0000 (22:43 +0200)]
Only consider visible vertical boxes in layout (#8483)
Jukka Kurkela [Sun, 21 Feb 2021 19:27:14 +0000 (21:27 +0200)]
Fix ticks.mirror (#8482)
Evert Timberg [Sun, 21 Feb 2021 18:10:19 +0000 (13:10 -0500)]
Provide a chart-type specific definition for ParsedData (#8480)
* Provide a chart-type specific definition for ParsedData
* Fix lint error
* Code review feedback
Jukka Kurkela [Sun, 21 Feb 2021 17:53:06 +0000 (19:53 +0200)]
Update chartjs-test-utils to v0.2.2 (#8479)
Jukka Kurkela [Sun, 21 Feb 2021 17:47:12 +0000 (19:47 +0200)]
Quote globs for equal operation in windows/linux (#8481)
Kashif Shamaz [Sun, 21 Feb 2021 16:17:01 +0000 (21:47 +0530)]
Added 'hidden: boolean' to ControllerDatasetOptions type and documented the field's usage in Dataset configuration section (#8478)
Jacco van den Berg [Sun, 21 Feb 2021 14:16:11 +0000 (15:16 +0100)]
Update index.esm.d.ts (#8472)
* Update index.esm.d.ts
tickValue is to my knowledge always a number or a string so this will make it so people wont have to parse it themselfs
* Update core.scale.js
Update typedef according to types update
Evert Timberg [Sun, 21 Feb 2021 14:15:45 +0000 (09:15 -0500)]
LTTB Decimation (#8468)
* LTTB Decimation
* Lint fixes
Jukka Kurkela [Sun, 21 Feb 2021 14:15:26 +0000 (16:15 +0200)]
Fix animation types, add test (#8476)
Jukka Kurkela [Sun, 21 Feb 2021 14:14:17 +0000 (16:14 +0200)]
Update dependencies (#8474)
Jukka Kurkela [Sun, 21 Feb 2021 14:13:16 +0000 (16:13 +0200)]
Stop defaulting to `r` axis for Scale with id `r` (#8477)
Evert Timberg [Sat, 20 Feb 2021 20:01:21 +0000 (15:01 -0500)]
Decimation plugin fixes (#8467)
* fix: Decimation plugin no longer changes the data order
fix: Decimation plugin no longer duplicates data points
* Use nullOrUndef helper instead of direct check
* Compute averageX value when decimating data using minMax decimation
* Place last point of interval at real X
This reduces the fuzziness on screens with devicePixelRatio > 1
Jukka Kurkela [Sat, 20 Feb 2021 18:56:50 +0000 (20:56 +0200)]
Stop reading fixedStepSize from tick options (#8466)
Jukka Kurkela [Sat, 20 Feb 2021 18:06:40 +0000 (20:06 +0200)]
Disable fastPathSegment when data is decimated (#8465)
Jukka Kurkela [Sat, 20 Feb 2021 17:30:13 +0000 (19:30 +0200)]
Only use Path2D caching when available (#8464)
* Only use Path2D caching when available
* Try to make CC happy
Jukka Kurkela [Sat, 20 Feb 2021 15:03:55 +0000 (17:03 +0200)]
Bump version to 3.0.0-beta.11 (#8441)
Co-authored-by: Evert Timberg <evert.timberg+github@gmail.com>
Jukka Kurkela [Sat, 20 Feb 2021 14:02:22 +0000 (16:02 +0200)]
Isolate properties / modes from animation options (#8332)
* Isolate properties / modes from animation options
* tabs, something wrong with the linter
* Update misleading variable name
Jacco van den Berg [Sat, 20 Feb 2021 13:16:57 +0000 (14:16 +0100)]
Fix broken links (#8463)
Jacco van den Berg [Fri, 19 Feb 2021 22:57:59 +0000 (23:57 +0100)]
Fix/getRelativePosition NaN value with native event (#8459)
* fix bug where onClick value returned NaN because originalEvent does not exist
* add test for this behaviour
* test to async