Changeset - bec06654d67b
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-08-17 22:29:17
marcin@python-works.com
fixed decimals numbering in graph
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/summary/summary.html
Show inline comments
 
@@ -166,17 +166,17 @@ E.onDOMReady(function(e){
 
		        if (data.length > 0){
 
				    var plot = YAHOO.widget.Flot("commit_history", data,
 
					        { bars: { show: true, align:'center',lineWidth:4 },
 
			    			  points: { show: true, radius:0,fill:true },
 
			    			  legend:{show:true, container:"legend_container"},
 
			    	          selection: { mode: "xy" },
 
			    	          yaxis:{tickSize:[1]},
 
			    	          yaxis: {tickDecimals:0},
 
				              xaxis: { mode: "time", timeformat: "%d",tickSize:[1, "day"],min:${c.ts_min},max:${c.ts_max} }, 
 
				              grid: { hoverable: true, clickable: true,autoHighlight:true },
 
					        });
 
		        
 
			        
 
				    function showTooltip(x, y, contents) {
 
				        var div=document.getElementById('tooltip');
 
				        if(!div) {
 
				            div = document.createElement('div');
 
				            div.id="tooltip";
 
				            div.style.position="absolute";
0 comments (0 inline, 0 general)