diff options
author | 2017-09-01 11:57:47 +0800 | |
---|---|---|
committer | 2017-09-01 11:57:58 +0800 | |
commit | 57dbba269d19bc59fad89160200bb2dbcccb9003 (patch) | |
tree | d466041ceffa2161124ca79a48b3e077777c74b8 /usecaseui-common/src/main/webapp/app/fusion/external/samples/html/d3_gauges_demo.html | |
parent | 4ff32341a0af1972b44a7410e76e9b231131e7ab (diff) |
Upload Monitor function code
Change-Id: I33ad76221b4cb771a298ff240245fc24be664efb
Issue-Id: USECASEUI-6
Signed-off-by: shentao <shentao@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 |