aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-07-31 08:47:35 +0000
committerPamela Dragosh <pdragosh@research.att.com>2017-07-31 15:51:10 -0400
commit073cc188efe9abb4c010cf674e34e2cf46ef1c52 (patch)
tree155c23fbdf3a838ecb5f4183fc3bb6b09aac41eb /ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html
parent4ca818fdfb9b807562166800a086b413593d6894 (diff)
[POLICY-73] replace openecomp for policy-engine
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html')
-rw-r--r--ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html b/ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html
new file mode 100644
index 000000000..ebbdd9c00
--- /dev/null
+++ b/ONAP-SDK-APP/src/main/webapp/static/fusion/sample/html/pie_chart.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<meta http-equiv="content-type" content="text/html; charset=UTF8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge" />
+<link href="../../d3/css/nv.d3.css" rel="stylesheet" type="text/css">
+<style>
+ body {
+ overflow-y:scroll;
+ }
+ text {
+ font: 12px sans-serif;
+ }
+ tr.z-row-over > td.z-row-inner, tr.z-row-over > .z-cell { background-color: rgb(255, 255, 255); } svg { display: block; } #chart423 svg {
+ height: 275px;
+ width: 300px;
+ min-width: 100px;
+ min-height: 100px;
+ }
+ </style>
+<body>
+<div id="chart423"><svg></svg></div>
+<script src="../../d3/js/d3.v3.min.js"></script>
+<script src="../../d3/js/nv.d3.min.js"></script>
+<script src="../../d3/js/models/legend.js"></script>
+<script src="../../d3/js/models/pie.js"></script>
+<script src="../../d3/js/models/pieChart.js"></script>
+<script src="../../d3/js/utils.js"></script>
+<script>
+historicalBarChart = [
+{ "key":"Bedminster", "y":8.27},
+{ "key":"Middletown", "y":2.36},
+{ "key":"Paramus", "y":2.17},
+{ "key":"Piscataway", "y":4.89}
+];
+
+</script>
+<script src="js/pie_chart.min.js"></script>
+</body> </html> \ No newline at end of file