From adf6d27cb73aa86badcfd19d80a770fc810803a3 Mon Sep 17 00:00:00 2001 From: jakani24 Date: Sat, 27 Apr 2024 11:30:33 +0200 Subject: [PATCH] Update view_log.php --- src/server/cyberhex-code/system/secure_zone/php/view_log.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/cyberhex-code/system/secure_zone/php/view_log.php b/src/server/cyberhex-code/system/secure_zone/php/view_log.php index 88fa99c..06137f5 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/view_log.php +++ b/src/server/cyberhex-code/system/secure_zone/php/view_log.php @@ -89,7 +89,7 @@ $conn->close(); is3D: true, }; - var chart1 = new google.visualization.PieChart(document.getElementById('log_spread_1')); + var chart1 = new google.visualization.PieChart(document.getElementById('log_spread')); chart1.draw(data1, options1); // Second Chart @@ -105,7 +105,7 @@ $conn->close(); // Add your options here }; - var chart2 = new google.visualization.ColumnChart(document.getElementById('second_chart')); + var chart2 = new google.visualization.ColumnChart(document.getElementById('machine_spread')); chart2.draw(data2, options2); }