   g._bixby_mode = "zoom"
 
   # set callbacks
-  xOptView = g.optionsViewForAxis_('x');
-  xvf = xOptView('valueFormatter');
+  xOptView = g.optionsViewForAxis_('x')
+  xvf = xOptView('valueFormatter')
   opts = {
     highlightCallback: (e, x, pts, row) ->
       date = xvf(x, xOptView, "", g) + ", " + sprintf("val = %0.2f%s", pts[0].yval, unit)

#         graph: graph
#       });
#       graph.render();
#       $(s + " .footer").text(sprintf("Last Value: %0.2f", val.vals[val.vals.length-1].y));




          g.updateOptions({ file: new_met.tuples() })

  }
  g.updateOptions(opts)
  return g


