skip to Main Content

Memcached – Array reduce sum with null values

Can't get array reduce to work: var labels = ["MetricLinuxMemory","memCached","memTotalFree","MetricLinuxCPU","CpuRawSystem","memTotalSwap"]; var columns = [{values:[12,1,2,23,null,2]},{values:[12,null,2]},{values:[12,1,2]},{values:[12,1,2]},{values:[12,1,2]},{values:[12,1,2]}]; var data = {}; //Selected Performance data // Loop through labels for (var i = 0; i < labels.length; i++) { var label = labels[i]; //Search…

VIEW QUESTION
Back To Top
Search