aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/graph_histogram.html
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-07-05 10:43:13 +0200
committerTaras Madan <tarasmadan@google.com>2024-07-05 09:22:08 +0000
commit76e0d5e0b3f39b94a5427c7a68e8062adcd27af1 (patch)
tree44d61129d8190d569d435caceb3dbf5e58294099 /dashboard/app/graph_histogram.html
parent2a40360c27f1cd827c9fa0183aa402ef505d07db (diff)
dashboard/app: move templates to dir
Diffstat (limited to 'dashboard/app/graph_histogram.html')
-rw-r--r--dashboard/app/graph_histogram.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/dashboard/app/graph_histogram.html b/dashboard/app/graph_histogram.html
deleted file mode 100644
index 930d7b912..000000000
--- a/dashboard/app/graph_histogram.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{{/*
-Copyright 2024 syzkaller project authors. All rights reserved.
-Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-
-Number of found bugs per month.
-*/}}
-
-<!doctype html>
-<html>
-<head>
- <title>{{.Title}}</title>
- {{template "head" .Header}}
-
- <script type="text/javascript" src="https://www.google.com/jsapi"></script>
- <script type="text/javascript">
- google.load("visualization", "1", {packages:["corechart"]});
- google.setOnLoadCallback(function() {
- new google.visualization.ColumnChart (
- document.getElementById('graph_div')).
- draw(google.visualization.arrayToDataTable([
- ["-", {{range $.Graph.Headers}}"{{.Name}}", {{end}}],
- {{range $.Graph.Columns}}["{{.Hint}}", {{range .Vals}}{{.Val}},{{end}}],{{end}}
- ]), {
- width: "100%",
- chartArea: {width: '90%', height: '85%'},
- legend: {position: 'in'},
- focusTarget: "category",
- isStacked: true,
- vAxis: {minValue: 1, textPosition: 'out', gridlines: {multiple: 1}, minorGridlines: {multiple: 1}},
- hAxis: {minValue: 1, textPosition: 'out', maxAlternation: 1, gridlines: {multiple: 1}, minorGridlines: {multiple: 1}},
- series: {
- {{range $idx, $hdr := $.Graph.Headers}}
- {{$idx}}: {color: "{{$hdr.Color}}"},
- {{end}}
- },
- })
- });
- </script>
-</head>
-<body>
- {{template "header" .Header}}
- <div id="graph_div"></div>
-</body>
-</html>