Evert Timberg
5c9e1d578c
LTTB Decimation ( #8468 )
...
* LTTB Decimation
* Lint fixes
2021-02-21 09:15:45 -05:00
Jukka Kurkela
def8d25d4b
Fix animation types, add test ( #8476 )
2021-02-21 09:15:26 -05:00
Jukka Kurkela
b87c12e7d6
Update dependencies ( #8474 )
2021-02-21 09:14:17 -05:00
Jukka Kurkela
9b214c08a5
Stop defaulting to r
axis for Scale with id r
( #8477 )
2021-02-21 09:13:16 -05:00
Evert Timberg
709dc3e854
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
2021-02-20 15:01:21 -05:00
Jukka Kurkela
57c8027e7c
Stop reading fixedStepSize from tick options ( #8466 )
2021-02-20 13:56:50 -05:00
Jukka Kurkela
329b826b74
Disable fastPathSegment when data is decimated ( #8465 )
2021-02-20 13:06:40 -05:00
Jukka Kurkela
b467c0d79e
Only use Path2D caching when available ( #8464 )
...
* Only use Path2D caching when available
* Try to make CC happy
2021-02-20 12:30:13 -05:00
Jukka Kurkela
d63542cd70
Bump version to 3.0.0-beta.11 ( #8441 )
...
Co-authored-by: Evert Timberg <evert.timberg+github@gmail.com>
2021-02-20 10:03:55 -05:00
Jukka Kurkela
5d5e48d01b
Isolate properties / modes from animation options ( #8332 )
...
* Isolate properties / modes from animation options
* tabs, something wrong with the linter
* Update misleading variable name
2021-02-20 09:02:22 -05:00
Jacco van den Berg
284e357fd3
Fix broken links ( #8463 )
2021-02-20 08:16:57 -05:00
Jacco van den Berg
d264672381
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
2021-02-19 17:57:59 -05:00
Jukka Kurkela
aa5e0fe413
Remove core plugin fallbacks to root options ( #8462 )
...
* Remove core plugin fallbacks to root options
* Legend font color default fallbacks
2021-02-19 17:53:01 -05:00
Jukka Kurkela
ce0f7ff903
Update polar animation tests to less error prone ( #8461 )
2021-02-19 11:44:37 -05:00
LeeLenaleee
4219001280
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
2021-02-19 11:44:05 -05:00
LeeLenaleee
0770e80966
add clarification about object data structure ( #8447 )
...
* add clarification about object data structure
* improved description with feedback
* fix push of wrong file
2021-02-19 17:20:40 +02:00
Jukka Kurkela
850e6e4588
Update resolver fallback logic ( #8456 )
2021-02-19 08:30:39 +02:00
Jukka Kurkela
e8f954249a
Update doughnut animation fixture ( #8457 )
2021-02-18 18:04:48 -05:00
Evert Timberg
e6742e31ac
Add tests for polarArea chart animations ( #8455 )
...
* Add tests for polarArea chart animations
* Remove commented code
2021-02-18 17:29:15 -05:00
Jukka Kurkela
e2a47342ba
Add fixture for bar hide/show animation ( #8453 )
...
* Add fixture for bar hide/show animation
* Cleanup
* try using longer times
2021-02-18 19:23:15 +02:00
Jukka Kurkela
46d567a79e
Revert "Run compressed Size action on pull_request_target ( #8440 )" ( #8454 )
...
This reverts commit 7e6a711875
.
2021-02-18 10:46:51 -05:00
Jukka Kurkela
5411be10a0
Add support for common object methods to Proxies ( #8452 )
2021-02-18 10:04:46 -05:00
Jukka Kurkela
ba99c4185c
Add markdown linting, fix errors ( #8449 )
2021-02-18 08:17:39 -05:00
Jukka Kurkela
b468bffa9b
Add test for default doughnut animations ( #8446 )
2021-02-17 15:42:38 -05:00
Jukka Kurkela
d8ecf8bae5
Fix controller specific animations ( #8444 )
2021-02-17 15:29:12 -05:00
Jukka Kurkela
c96c167074
Update .editorconfig and fix conf indents ( #8442 )
2021-02-17 08:11:40 -05:00
Jukka Kurkela
a73a8c4a5e
Fix couple of animation bugs ( #8439 )
2021-02-16 16:42:07 -05:00
Jukka Kurkela
7e6a711875
Run compressed Size action on pull_request_target ( #8440 )
2021-02-16 16:41:41 -05:00
Jukka Kurkela
a6a12282c4
Fix memory leak on destroy ( #8438 )
2021-02-16 10:26:22 -05:00
Jukka Kurkela
b77f2585b1
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
2021-02-16 15:43:11 +02:00
Jukka Kurkela
9fb87a4fc2
Round canvas size to 0.1px resolution ( #8437 )
...
* Round canvas size to 0.1px resolution
* Types + docs
* typofix
2021-02-16 08:30:40 -05:00
Evert Timberg
81e28c9895
Add a note about hover options ( #8436 )
2021-02-15 18:32:03 -05:00
Jukka Kurkela
616a877772
perf: resolveObjectKey ( #8434 )
...
* perf: resolveObjectKey
* Fix tests
* prevent string construction
2021-02-15 16:15:58 -05:00
Evert Timberg
19a91bebfb
Remove unused typedoc option that is deprecated ( #8433 )
...
* Remove unused typedoc option that is deprecated
* Improved filtering for top level file changes
2021-02-15 22:25:10 +02:00
Jukka Kurkela
5baafac8ad
Make Chart static properties and methods read only ( #8431 )
2021-02-15 15:06:37 -05:00
Evert Timberg
c4bc737080
Update typedoc to fix dependabot alert ( #8432 )
2021-02-15 22:06:21 +02:00
Jukka Kurkela
cfd9c98575
Option resolution with proxies ( #8374 )
...
* Option resolution with proxies
* Remove plugin fallback to root options/defaults
* Update core plugins, reduntant font fallbacks
* Add some notes
2021-02-15 14:42:32 -05:00
Jukka Kurkela
e1f254fc3e
Add Decimation
to all available imports list ( #8430 )
2021-02-15 14:07:17 -05:00
Evert Timberg
b036b7ba92
Provide a method to quickly register all imports in ESM builds ( #8425 )
2021-02-15 11:21:31 +02:00
Evert Timberg
d26172ada8
infra: Bump CI to node 14 ( #8426 )
...
infra: Remove duplicated ES2019 plugin
2021-02-14 15:37:12 -05:00
Jukka Kurkela
422d26d32a
Optimize context object construction ( #8413 )
...
* perf: context construction
* avoid setPrototypeOf
2021-02-14 10:34:49 -05:00
Jukka Kurkela
6de5b3fa9e
Small chores ( #8408 )
2021-02-10 18:06:48 +02:00
Jukka Kurkela
a8329e4f13
Update chartjs-test-utils to v0.2.1 ( #8407 )
...
* Update chartjs-test-utils to v0.2.0
* to 0.2.1
2021-02-10 16:17:08 +02:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 ( #8406 )
2021-02-10 08:21:39 -05:00
stockiNail
8fa073a0d3
Fixes wrong and missing options and to bar element and dataset doc ( #8404 )
2021-02-09 22:43:52 +02:00
LeeLenaleee
c280337c21
Update anchorlinks and offscreen canvas compatibility ( #8395 )
2021-02-08 20:54:39 +02:00
Jukka Kurkela
ffe4ab14dc
Remove options.scale, in favor of options.scales.r ( #8393 )
...
Remove options.scale, in favor of options.scales.r
2021-02-06 16:19:21 -05:00
Jukka Kurkela
6737cb0de6
Codeclimate: Cognitive Complexity threshold 5->6 ( #8391 )
2021-02-06 08:40:39 -05:00
Jukka Kurkela
90758950ad
Update ScriptableContext, reduce warnings ( #8390 )
...
* Update ScriptableContext, reduce warnings
* _parsed is unknown[]
* Add defaults
* static defaults.
* review update
* more cancelables
2021-02-05 19:59:55 -05:00
LeeLenaleee
22ca8af1cd
Fix/type dateadapter override ( #8377 )
...
* Not totally sure this is right , but since in core.adapters.js override is part of the dateadapter it seems logical it should be there. Should also fix #8369
* implemented feedback
* Declare the dataAdapter since it will be available at runtime if someone overrides it
* remove declaration. if this is giving problems in the future it might need te be added again
2021-02-05 19:15:35 -05:00