##// END OF EJS Templates
fixed decimals numbering in graph
marcink -
r405:bec06654 default
parent child Browse files
Show More
@@ -169,11 +169,11 b' E.onDOMReady(function(e){'
169 points: { show: true, radius:0,fill:true },
169 points: { show: true, radius:0,fill:true },
170 legend:{show:true, container:"legend_container"},
170 legend:{show:true, container:"legend_container"},
171 selection: { mode: "xy" },
171 selection: { mode: "xy" },
172 yaxis:{tickSize:[1]},
172 yaxis: {tickDecimals:0},
173 xaxis: { mode: "time", timeformat: "%d",tickSize:[1, "day"],min:${c.ts_min},max:${c.ts_max} },
173 xaxis: { mode: "time", timeformat: "%d",tickSize:[1, "day"],min:${c.ts_min},max:${c.ts_max} },
174 grid: { hoverable: true, clickable: true,autoHighlight:true },
174 grid: { hoverable: true, clickable: true,autoHighlight:true },
175 });
175 });
176
176
177 function showTooltip(x, y, contents) {
177 function showTooltip(x, y, contents) {
178 var div=document.getElementById('tooltip');
178 var div=document.getElementById('tooltip');
179 if(!div) {
179 if(!div) {
General Comments 0
You need to be logged in to leave comments. Login now