Subversion Repositories SmartDukaan

Rev

Rev 25228 | Rev 25230 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25228 Rev 25229
Line 691... Line 691...
691
							</div>
691
							</div>
692
						</div>
692
						</div>
693
					</div>
693
					</div>
694
					<div class="col-lg-4">
694
					<div class="col-lg-4">
695
						<div class="info-box purple-bg">
695
						<div class="info-box purple-bg">
696
							<div style="margin-top:-20%">
696
							<div id="preview">
697
								<canvas style="width:100%;" id="gaugeElement"></canvas>
697
								<canvas style="width=110%" id="canvas-preview"></canvas>
-
 
698
							  	<div id="preview-textfield">$okDays/$dayOfMonth</div>
698
							</div>
699
							</div>
699
							<div class="title" style="text-align:center">Investometer</div>
700
							<div class="title" style="text-align:center">Investometer</div>
700
						</div>
701
						</div>
701
					</div>
702
					</div>
702
				</div>
703
				</div>
Line 900... Line 901...
900
		  staticZones: [
901
		  staticZones: [
901
			   {strokeStyle: "#F03E3E", min: 0, max: 8/monthDays}, // Red from 100 to 130
902
			   {strokeStyle: "#F03E3E", min: 0, max: 8/monthDays}, // Red from 100 to 130
902
			   {strokeStyle: "#FFDD00", min: 8/monthDays, max: 12/monthDays}, // Yellow
903
			   {strokeStyle: "#FFDD00", min: 8/monthDays, max: 12/monthDays}, // Yellow
903
			   {strokeStyle: "#30B32D", min: 12/monthDays, max: 1}, // Green
904
			   {strokeStyle: "#30B32D", min: 12/monthDays, max: 1}, // Green
904
			],
905
			],
-
 
906
			staticLabels: {
-
 
907
			  font: "10px sans-serif",  // Specifies font
-
 
908
			  labels: ["0", "8/$monthDays", "12/$monthDays", 1],  // Print labels at these values
-
 
909
			  color: "#000000",  // Optional: Label text color
-
 
910
			  fractionDigits: 0  // Optional: Numerical precision. 0=round off.
-
 
911
			},
905
				  
912
				  
906
		  
913
		  
907
		};
914
		};
908
		var target = document.getElementById('gaugeElement'); // your canvas element
915
		var target = document.getElementById('gaugeElement'); // your canvas element
909
		var gauge = new Gauge(target).setOptions(opts); // create sexy gauge!
916
		var gauge = new Gauge(target).setOptions(opts); // create sexy gauge!