diff --git a/ChartsSpace/TimeMachine.js b/ChartsSpace/TimeMachine.js index 186bbe0bf..9050e0e80 100644 --- a/ChartsSpace/TimeMachine.js +++ b/ChartsSpace/TimeMachine.js @@ -132,7 +132,7 @@ function newTimeMachine () { function initialize (callBackFunction) { timeFrame = INITIAL_TIME_PERIOD - // loadFrame(thisObject.payload, thisObject.container.frame) + loadFrame(thisObject.payload, thisObject.container.frame) recalculateCoordinateSystem() diff --git a/ChartsSpace/ViewPort.js b/ChartsSpace/ViewPort.js index fe7199a23..8fd9dbc9c 100644 --- a/ChartsSpace/ViewPort.js +++ b/ChartsSpace/ViewPort.js @@ -364,8 +364,9 @@ function newViewport () { } function newZoomLevel (level) { - thisObject.level = level + thisObject.zoomLevel = level thisObject.zoomTargetLevel = level + INITIAL_TIME_PERIOD = recalculatePeriod(level) saveObjectState() ANIMATION_INCREMENT = 0