diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-05-09 22:02:56 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-05-09 22:03:03 +0800 |
commit | ea506ea4aa4306bd594d747455291b18a030aa4e (patch) | |
tree | c88180e409e01ae08bc4f26d3f57bb99098a15f7 /usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html | |
parent | b92099db10112c4a260485354dbf10176383561c (diff) |
add angularJs component
Change-Id: I41eb4950a7ee3b1b4f306681824f6035c624d485
Issue-ID: USECASEUI-113
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html')
-rw-r--r-- | usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html b/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html new file mode 100644 index 00000000..94596e73 --- /dev/null +++ b/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + <head> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <title>d3.js gauges</title> + + <style> + + body + { + font: 10px arial; + } + + </style> + + <script src="../../d3/js/d3.v3.min.js" charset="utf-8"></script> + + + <script> + + var dataURL = "data/speedometer2.csv"; + var gauges = []; + var recordLength = 0; + var dataset ; + + </script> + <script type="text/javascript" src="js/gauges.min.js"></script> + + </head> + + <body onload="initialize()"> + <span id="Bedminster"></span> + <span id="Piscataway"></span> + <br/> + <span id="Middletown"></span> + <span id="Paramus"></span> + </body> + +</html>
\ No newline at end of file |