// copier le titre des tableaux
titre = $table.find("caption").text();
+ $table.siblings('.pagination').before("<h3 class='caption'>" + titre + "</h3>");
$table
- .before("<h3 class='caption'>" + titre + "</h3>")
+
.wrap("<div class='" + classes + "'></div>");
// mettre les visites avec un fond colore pour le graphique
- $table.find("thead th:eq(1)").data({fill: true, serie: 'bar', color: '#FFD845'});
+ $table.find("thead th:eq(1)").data({fill: true, serie: 'bar', color: '#FFD845',lineWidth:0});
$table.find("thead th:eq(2)").data({serie: 'line', color: '#7FC4FF'});
- $table.find("thead th:eq(3)").data({fill: true, serie: 'bar', color: '#A9DD3A'});
+ $table.find("thead th:eq(3)").data({fill: true, serie: 'bar', color: '#A9DD3A',lineWidth:0});
// mettre les previsions en premier
// (pour que les autres graph passent par dessus)
params = {
legendeExterne:true,
legendeActions:true,
- width:($('.large #page').length)?'695px':'500px', // 795px, 600px (sans le tableau de resume) ...
+ width:($('.large #page').length)?'755px':'560px', // 795px, 600px (sans le tableau de resume) ...
height:'250px',
modeDate:true,
zoom:true,
}
},
flot:{
+ grid:{
+ axismargin:10
+ },
xaxis:{
labelWidth:45,
monthNames: [
'[(#VAL{2000-11-01}|nom_mois)]',
'[(#VAL{2000-12-01}|nom_mois)]'
]
+ },
+ yaxis:{
+ position: "right"
}
},
infobulle:{show:true}
grille:{weekend:true},
flot:{
xaxis:{
+ timeformat:"%d %b",
minTickSize: [1, "day"]
},
bars:{barWidth:24 * 60 * 60 * 1000}
timeformat:"%b %y",
minTickSize: [1, "month"]
},
- bars:{barWidth:30 * 24 * 60 * 60 * 1000 /* nb de jours... approximatif */}
+ bars:{barWidth:30.4 * 24 * 60 * 60 * 1000 /* nb de jours... approximatif */}
}
});