updated lines color and added date when you hover over a line