Chart.js/test
Josh Kelley d83f0467da
Improvements to tooltip positioners (#9944)
* Improve positioner types; allow overriding xAlign and yAlign

* More type improvements; pass in Chart as third parameter

* Expose chart as part of TooltipModel

I initially passed the Chart element as the third parameter to the positioner; however, Scale and LegendElement elements expose `this.chart`, and sample code for positioners used `this._chart`, so documenting the chart member and giving it a public name seems to make more sense.

* Update documentation

* Fix documentation

* Fix issues from code review
2021-12-06 07:39:06 -05:00
..
fixtures Feature/active elements on top (#9920) 2021-12-05 08:56:53 -05:00
specs Improvements to tooltip positioners (#9944) 2021-12-06 07:39:06 -05:00
.eslintrc.yml Loosen the max-statements lint rule for tests (#8638) 2021-03-14 11:07:39 -04:00
BasicChartWebWorker.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
index.js Specify UTC time zone for the test suite (#9945) 2021-12-06 07:38:39 -05:00