Not market index

This commit is contained in:
Luis Fernando Molina committed 2018-02-20 07:12:07 +01:00
1 parent c27f610e7b
commit c4138e4fd7
6 files changed
+7 -3

No files matched your search

Binary file not shown.
+3 -3
View File
@@ -46,7 +46,7 @@
function onCacheInitialized() {
marketFile = fileCache.getMarketFile(pTimePeriod, pDatetime);
marketFile = fileCache.getMarketFile(pTimePeriod);
recalculateScale();
@@ -430,9 +430,9 @@
let maxValue = 0;
for (var i = 0; i < marketIndex.length; i++) {
for (var i = 0; i < marketFile.length; i++) {
let currentMax = marketIndex[i][1]; // 1 = rates.
let currentMax = marketFile[i][1]; // 1 = rates.
if (maxValue < currentMax) {
maxValue = currentMax;
Binary file not shown.
@@ -0,0 +1 @@
172458ce4c7a5d368195f98d8866451da04a9a38
@@ -0,0 +1,3 @@
C:\Users\Luis\source\repos\AAOlivia-Plotter\obj\Debug\AAOlivia-Plotter.njsprojResolveAssemblyReference.cache
C:\Users\Luis\source\repos\AAOlivia-Plotter\obj\Debug\AAOlivia-Plotter.njsproj.CoreCompileInputs.cache
C:\Users\Luis\source\repos\AAOlivia-Plotter\bin\Microsoft.NodejsTools.WebRole.dll