From fb62bfc2a5bc7a4c749d772d129bb7393954b988 Mon Sep 17 00:00:00 2001 From: Connor L Jackson Date: Wed, 12 Apr 2017 23:31:56 -0400 Subject: [PATCH] Formatting of Statistics Page --- WebContent/html/javascript/statistics.jsp | 12 +- WebContent/html/webpages/index.jsp | 2 +- WebContent/html/webpages/map.jsp | 89 -------------- WebContent/html/webpages/statisticsPage.jsp | 126 +++++++++++++++----- 4 files changed, 105 insertions(+), 124 deletions(-) delete mode 100644 WebContent/html/webpages/map.jsp diff --git a/WebContent/html/javascript/statistics.jsp b/WebContent/html/javascript/statistics.jsp index efa5edd..ff97eab 100644 --- a/WebContent/html/javascript/statistics.jsp +++ b/WebContent/html/javascript/statistics.jsp @@ -59,9 +59,9 @@ function displayData() { // Set chart options var options = {'title':'Chart of Devices', - 'width':700, - 'height':700, - 'backgroundColor':'#94969A'}; + 'width':600, + 'height':400, + 'backgroundColor':'#E9EAEB'}; // Instantiate and draw our chart, passing in some options. var chart = new google.visualization.PieChart(document.getElementById('piechart')); @@ -86,11 +86,11 @@ function displayData() { ]); var options = {'title':'Devices in terms of Status', - 'width':700, - 'height':700, + 'width':600, + 'height':400, 'bar': {groupWidth: "75%"}, 'legend': { position: "none" }, - 'backgroundColor':'#94969A'}; + 'backgroundColor':'#E9EAEB'}; // Instantiate and draw our chart, passing in some options. var chart = new google.visualization.ColumnChart(document.getElementById('colchart')); diff --git a/WebContent/html/webpages/index.jsp b/WebContent/html/webpages/index.jsp index 8b1e8c1..b1672aa 100644 --- a/WebContent/html/webpages/index.jsp +++ b/WebContent/html/webpages/index.jsp @@ -67,7 +67,7 @@

Just curious to see what devices we have to offer? You've come to the right place.

- +