Commit Graph

3675 Commits

Author SHA1 Message Date
Jukka Kurkela
3e551d5f27
Use karma-spec-reporter and suppress passed (#8564) 2021-03-04 08:24:52 -05:00
Jukka Kurkela
08b76b0efd
Time: limit offset to sane values, gen >= 2 ticks (#8560) 2021-03-02 17:00:03 -05:00
Jukka Kurkela
118cff7cfc
Remove distribution option from fixtures (#8559) 2021-03-02 16:03:08 -05:00
Jukka Kurkela
413b04ffa6
Types: Update ScriptableContext (#8556)
* Types: Update ScriptableContext
* Add data array type test
2021-03-02 07:41:17 -05:00
Jukka Kurkela
d9a2f845f8
Types: Update LayotPosition (#8555) 2021-03-02 07:39:05 -05:00
Jacco van den Berg
33ff1fe059
update defaults in tooltip (#8554) 2021-03-02 08:59:10 +02:00
Jukka Kurkela
78d3d30d56
Add _allKeys descriptor for Object.keys behavior (#8553) 2021-03-01 16:44:14 -05:00
Ben McCann
cc8e513d0f
Add test for normalized option (#8552) 2021-03-01 15:27:36 -05:00
Ben McCann
3214005322
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
2021-03-01 15:06:48 -05:00
Ben McCann
e2a50b957e
Remove empty dependencies block from package.json (#8550) 2021-03-01 15:06:28 -05:00
stockiNail
bc6ef46651
Fixes sample in the doc about missing animations configuration (#8549) 2021-03-01 15:06:01 -05:00
Jukka Kurkela
ae95a8221d
Fix function support on _fallback (#8545) 2021-03-01 12:19:55 -05:00
Jukka Kurkela
86b1892810
Resolve to false only when _fallback is used (#8542)
* Resolve to false only when _fallback is used
* Typo
* 2nd part
2021-02-28 17:32:56 -05:00
Evert Timberg
c5dcf5a20d
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
2021-02-28 16:02:44 -05:00
Jukka Kurkela
b795151554
Remove the constantly failing test (#8538) 2021-02-28 08:49:34 -05:00
Jukka Kurkela
9043325a6e
Provide auto-registering entry point (#8429) 2021-02-28 09:02:44 +02:00
Evert Timberg
c040b8255e
Options need to include dataset level defaults from main chart type (#8534) 2021-02-28 08:58:07 +02:00
Evert Timberg
d08eb147fc
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
2021-02-28 02:46:58 +02:00
Jukka Kurkela
f23807f743
Bump version to beta.12 (#8532) 2021-02-27 13:30:26 -05:00
Jacco van den Berg
9741942976
rename tooltip.custom property to tooltip.external (#8523)
* rename tooltip.custom property to tooltip.external

* Implement feedback

* missed 1
2021-02-27 18:18:12 +02:00
Jukka Kurkela
3460ef126e
Types: Add couple of tests, move utils to new file (#8526) 2021-02-26 16:29:10 -05:00
Jacco van den Berg
bd303f4a2c
Update wording in docs about merging options (#8533) 2021-02-26 14:57:34 -05:00
Jukka Kurkela
061e3dbf2f
Fix calling of onResize (#8529)
* Fix calling of onResize

* Try to fix the bugging animation test

* try again

* and the actual fix

* maybe now
2021-02-26 14:55:43 -05:00
Jukka Kurkela
bb82aaa320
Update types so instance can be assigned to a variable of type Chart (#8525)
* Update types
* Remove outdated comments
2021-02-25 19:06:32 -05:00
Jukka Kurkela
53ea370f5c
Clean up easing functions (#8518)
* Clean up easing functions
* Remove leftover comment
2021-02-24 18:43:37 -05:00
Ben McCann
7c75310a0c
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>
2021-02-24 18:20:11 -05:00
Jukka Kurkela
12e9020ab7
Remove unused getRingIndex from Doughnut (#8521) 2021-02-24 18:13:51 -05:00
Jukka Kurkela
8796a1ba1d
Fix stacking bug when a dataset is removed (#8520) 2021-02-24 17:31:17 -05:00
Jukka Kurkela
b06cd36697
Rename cutoutPercentage to cutout + chores (#8514) 2021-02-24 16:58:01 -05:00
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