From e4a69dc849e97ee2104fe6092776611a25417f11 Mon Sep 17 00:00:00 2001 From: Luis Calvo Date: Fri, 30 Aug 2019 15:28:06 +0200 Subject: [PATCH] Fixed CSV custom graphs export --- .../include/graphs/flot/jquery.flot.exportdata.pandora.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js b/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js index 5bc3ef32b1..0b745d8ff5 100644 --- a/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js +++ b/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js @@ -159,10 +159,9 @@ if (custom_graph) { dataObject = retrieveDataOject(dataObjects,0); - //dataObjects.forEach(function (element) { - //elements.push(processDataObject(element)); - //}); - elements.push(processDataObject(dataObject)); + dataObjects.forEach(function (element) { + elements.push(processDataObject(element)); + }); graphData = elements; } else {