change hoverdetail to be aware of series scale