aboutsummaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-02-14 19:41:00 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-02-14 19:41:32 -0500
commit91d04c64771832a0b8815ffbe1f0f9920320d94d (patch)
treefb02d5e1c84a3d91def9a7ee95bc87f9c046cc96 /ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html
parentb9d4caa40ef8e3566ac475968bce17b9b64b6939 (diff)
Initial OpenECOMP policy/engine commit
Change-Id: I7dbff37733b661643dd4d1caefa3d7dccc361b6e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html')
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html b/ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html
new file mode 100644
index 000000000..afcac3598
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/fusion/external/samples/html/donut_d3.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<style>
+
+body {
+ font: 10px sans-serif;
+}
+
+svg {
+ padding: 10px 0 0 10px;
+}
+
+.arc {
+ stroke: #fff;
+}
+
+ .slice text {
+ font-size: 16pt;
+ font-family: Arial;
+ }
+</style>
+<body>
+<script src="../../d3/js/d3.js"></script>
+
+<script>
+
+var radius = 74,
+ padding = 10;
+
+var width = 200,
+ height = 200;
+
+var outerRadius = height / 2 - 20,
+ innerRadius = outerRadius / 3,
+ cornerRadius = 10;
+//var color = d3.scale.ordinal()
+ // .range(["#98abc5", "#8a89a6", "#7b6888", "#6b486b", "#a05d56", "#d0743c", "#ff8c00"]);
+ var color = d3.scale.category10();
+ var dataURL = "data/speedometer3.csv";
+
+
+</script>
+<script src="js/donut.min.js"></script> \ No newline at end of file