Subversion Repositories SmartDukaan

Rev

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

Rev 25236 Rev 25237
Line 79... Line 79...
79
	#preview {
79
	#preview {
80
	  position: relative;
80
	  position: relative;
81
	  color: #fff;
81
	  color: #fff;
82
	  float: left;
82
	  float: left;
83
	  width: 100%;
83
	  width: 100%;
84
	  margin: 0 20px 20px 0;
-
 
85
	  -webkit-border-radius: 10px;
84
	  -webkit-border-radius: 10px;
86
	  -moz-border-radius: 10px;
85
	  -moz-border-radius: 10px;
87
	  border-radius: 10px;
86
	  border-radius: 10px;
88
	  clear: both;
87
	  clear: both;
89
	}
88
	}
Line 922... Line 921...
922
		  staticZones: [
921
		  staticZones: [
923
			   {strokeStyle: "#F03E3E", min: 0, max: 8/monthDays}, // Red from 100 to 130
922
			   {strokeStyle: "#F03E3E", min: 0, max: 8/monthDays}, // Red from 100 to 130
924
			   {strokeStyle: "#FFDD00", min: 8/monthDays, max: 12/monthDays}, // Yellow
923
			   {strokeStyle: "#FFDD00", min: 8/monthDays, max: 12/monthDays}, // Yellow
925
			   {strokeStyle: "#30B32D", min: 12/monthDays, max: 1}, // Green
924
			   {strokeStyle: "#30B32D", min: 12/monthDays, max: 1}, // Green
926
			],
925
			],
927
			staticLabels: {
926
			/*staticLabels: {
928
			  font: "10px sans-serif",  // Specifies font
927
			  font: "10px sans-serif",  // Specifies font
929
			  labels: [0, 8/$monthDays, 12/$monthDays, 1],  // Print labels at these values
928
			  labels: [0, 8/$monthDays, 12/$monthDays, 1],  // Print labels at these values
930
			  color: "#000000",  // Optional: Label text color
929
			  color: "#000000",  // Optional: Label text color
931
			  fractionDigits: 2  // Optional: Numerical precision. 0=round off.
930
			  fractionDigits: 2  // Optional: Numerical precision. 0=round off.
932
			},
931
			},*/
933
				  
932
				  
934
		  
933
		  
935
		};
934
		};
936
		var target = document.getElementById('canvas-preview'); // your canvas element
935
		var target = document.getElementById('canvas-preview'); // your canvas element
937
		var gauge = new Gauge(target).setOptions(opts); // create sexy gauge!
936
		var gauge = new Gauge(target).setOptions(opts); // create sexy gauge!