diff options
author | talasila <talasila@research.att.com> | 2017-02-08 10:13:29 -0500 |
---|---|---|
committer | talasila <talasila@research.att.com> | 2017-02-08 10:15:00 -0500 |
commit | f8a8d5192b1e5013d9e2f699be54b072ef39d5f0 (patch) | |
tree | b7a65bb0a7d70a9dc24c064113868e5f3b8e6a09 /dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/donut_d3.html | |
parent | 72a80fbff7120630576ccd5aa67c20818c2943c7 (diff) |
Initial OpenECOMP UI/DMaapBC commit
Change-Id: Ia492e1b88311b9bed4c31f593b28deaaad73b7e4
Signed-off-by: talasila <talasila@research.att.com>
Diffstat (limited to 'dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/donut_d3.html')
-rw-r--r-- | dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/donut_d3.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/donut_d3.html b/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/donut_d3.html new file mode 100644 index 0000000..afcac35 --- /dev/null +++ b/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/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 |