diff graph.html @ 20:3bb3d9a9f1b7

Filter by keywords and states. Configuration via configuration file. "No prio" grapf is displayed. (./display_issues_demo.py is not yet dynamic, it needs all states)
author Magnus Schieder <mschieder@intevation.de>
date Mon, 22 Oct 2018 16:49:58 +0200
parents f198a92dd37f
children 7161ce4e7ab1
line wrap: on
line diff
--- a/graph.html	Mon Jul 09 14:49:44 2018 +0200
+++ b/graph.html	Mon Oct 22 16:49:58 2018 +0200
@@ -74,6 +74,14 @@
 					fill: blue;
 			}
 
+			.line.noprio {
+					stroke: grey;
+			}
+
+			.line.noprio.legend {
+					fill: grey;
+			}
+
 			.grid .tick {
 					stroke: lightgrey;
 					opacity: 0.7;
@@ -86,6 +94,9 @@
 		</style>
 	</head>
 	<body>
+	 	<h1>Filter</h1>
+		<p>States:  status</p>
+		<p>Keywords: keywords</p>
 		<div id="content" style="display: inline-block"></div>
 		<script type="text/javascript" src="d3.v3.min.js"></script>
 		<script type="text/javascript">
@@ -100,6 +111,7 @@
 			var bug=[];
 			var feature=[];
 			var wish=[];
+			var noPrio=[];
 			var timestamp=[];
 
 
@@ -139,6 +151,7 @@
 				maxIssuesOfAllArrays.push(maxInObject(bug));
 				maxIssuesOfAllArrays.push(maxInObject(feature));
 				maxIssuesOfAllArrays.push(maxInObject(wish));
+				maxIssuesOfAllArrays.push(maxInObject(noPrio));
 
 				return Math.max.apply(Math, maxIssuesOfAllArrays)+1;
 			}
@@ -214,6 +227,7 @@
 				draw_legend_line(svg, legend_distance, set_propper_distance(distance_steps), "Bug", bug[bug.length-1].points);
 				draw_legend_line(svg, legend_distance, set_propper_distance(distance_steps), "Feature", feature[feature.length-1].points);
 				draw_legend_line(svg, legend_distance, set_propper_distance(distance_steps), "Wish", wish[wish.length-1].points);
+				draw_legend_line(svg, legend_distance, set_propper_distance(distance_steps), "NoPrio", noPrio[noPrio.length-1].points);
 			}
 
 
@@ -243,6 +257,7 @@
 				var bugLine = base_line;
 				var featureLine = base_line;
 				var wishLine = base_line;
+				var noPrioLine = base_line;
 				var timestampLine = base_line;
 
 
@@ -350,6 +365,7 @@
 				draw_line(svg, bug, "line bug", bugLine, "7, 7");
 				draw_line(svg, urgent, "line urgent", urgentLine, "13, 13");
 				draw_line(svg, critical, "line critical", criticalLine, "17, 17");
+				draw_line(svg, noPrio, "line noprio", noPrioLine, "17, 17");
 
 
 				makeLegend(svg, width);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)