* The chart area of the tooltip a positioner runs for, when it runs for one. * A positioner can also be called on its own, without a tooltip as `this`.
(tooltip)
| 19 | * A positioner can also be called on its own, without a tooltip as `this`. |
| 20 | */ |
| 21 | function getChartArea(tooltip) { |
| 22 | return tooltip && tooltip.chart ? tooltip.chart.chartArea : undefined; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * The point the interaction modes measure an element by: the centre of the visible part |