diff --git a/ChartsSpace/TimeMachine.js b/ChartsSpace/TimeMachine.js index 9bcc527e9..8b35c71fe 100644 --- a/ChartsSpace/TimeMachine.js +++ b/ChartsSpace/TimeMachine.js @@ -241,8 +241,12 @@ function newTimeMachine () { } else { if (purpose === GET_CONTAINER_PURPOSE.MOUSE_OVER) { thisObject.container.eventHandler.raiseEvent('onMouseNotOver') - thisObject.timeScale.visible = false - thisObject.rateScale.visible = false + if (thisObject.timeScale !== undefined) { + thisObject.timeScale.visible = false + } + if (thisObject.rateScale !== undefined) { + thisObject.rateScale.visible = false + } } return }