-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLiquidFillGauge.html
More file actions
31 lines (29 loc) · 992 Bytes
/
LiquidFillGauge.html
File metadata and controls
31 lines (29 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<script src="http://d3js.org/d3.v3.min.js" language="JavaScript"></script>
<script src="https://arnonearth.github.io/googlemapsapi/liquidFillGauge.js" language="JavaScript"></script>
<style>
.liquidFillGaugeText { font-family: Helvetica; font-weight: bold; overflow:hidden; }
</style>
</head>
<body>
<svg id="fillgauge1" width="70%" height="70%"></svg>
<script language="JavaScript">
var config1 = liquidFillGaugeDefaultSettings();
config1.circleColor = "#FF7777";
config1.textColor = "#FF4444";
config1.waveTextColor = "#FFAAAA";
config1.waveColor = "#FFDDDD";
config1.circleThickness = 0.2;
config1.textVertPosition = 0.2;
config1.waveAnimateTime = 10000;
config1.waveCount = 200;
config1.waveOffset = 5000;
config1.waveHeight = 10000;
config1.waveAnimate = true;
var gauge1 = loadLiquidFillGauge("fillgauge1", 34398);
</script>
</body>
</html>