anchor.diff:                 xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to },
                  yaxis: { ticks: 4, min: ranges.yaxis.from, max: ranges.yaxis.to }
                }));
  +    });
  +
  +    graph<%= index %>.bind("plothover", function (event, pos, item) {
  +      if (item) {
  +        if (previousPoint != item.datapoint) {
  +          previousPoint = item.datapoint;
  +
  +          $("#datapoint").remove();
  +          var x = item.datapoint[0].toFixed(2),
  +              y = item.datapoint[1].toFixed(2);
  +
  +          showTooltip(item.pageX, item.pageY,
  +                      item.series.label + ": " + y + " sec");
  +        }
  +      }
  +      else {
  +        $("#datapoint").remove();
  +        previousPoint = null;
  +      }
       });
     <% end %>
   
  
positive.code:     on these graphs is the goal. The second set show the times relative to
      <%= @baseline_id %>. A value of 0.5, for example, means that benchmark ran half
      as fast as the baseline. An upward trend on the baseline graphs is the goal.
      All graphs are using the <em><%= @field %></em> value of multiple runs.
      Select a rectangle on a graph to zoom in.</p>
  
      <p>The benchmarks were chosen to exercise a range of Ruby features. The gem
      installs involves file system reads and writes and network reads. Generating
  
negative.code:               minTickSize: [1, "day"],
                min: min_date,
                max: max_date },
      selection: { mode: "xy" },
      grid: { hoverable: true }
    };
  
    var previousPoint = null;
  
    function showTooltip(x, y, contents) {
      $('<div id="datapoint">' + contents + '</div>').css( {
          position: 'absolute',
          display: 'none',
          top: y + 5,
          left: x + 5,
          border: '1px solid #fdd',
          padding: '2px',
          'background-color': '#fee',
          opacity: 0.80
      }).appendTo("body").fadeIn(200);
    }
  
    <% @graphs.values.each_with_index do |graph, index| %>
      var data<%= index %> = [ <%= graph.data %> ];
  