Describe the bug
When you hover over the chart, the Tooltip shows beneath the title. In contrast, the Tooltip shows above the legend.
Screenshot
Before
After
How to reproduce
Hover over the line so the Tooltip shows near the title of the chart
Additional context
It looks like an easy fix could be to construct the Tooltip after the title is added. So the Tooltip is after the title in the DOM and shows above it.
Instead of having the New Tooltip in the constructor, you could put it in the render:
src/Line.js
Describe the bug When you hover over the chart, the Tooltip shows beneath the title. In contrast, the Tooltip shows above the legend.
Screenshot
Before
After
How to reproduce Hover over the line so the Tooltip shows near the title of the chart
Additional context It looks like an easy fix could be to construct the Tooltip after the title is added. So the Tooltip is after the title in the DOM and shows above it.
Instead of having the
New Tooltip
in the constructor, you could put it in the render:src/Line.js