From 2e043b915112ba3469a2a017b539aa0c2a488e51 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 3 Mar 2018 19:07:04 +0100 Subject: [PATCH] Final Touches --- .vs/Plotters-Candles-Volumes/v15/.suo | Bin 22528 -> 22528 bytes Candles.js | 7 +------ Volumes.js | 11 +++-------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.vs/Plotters-Candles-Volumes/v15/.suo b/.vs/Plotters-Candles-Volumes/v15/.suo index fbe04c8380a0d85aee4adf1aeeae56bd84f79f37..fe2495318acc26b59f6d5be21a431ee66bb83679 100644 GIT binary patch delta 173 zcmZqJz}T>XaYGIhtH1=W^^%(lnSL{~1~69Y1DR|#cEa@x2rv=I6lGwT%;?-PIl$3q za+T{R!JPXaYGIhYr(;+pTe69nSL{~PLSsM0%Wq;*a=54z<}0)SO{}6qjSgP07s+A lRj!`|cf+KC^hF?6*<9;(nPqc;;|8WperuV?(I3>z3IM@jB#Hn4 diff --git a/Candles.js b/Candles.js index 67896ffa2..0e2f77d35 100644 --- a/Candles.js +++ b/Candles.js @@ -196,13 +196,8 @@ function onDailyFileLoaded(event) { - if (event.currentValue === event.totalValue) { + recalculate(); - /* This happens only when all of the files in the cursor have been loaded. */ - - recalculate() - - } } function draw() { diff --git a/Volumes.js b/Volumes.js index 555dd9549..ebf89b359 100644 --- a/Volumes.js +++ b/Volumes.js @@ -132,15 +132,10 @@ function onDailyFileLoaded(event) { - if (event.currentValue === event.totalValue) { + recalculateScaleX(); + recalculate(); + recalculateScaleY(); - /* This happens only when all of the files in the cursor have been loaded. */ - - recalculateScaleX(); - recalculate(); - recalculateScaleY(); - - } } function draw() {