anchor.diff:                max: max_date },
       yaxis:  { min: <%= @baseline_min %>,
                 max: <%= @baseline_max %> },
  -    selection: { mode: "xy" }
  +    selection: { mode: "xy" },
  +    grid: { hoverable: true }
     };
   
     <% @graphs.values.each_with_index do |graph, index| %>
  
positive.code:                xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to },
                 yaxis: { ticks: 4, min: ranges.yaxis.from, max: ranges.yaxis.to }
               }));
      });
    <% end %>
  
  
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 %> ];
  