Add prototype tooltip
Convert translate values to float
Change tooltip font color and size
Use relative height to drawn line and mouse event catcher
Extract Tooltip function
Dont recreate text node
Dont recreate formater date function
Make YAxis support tooltip
Dont try to add the parent inside itself
Save textBox reference to avoid reselection on mouse moves
Add a small left margin to axis text
Dont show dates outside of the domain
Tooltip should receive just a scale
Flip textBox if mouse is over the last quarter of the chart
Simplify mouseover variables
Fix margin when the text is flipped
Dont reset line zero default values
Better var name
Create width var
Hardcode a better text top margin