order of drawing scales

This commit is contained in:
Luis Fernando Molina committed 2020-01-11 14:13:45 +01:00
1 parent 82c78b40d0
commit c507ca6d73
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
}
+1 -1
View File
@@ -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() }
}
}