diff --git a/ChartsSpace/TimeMachine.js b/ChartsSpace/TimeMachine.js index bbbae6a7c..d6ec178ca 100644 --- a/ChartsSpace/TimeMachine.js +++ b/ChartsSpace/TimeMachine.js @@ -427,8 +427,8 @@ function newTimeMachine () { } if (thisObject.timeScale !== undefined) { thisObject.timeScale.draw() } - if (thisObject.rateScale !== undefined) { thisObject.rateScale.draw() } if (thisObject.timeFrameScale !== undefined) { thisObject.timeFrameScale.draw() } + if (thisObject.rateScale !== undefined) { thisObject.rateScale.draw() } thisObject.container.frame.draw(false, true, false, thisObject.fitFunction) } diff --git a/ChartsSpace/TimelineChart.js b/ChartsSpace/TimelineChart.js index 89d423f35..b50187041 100644 --- a/ChartsSpace/TimelineChart.js +++ b/ChartsSpace/TimelineChart.js @@ -372,8 +372,8 @@ function newTimelineChart () { function draw () { if (thisObject.container.frame.isInViewPort()) { - if (thisObject.rateScale !== undefined) { thisObject.rateScale.draw() } if (thisObject.timeFrameScale !== undefined) { thisObject.timeFrameScale.draw() } + if (thisObject.rateScale !== undefined) { thisObject.rateScale.draw() } } }