var tab_week_idle=[1439157600000,1439762400000,1440367200000,1440972000000,1441576800000,1442181600000,1442786400000,1443391200000,1443996000000,1444600800000,1445205600000,1445814000000,1446418800000,1447023600000,1447628400000] ;
var tab_obj_idle = [137,137,137,137,137,137,137,137,137,137,137,137,137,137,137];
var tab_gap_idle = [-7,-2,1,20,34,36,32,19,22,27,28,15,17,12,0];
var tab_w2_idle = [167,190,193,191,186,181,176,172,179,166,163,158,149,151,159];
var tab_w4_idle = [185,193,193,191,184,180,170,152,164,159,149,143,144,153,153];
var tab_pobj_idle = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
var chart_title = ['FRA authorized'];
var tab_pw_idle = [127,134,138,164,183,186,181,163,167,175,176,158,160,154,137
$.each([tab_obj_idle, tab_gap_idle, tab_w2_idle, tab_w4_idle, tab_pobj_idle, tab_pw_idle], function(i, data) {
$.each(data, function(j, point) {
data[j] = [tab_week_idle[j], point];
'Janvier', 'Février', 'Mars', 'Avril',
'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
weekdays: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
hortMonths: ['Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil','Août', 'Sept', 'Oct', 'Nov', 'Déc'],
resetZoomTitle: 'Reset zoom à 1:1',
downloadPNG: "Télécharger au format PNG image",
downloadJPEG: "Télécharger au format JPEG image",
downloadPDF: "Télécharger au format PDF document",
downloadSVG: "Télécharger au format SVG vector image",
exportButtonTitle: "Exporter image ou document",
printButtonTitle: "Imprimer le graphique",
window.chart = new Highcharts.StockChart({
text: 'IDLE KEY INDICATOR'
adaptToUpdatedDate: true,
color:'rgba(0, 0, 200, 0.71)'
text: 'Real Idle | Objective | Forecast',
color:'rgba(0, 0, 200, 0.71)'
text: 'Iddle | Objective',
color:'rgba(0, 0, 150, 0.71)'
color:'rgba(0, 0, 150, 0.71)'
text: '% Idle GAP Result vs Objective',
color:'rgba(50, 255, 0, 1)'
color:'rgba(50, 255, 0, 1)'
color: 'rgba(100,20,255,1)',
format: '{point.y:,.2f}',
valueSuffix: ' RealIddle'
color: 'rgba(90,160,255,1)',
format: '{point.y:,.2f}',
color: 'rgba(50, 255, 0, 1)',
color: 'rgba(0, 0, 0, 1)',
format: '{point.y:,.2f}',
backgroundColor:'rgba(225, 225, 225, 0.9)'
color: 'rgba(225, 0, 0, 1)',
color: 'rgba(225, 0, 0, 1)',
color: 'rgba(225, 0, 0, 1)',
format: '{point.y:,.2f}',
backgroundColor:'rgba(225, 225, 225, 0.9)'
color: 'rgba(225, 0, 0, 1)',
color: 'rgba(190,160,255,1)',
color: 'rgba(9, 9, 9, 1)',
format: '{point.y:,.2f}',
backgroundColor:'rgba(225, 225, 225, 1)'
color: 'rgba(225, 0, 0, 1)',
color: 'rgba(50, 255, 0, 1)',
color: 'rgba(0, 0, 0, 1)',
format: '{point.y:,.2f} %',
backgroundColor:'rgba(225, 225, 225, 0.9)'
color: 'rgba(225, 0, 0, 1)',