js: draw x cursor line relativ to data value