Commit Graph

3846 Commits

Author SHA1 Message Date
Jukka Kurkela
2edd07d724
Config is no longer updated by options setter (#8516) 2021-02-24 16:34:29 -05:00
Jukka Kurkela
b31352c665
Reduce duplication in PointElement (#8517) 2021-02-24 16:28:18 -05:00
Jukka Kurkela
5ab5552acb
Fix layout bug when there are no visible boxes (#8507) 2021-02-24 16:27:11 -05:00
Jukka Kurkela
692d8a4128
Remove unreachable code paths from plugins (#8513) 2021-02-24 21:33:07 +02:00
Jukka Kurkela
65a601476c
Remove debug option from animation (#8512)
* Remove debug option from animation

* Add converage for visible animation

* Update visible animation fn
2021-02-24 21:32:54 +02:00
Jukka Kurkela
ee74dd646a
Add resizeDelay option (#8509)
* Add resizeDelay option
* Extract helper
2021-02-23 18:40:57 -05:00
Jukka Kurkela
4207645a9a
Time scale: skip invalid data (#8508) 2021-02-23 15:31:43 -05:00
Jacco van den Berg
99ca8334f8
data type is correct for all chart types (#8504)
* data type is correct for all chart types
* implement feedback
2021-02-23 15:30:57 -05:00
Jukka Kurkela
639c34f89e
Fix set/delete oprations on Proxies (#8506) 2021-02-23 19:46:31 +02:00
Jukka Kurkela
e55a12ce87
Add linting of type tests (.ts) + fix errors (#8505) 2021-02-23 11:41:00 -05:00
Jukka Kurkela
4c960fb138
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
2021-02-23 17:54:42 +02:00
Ben McCann
f1471458c4
Perf docs: tension is now 0 by default (#8500) 2021-02-23 13:59:50 +02:00
Jacco van den Berg
36966a46c7
update borderskipped typing (#8503) 2021-02-23 13:58:53 +02:00
Evert Timberg
8c1cca280d
Document stacked parse data (#8491) 2021-02-22 19:55:26 +02:00
Jukka Kurkela
311292da7e
Add linting of .mdx files + fix errors (#8496) 2021-02-22 08:53:13 -05:00
Jacco van den Berg
0c1320c2f9
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
2021-02-22 08:52:57 -05:00
Evert Timberg
8c4e862a2c
Merge tooltip padding settings (#8493) 2021-02-22 08:30:25 +02:00
Jukka Kurkela
65bfacd9a5
Add outerRadius option to doughnut/pie (#8487) 2021-02-21 17:30:37 -05:00
Evert Timberg
b27a4608cc
Document the fullSize property of the title plugin (#8488) 2021-02-21 23:25:03 +02:00
Jukka Kurkela
6f0e7959df
Only consider visible vertical boxes in layout (#8483) 2021-02-21 15:43:31 -05:00
Jukka Kurkela
5285735c0f
Fix ticks.mirror (#8482) 2021-02-21 14:27:14 -05:00
Evert Timberg
aa69892823
Provide a chart-type specific definition for ParsedData (#8480)
* Provide a chart-type specific definition for ParsedData
* Fix lint error
* Code review feedback
2021-02-21 13:10:19 -05:00
Jukka Kurkela
6aa88401ba
Update chartjs-test-utils to v0.2.2 (#8479) 2021-02-21 12:53:06 -05:00
Jukka Kurkela
24fb77b72f
Quote globs for equal operation in windows/linux (#8481) 2021-02-21 12:47:12 -05:00
Kashif Shamaz
832bf9144a
Added 'hidden: boolean' to ControllerDatasetOptions type and documented the field's usage in Dataset configuration section (#8478) 2021-02-21 18:17:01 +02:00
Jacco van den Berg
9f071b0f23
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
2021-02-21 09:16:11 -05:00
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