]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
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
Jukka Kurkela [Fri, 19 Feb 2021 22:53:01 +0000 (00:53 +0200)]
Remove core plugin fallbacks to root options (#8462)
* Remove core plugin fallbacks to root options
* Legend font color default fallbacks
Jukka Kurkela [Fri, 19 Feb 2021 16:44:37 +0000 (18:44 +0200)]
Update polar animation tests to less error prone (#8461)
LeeLenaleee [Fri, 19 Feb 2021 16:44:05 +0000 (17:44 +0100)]
Clarify options placement (#8427)
* improve clarity of docs by showing party qualified names in table and place of the namespace above
* add missing line
* remove partial qualified names, made some tables unusable and made it overall bit unclear. Added the namespace above each table
* fix sidebars tabs to spaces
* implement kurkles feedback
LeeLenaleee [Fri, 19 Feb 2021 15:20:40 +0000 (16:20 +0100)]
add clarification about object data structure (#8447)
* add clarification about object data structure
* improved description with feedback
* fix push of wrong file
Jukka Kurkela [Fri, 19 Feb 2021 06:30:39 +0000 (08:30 +0200)]
Update resolver fallback logic (#8456)
Jukka Kurkela [Thu, 18 Feb 2021 23:04:48 +0000 (01:04 +0200)]
Update doughnut animation fixture (#8457)
Evert Timberg [Thu, 18 Feb 2021 22:29:15 +0000 (17:29 -0500)]
Add tests for polarArea chart animations (#8455)
* Add tests for polarArea chart animations
* Remove commented code
Jukka Kurkela [Thu, 18 Feb 2021 17:23:15 +0000 (19:23 +0200)]
Add fixture for bar hide/show animation (#8453)
* Add fixture for bar hide/show animation
* Cleanup
* try using longer times
Jukka Kurkela [Thu, 18 Feb 2021 15:46:51 +0000 (17:46 +0200)]
Revert "Run compressed Size action on pull_request_target (#8440)" (#8454)
This reverts commit
7e6a711875fdf1416b021135f1257e1f4298cb9a.
Jukka Kurkela [Thu, 18 Feb 2021 15:04:46 +0000 (17:04 +0200)]
Add support for common object methods to Proxies (#8452)
Jukka Kurkela [Thu, 18 Feb 2021 13:17:39 +0000 (15:17 +0200)]
Add markdown linting, fix errors (#8449)
Jukka Kurkela [Wed, 17 Feb 2021 20:42:38 +0000 (22:42 +0200)]
Add test for default doughnut animations (#8446)
Jukka Kurkela [Wed, 17 Feb 2021 20:29:12 +0000 (22:29 +0200)]
Fix controller specific animations (#8444)
Jukka Kurkela [Wed, 17 Feb 2021 13:11:40 +0000 (15:11 +0200)]
Update .editorconfig and fix conf indents (#8442)
Jukka Kurkela [Tue, 16 Feb 2021 21:42:07 +0000 (23:42 +0200)]
Fix couple of animation bugs (#8439)
Jukka Kurkela [Tue, 16 Feb 2021 21:41:41 +0000 (23:41 +0200)]
Run compressed Size action on pull_request_target (#8440)
Jukka Kurkela [Tue, 16 Feb 2021 15:26:22 +0000 (17:26 +0200)]
Fix memory leak on destroy (#8438)
Jukka Kurkela [Tue, 16 Feb 2021 13:43:11 +0000 (15:43 +0200)]
perf: resolver caching (#8435)
* perf: resolver caching
* Fix plugin caching
* resetCache
* Reduce duplication, cache only by keys cached
* Reduce lines
* reduce more lines
* Double plural, noop-caching of chart level options
Jukka Kurkela [Tue, 16 Feb 2021 13:30:40 +0000 (15:30 +0200)]
Round canvas size to 0.1px resolution (#8437)
* Round canvas size to 0.1px resolution
* Types + docs
* typofix
Evert Timberg [Mon, 15 Feb 2021 23:32:03 +0000 (18:32 -0500)]
Add a note about hover options (#8436)
Jukka Kurkela [Mon, 15 Feb 2021 21:15:58 +0000 (23:15 +0200)]
perf: resolveObjectKey (#8434)
* perf: resolveObjectKey
* Fix tests
* prevent string construction
Evert Timberg [Mon, 15 Feb 2021 20:25:10 +0000 (15:25 -0500)]
Remove unused typedoc option that is deprecated (#8433)
* Remove unused typedoc option that is deprecated
* Improved filtering for top level file changes
Jukka Kurkela [Mon, 15 Feb 2021 20:06:37 +0000 (22:06 +0200)]
Make Chart static properties and methods read only (#8431)
Evert Timberg [Mon, 15 Feb 2021 20:06:21 +0000 (15:06 -0500)]
Update typedoc to fix dependabot alert (#8432)