       return if g._bixby_mode == "pan"
 
       if g._bixby_is_granular
+        # already showing granular data, see if zoom was reset and show less granular data
         if minX == g.rawData_[0][0] && maxX == g.rawData_[g.rawData_.length-1][0]
           g.updateOptions({ file: g._bixby_less_granular })
           g._bixby_less_granular = null

    else
      Dygraph.startZoom(event, g, context)

  # draw
  g = new Dygraph(el, vals, opts)
  g._bixby_mode = "zoom"


      r = (maxX - minX) / 1000
      if r < 43200
        # load more granular data, since we are looking at less than 12 hours of data
        g._bixby_less_granular = g.file_
        g._bixby_is_granular = true
        new_met = new Bixby.model.Metric({
