Commit Graph

20 Commits

Author SHA1 Message Date
Evert Timberg
ea7b8cb04f
Add test for DecimationAlgorithm type (#9010)
* Add test for DecimationAlgorithm type
* Allow strings to be set
* Linting
2021-05-01 12:36:40 -04:00
Jukka Kurkela
ba84cc5c2a
Filler: support segment backgroundColor (#8864) 2021-04-09 19:10:48 -04:00
Jukka Kurkela
4eb59454be
Allow styling of line segments (#8844)
Allow styling of line segments

* docs & sample
* Types
* update sample
2021-04-08 18:02:12 -04:00
Josh Kelley
54c5b7a084
Add a convenience alias for scale options (#8732)
* Add a convenience alias for scale options

Closes #8731

* Add an automated test

* Use parameter for a more realistic test
2021-03-26 16:20:59 -04:00
Jukka Kurkela
499a71d4eb
Make type-tests strict (#8717) 2021-03-25 15:09:35 -04:00
Evert Timberg
2fc98ddc39
Allow fill: true and null in ChartDataset.data (#8700)
* Handle `fill: true`
* ChartDataset allow number/null data
2021-03-22 18:59:50 -04:00
Jukka Kurkela
537064be9c
Modify Scale typing (#8681) 2021-03-21 10:20:05 -04:00
Jukka Kurkela
aee979da54
Types: fix bubble chart options (#8625) 2021-03-13 08:04:59 -05:00
Jukka Kurkela
0c838432fc
Disable warning of unused variables in types/tests (#8607) 2021-03-10 08:13:04 -05:00
Jukka Kurkela
8d6e87881a
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
2021-03-06 10:34:52 -05:00
Evert Timberg
91628c1449
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
2021-03-04 08:25:24 -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
Jukka Kurkela
3460ef126e
Types: Add couple of tests, move utils to new file (#8526) 2021-02-26 16:29:10 -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
b06cd36697
Rename cutoutPercentage to cutout + chores (#8514) 2021-02-24 16:58:01 -05:00
Jukka Kurkela
e55a12ce87
Add linting of type tests (.ts) + fix errors (#8505) 2021-02-23 11:41:00 -05:00
Jukka Kurkela
65bfacd9a5
Add outerRadius option to doughnut/pie (#8487) 2021-02-21 17:30:37 -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
def8d25d4b
Fix animation types, add test (#8476) 2021-02-21 09:15:26 -05:00