Calculates the y-coordinate of the upper-left-hand corner of the tooltip rectangle. Adjusts the y-coordinate so that the tooltip is visible on the upper edge of the plot
The y-coordinate of the mouse
The height of the header and neuron ID text
The dimensions of the plot
The tooltip style information
The plot margin
The y-coordinate of the lower-left-hand corner of the tooltip rectangle
Calculates the y-coordinate of the upper-left-hand corner of the tooltip rectangle. Adjusts the y-coordinate so that the tooltip is visible on the upper edge of the plot