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/pie_chart.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/pie_chart.html')
-rw-r--r-- | dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/pie_chart.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/pie_chart.html b/dcae_dmaapbc_webapp/src/main/webapp/static/fusion/sample/html/pie_chart.html new file mode 100644 index 0000000..ebbdd9c --- /dev/null +++ b/dcae_dmaapbc_webapp/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 |