Jukka Kurkela
b4441417ae
Types: Add tooltip to chart instance ( #9490 )
2021-07-28 07:57:55 -04:00
Evert Timberg
ab613a301f
Improve LegendElement and TooltipItem type definitions ( #9376 )
...
* Document LegendElement properties in TS
* Pass chart type to LegendElement
* Update tooltip item dataset type
2021-07-09 06:57:30 -04:00
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
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
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
e55a12ce87
Add linting of type tests (.ts) + fix errors ( #8505 )
2021-02-23 11:41:00 -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