Rate Scale Improved

This commit is contained in:
Luis Fernando Molina committed 2020-03-12 17:44:10 +01:00
1 parent baa9fd59c9
commit 9eb6803e70
7 files changed
+99 -12

No files matched your search

+5
View File
@@ -540,6 +540,11 @@ function newTimeMachine () {
function drawBackground () {
drawChartsBackground()
if (thisObject.container.frame.isInViewPort()) {
if (drawScales === true) {
// if (thisObject.timeScale !== undefined && thisObject.timeScale.isVisible === true) { thisObject.timeScale.drawBackground() }
if (thisObject.rateScale !== undefined && thisObject.rateScale.isVisible === true) { thisObject.rateScale.drawBackground() }
}
let maxElementsPlotted = 0
for (let i = 0; i < thisObject.timelineCharts.length; i++) {
let timelineChart = thisObject.timelineCharts[thisObject.timelineCharts.length - i - 1]