Chart.js/docs/samples
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
..
advanced Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
animations New sample: Progressive Line With Easing (#9798) 2021-10-26 07:49:04 -04:00
area Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
bar Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
legend HTML legend handles doughnut/pie charts (#9044) 2021-05-08 08:10:18 +03:00
line Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
other-charts Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
plugins Add example plugins for border and quadrants (#8942) 2021-04-18 16:02:20 -04:00
scale-options Update misleading sample comment (#9865) 2021-11-17 07:34:00 -05:00
scales Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
scriptable Changed var to const/let in the docs (#9744) 2021-10-13 14:51:33 -04:00
subtitle New plugin: subtitle (#9294) 2021-06-20 07:34:55 -04:00
title Vuepress samples (#8756) 2021-04-02 08:04:39 -04:00
tooltip Improvements to tooltip positioners (#9944) 2021-12-06 07:39:06 -05:00
.eslintrc.yml Add initial property to animation callbacks (#8926) 2021-04-17 08:09:22 -04:00
utils.md Document sample components file (#9697) 2021-10-01 19:27:54 +03:00