document.getElementById("div_g"),
NoisyData, {
errorBars: true,
- zoomCallback : function(minDate, maxDate, yRange) {
- showDimensions(minDate, maxDate, yRange);
+ zoomCallback : function(minDate, maxDate, yRanges) {
+ showDimensions(minDate, maxDate, yRanges); }
+ }
}
);
elem.innerHTML = "dateWindow : [" + first + ", "+ second + "]";
}
- function showYDimensions(values) {
- function showYDimensions(range) {
++ function showYDimensions(ranges) {
var elem = document.getElementById("ydimensions");
- elem.innerHTML = "valueRange : [" + values + "]";
- elem.innerHTML = "valueRange : [" + range + "]";
++ elem.innerHTML = "valueRange : [" + ranges + "]";
}
function zoomGraphX(minDate, maxDate) {