getElementById("xdimensions");
        elem.innerHTML = "dateWindow : [" + first + ", "+ second + "]";
      }

      function showYDimensions(ranges) {
        var elem = document.getElementById("ydimensions");
        elem.innerHTML = "valueRange : [" + ranges + "]";
      }

      function zoomGraphX(minDate, maxDate) {
        g.updateOptions({
          dateWindow: [minDate, maxDate]
        });
        showXDimensions(minDate, maxDate);
      }

      function zoomGraphY(minValue, maxValue) {
        