Flip hoverdetail on edge and include date.

This flips the hoverdetail backwards when it would leave the graph area to the
right. It also adds the date/time info to the formatted tooltip.