diff --git a/server/app/views/analyses/plot_xy_interactive.html.erb b/server/app/views/analyses/plot_xy_interactive.html.erb index 0d2b38d37..6be4eca85 100644 --- a/server/app/views/analyses/plot_xy_interactive.html.erb +++ b/server/app/views/analyses/plot_xy_interactive.html.erb @@ -240,8 +240,8 @@ tooltip.transition().duration(200).style("opacity", .9); return tooltip.style("left", (d3.event.pageX - 190) + "px") .style("top", (d3.event.pageY - 60) + "px") - .html("X: " + d.x.toFixed(2) + - "
Y: " + d.y.toFixed(2) + + .html("X: " + parseFloat(d.x).toFixed(2) + + "
Y: " + parseFloat(d.y).toFixed(2) + "
View Data Point"); });