Skip to content

Commit

Permalink
updated the chart and lowered the chart format
Browse files Browse the repository at this point in the history
  • Loading branch information
votreeshwaran committed May 20, 2020
1 parent 64cc021 commit abd4ec4
Showing 1 changed file with 39 additions and 8 deletions.
47 changes: 39 additions & 8 deletions template/sqstat_html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ smalltext{
</style>
</head>
<body>
<h1>Countdown For Next Downtime Maintainance:</h1>
<p style="font-size:20px">Countdown to next maintenance downtime:</p>
<div id="clockdiv">
<div>
<span class="days" id="day"></span>
Expand Down Expand Up @@ -153,9 +153,7 @@ if (t < 0) {
// Draw the Doughnut 2 chart
google.charts.setOnLoadCallback(drawDoughnut2Chart);
// Draw the Doughnut 3 chart
google.charts.setOnLoadCallback(drawDoughnut3Chart);
// Callback to draw the pie chart
function drawDoughnut1Chart() {
Expand Down Expand Up @@ -205,7 +203,38 @@ if (t < 0) {
chart.draw(data, options);
}
</script>
</head>
<body>
<!--Table and divs that hold the pie charts-->
<table class="columns">
<tr>
<td><div id="Doughnut1" style="width: 420px; height: 300px;"></div></td>
<td><div id="Doughnut2" style="width: 420px; height: 300px;"></div></td>
</tr>
</table>
</body>
</html>
<!-- End Of top two Doughnut Chart Script -->
<!--third chart below other charts-->
<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
// Load Charts and the corechart package.
google.charts.load('current', {'packages':['corechart']});
// Draw the Doughnut 3 chart
google.charts.setOnLoadCallback(drawDoughnut3Chart);
// Callback that draws the Doughnut 3 Chart
function drawDoughnut3Chart() {
Expand Down Expand Up @@ -238,19 +267,21 @@ if (t < 0) {
<!--Table and divs that hold the pie charts-->
<table class="columns">
<tr>
<td><div id="Doughnut1" style="width: 420px; height: 300px;"></div></td>
<td><div id="Doughnut2" style="width: 420px; height: 300px;"></div></td>
<td><div id="Doughnut3" style="width: 420px; height: 300px;"></div></td>
</tr>
</table>
</body>
</html>
<! End Of Doughnut Chart Script -->
<!-- End Of Doughnut Chart Script -->
<br>
<!--end chart-->
<br>
<!-- saved from url=(0022)http://internet.e-mail -->
<div style="color:red">Last updated: _DATE_</div>
Expand Down

0 comments on commit abd4ec4

Please sign in to comment.