From c507ca6d73b1214c18c6e58423c01c5ed23b03ff Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 11 Jan 2020 14:13:45 +0100 Subject: [PATCH] order of drawing scales --- ChartsSpace/TimeMachine.js | 2 +- ChartsSpace/TimelineChart.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() } } }