function passeport() { canvas = document.getElementById("passeport"); ctx = canvas.getContext("2d"); // Suppress refresh on mouseover if this was the plot we just left if ((gnuplot.active_plot == passeport && gnuplot.display_is_uptodate)) return; else gnuplot.display_is_uptodate = true; // Reinitialize mouse tracking and zoom for this particular plot if ((typeof(gnuplot.active_plot) == "undefined" || gnuplot.active_plot != passeport) && typeof(gnuplot.mouse_update) != "undefined") { gnuplot.active_plot_name = "passeport"; gnuplot.active_plot = passeport; canvas.onmousemove = gnuplot.mouse_update; canvas.onmouseup = gnuplot.zoom_in; canvas.onmousedown = gnuplot.saveclick; canvas.onkeypress = gnuplot.do_hotkey; if (canvas.attachEvent) {canvas.attachEvent('mouseover', passeport);} else if (canvas.addEventListener) {canvas.addEventListener('mouseover', passeport, false);} gnuplot.zoomed = false; gnuplot.zoom_axis_width = 0; gnuplot.zoom_in_progress = false; gnuplot.polar_mode = false; gnuplot.polar_theta0 = 0; gnuplot.polar_sense = 1; ctx.clearRect(0,0,1000,600); } // Gnuplot version 5.4.3 // short forms of commands provided by gnuplot_common.js function DT (dt) {gnuplot.dashtype(dt);}; function DS (x,y) {gnuplot.dashstart(x,y);}; function DL (x,y) {gnuplot.dashstep(x,y);}; function M (x,y) {if (gnuplot.pattern.length > 0) DS(x,y); else gnuplot.M(x,y);}; function L (x,y) {if (gnuplot.pattern.length > 0) DL(x,y); else gnuplot.L(x,y);}; function Dot (x,y) {gnuplot.Dot(x/10.,y/10.);}; function Pt (N,x,y,w) {gnuplot.Pt(N,x/10.,y/10.,w/10.);}; function R (x,y,w,h) {gnuplot.R(x,y,w,h);}; function T (x,y,fontsize,justify,string) {gnuplot.T(x,y,fontsize,justify,string);}; function TR (x,y,angle,fontsize,justify,string) {gnuplot.TR(x,y,angle,fontsize,justify,string);}; function bp (x,y) {gnuplot.bp(x,y);}; function cfp () {gnuplot.cfp();}; function cfsp() {gnuplot.cfsp();}; gnuplot.hypertext_list = []; gnuplot.on_hypertext = -1; function Hypertext(x,y,w,text) { newtext = {x:x, y:y, w:w, text:text}; gnuplot.hypertext_list.push(newtext); } gnuplot.dashlength = 400; ctx.lineCap = "round"; ctx.lineJoin = "round"; CanvasTextFunctions.enable(ctx); ctx.strokeStyle = " rgb(215,215,215)"; ctx.lineWidth = 1; ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,5800); L(9099,5800); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,5800); L(880,5800); M(9099,5800); L(8999,5800); ctx.stroke(); ctx.closePath(); ctx.fillStyle = " rgb(000,000,000)"; T(700,5850,10.0,"Right"," 0"); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,4700); L(9099,4700); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,4700); L(880,4700); M(9099,4700); L(8999,4700); ctx.stroke(); ctx.closePath(); T(700,4750,10.0,"Right"," 5000"); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,3600); L(9099,3600); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,3600); L(880,3600); M(9099,3600); L(8999,3600); ctx.stroke(); ctx.closePath(); T(700,3650,10.0,"Right"," 10000"); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,2501); L(9099,2501); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,2501); L(880,2501); M(9099,2501); L(8999,2501); ctx.stroke(); ctx.closePath(); T(700,2551,10.0,"Right"," 15000"); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,1401); L(9099,1401); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,1401); L(880,1401); M(9099,1401); L(8999,1401); ctx.stroke(); ctx.closePath(); T(700,1451,10.0,"Right"," 20000"); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,301); L(9099,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,301); L(880,301); M(9099,301); L(8999,301); ctx.stroke(); ctx.closePath(); T(700,351,10.0,"Right"," 25000"); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(780,5800); L(780,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(780,5800); L(780,5700); M(780,301); L(780,401); ctx.stroke(); ctx.closePath(); T(780,5950,10.0,"Center","15:00"); ctx.beginPath(); M(950,5800); L(950,5750); M(950,301); L(950,351); M(1121,5800); L(1121,5750); M(1121,301); L(1121,351); M(1291,5800); L(1291,5750); M(1291,301); L(1291,351); M(1462,5800); L(1462,5750); M(1462,301); L(1462,351); M(1632,5800); L(1632,5750); M(1632,301); L(1632,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(1818,5800); L(1818,1026); M(1818,401); L(1818,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(1818,5800); L(1818,5700); M(1818,301); L(1818,401); ctx.stroke(); ctx.closePath(); T(1818,5950,10.0,"Center","12:00"); ctx.beginPath(); M(1988,5800); L(1988,5750); M(1988,301); L(1988,351); M(2159,5800); L(2159,5750); M(2159,301); L(2159,351); M(2329,5800); L(2329,5750); M(2329,301); L(2329,351); M(2500,5800); L(2500,5750); M(2500,301); L(2500,351); M(2670,5800); L(2670,5750); M(2670,301); L(2670,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(2855,5800); L(2855,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(2855,5800); L(2855,5700); M(2855,301); L(2855,401); ctx.stroke(); ctx.closePath(); T(2855,5950,10.0,"Center","09:00"); ctx.beginPath(); M(3026,5800); L(3026,5750); M(3026,301); L(3026,351); M(3196,5800); L(3196,5750); M(3196,301); L(3196,351); M(3367,5800); L(3367,5750); M(3367,301); L(3367,351); M(3537,5800); L(3537,5750); M(3537,301); L(3537,351); M(3708,5800); L(3708,5750); M(3708,301); L(3708,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(3910,5800); L(3910,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(3910,5800); L(3910,5700); M(3910,301); L(3910,401); ctx.stroke(); ctx.closePath(); T(3910,5950,10.0,"Center","06:00"); ctx.beginPath(); M(4081,5800); L(4081,5750); M(4081,301); L(4081,351); M(4251,5800); L(4251,5750); M(4251,301); L(4251,351); M(4422,5800); L(4422,5750); M(4422,301); L(4422,351); M(4592,5800); L(4592,5750); M(4592,301); L(4592,351); M(4763,5800); L(4763,5750); M(4763,301); L(4763,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(4948,5800); L(4948,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(4948,5800); L(4948,5700); M(4948,301); L(4948,401); ctx.stroke(); ctx.closePath(); T(4948,5950,10.0,"Center","03:00"); ctx.beginPath(); M(5118,5800); L(5118,5750); M(5118,301); L(5118,351); M(5289,5800); L(5289,5750); M(5289,301); L(5289,351); M(5459,5800); L(5459,5750); M(5459,301); L(5459,351); M(5630,5800); L(5630,5750); M(5630,301); L(5630,351); M(5800,5800); L(5800,5750); M(5800,301); L(5800,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(5986,5800); L(5986,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(5986,5800); L(5986,5700); M(5986,301); L(5986,401); ctx.stroke(); ctx.closePath(); T(5986,5950,10.0,"Center","00:00"); ctx.beginPath(); M(6156,5800); L(6156,5750); M(6156,301); L(6156,351); M(6327,5800); L(6327,5750); M(6327,301); L(6327,351); M(6497,5800); L(6497,5750); M(6497,301); L(6497,351); M(6668,5800); L(6668,5750); M(6668,301); L(6668,351); M(6838,5800); L(6838,5750); M(6838,301); L(6838,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(7006,5800); L(7006,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(7006,5800); L(7006,5700); M(7006,301); L(7006,401); ctx.stroke(); ctx.closePath(); T(7006,5950,10.0,"Center","21:00"); ctx.beginPath(); M(7177,5800); L(7177,5750); M(7177,301); L(7177,351); M(7347,5800); L(7347,5750); M(7347,301); L(7347,351); M(7518,5800); L(7518,5750); M(7518,301); L(7518,351); M(7688,5800); L(7688,5750); M(7688,301); L(7688,351); M(7859,5800); L(7859,5750); M(7859,301); L(7859,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(8044,5800); L(8044,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(8044,5800); L(8044,5700); M(8044,301); L(8044,401); ctx.stroke(); ctx.closePath(); T(8044,5950,10.0,"Center","18:00"); ctx.beginPath(); M(8215,5800); L(8215,5750); M(8215,301); L(8215,351); M(8385,5800); L(8385,5750); M(8385,301); L(8385,351); M(8556,5800); L(8556,5750); M(8556,301); L(8556,351); M(8726,5800); L(8726,5750); M(8726,301); L(8726,351); M(8897,5800); L(8897,5750); M(8897,301); L(8897,351); if (gnuplot.grid_lines) { var saveWidth = ctx.lineWidth; ctx.lineWidth = ctx.lineWidth * 0.5; ctx.stroke(); ctx.closePath(); ctx.lineWidth = 0.5; ctx.strokeStyle = " rgb(160,160,160)"; ctx.beginPath(); M(9082,5800); L(9082,301); ctx.stroke(); ctx.closePath(); ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; ctx.lineWidth = saveWidth; } // grid_lines ctx.beginPath(); M(9082,5800); L(9082,5700); M(9082,301); L(9082,401); ctx.stroke(); ctx.closePath(); T(9082,5950,10.0,"Center","15:00"); ctx.beginPath(); M(9099,5800); L(8999,5800); ctx.stroke(); ctx.closePath(); T(9179,5850,10.0,""," 1235"); ctx.beginPath(); M(9099,5113); L(8999,5113); ctx.stroke(); ctx.closePath(); T(9179,5163,10.0,""," 1236"); ctx.beginPath(); M(9099,4425); L(8999,4425); ctx.stroke(); ctx.closePath(); T(9179,4475,10.0,""," 1237"); ctx.beginPath(); M(9099,3738); L(8999,3738); ctx.stroke(); ctx.closePath(); T(9179,3788,10.0,""," 1238"); ctx.beginPath(); M(9099,3050); L(8999,3050); ctx.stroke(); ctx.closePath(); T(9179,3100,10.0,""," 1239"); ctx.beginPath(); M(9099,2363); L(8999,2363); ctx.stroke(); ctx.closePath(); T(9179,2413,10.0,""," 1240"); ctx.beginPath(); M(9099,1676); L(8999,1676); ctx.stroke(); ctx.closePath(); T(9179,1726,10.0,""," 1241"); ctx.beginPath(); M(9099,988); L(8999,988); ctx.stroke(); ctx.closePath(); T(9179,1038,10.0,""," 1242"); ctx.beginPath(); M(9099,301); L(8999,301); ctx.stroke(); ctx.closePath(); T(9179,351,10.0,""," 1243"); ctx.beginPath(); M(780,301); L(780,5800); L(9099,5800); L(9099,301); L(780,301); ctx.closePath(); ctx.stroke(); TR(110,3101,270,10.0,"Center","Requêtes"); TR(9709,3101,270,10.0,"Center","Volume (MB)"); if (typeof(gnuplot.hide_passeport_plot_1) == "undefined"|| !gnuplot.hide_passeport_plot_1) { ctx.lineWidth = 2; ctx.strokeStyle = "rgba(148,000,211,1.00)"; ctx.fillStyle = "rgba(148,000,211,1.00)"; ctx.strokeStyle = " rgb(000,000,000)"; ctx.fillStyle = " rgb(000,000,000)"; T(2140,514,10.0,"Right","Requêtes totales"); ctx.strokeStyle = "rgba(148,000,211,1.00)"; ctx.fillStyle = "rgba(148,000,211,1.00)"; ctx.beginPath(); M(2220,464); L(2640,464); M(5025,599); L(5025,589); L(5025,577); ctx.stroke(); ctx.closePath(); } // End passeport_plot_1 if (typeof(gnuplot.hide_passeport_plot_2) == "undefined"|| !gnuplot.hide_passeport_plot_2) { ctx.lineWidth = 2; ctx.strokeStyle = " rgb(000,000,000)"; DT(gnuplot.solid); ctx.strokeStyle = "rgba(000,158,115,1.00)"; ctx.fillStyle = "rgba(000,158,115,1.00)"; ctx.strokeStyle = " rgb(000,000,000)"; ctx.fillStyle = " rgb(000,000,000)"; T(2140,639,10.0,"Right","Réponses 2xx"); ctx.strokeStyle = "rgba(000,158,115,1.00)"; ctx.fillStyle = "rgba(000,158,115,1.00)"; ctx.beginPath(); M(2220,589); L(2640,589); M(5025,2591); L(5025,2582); L(5025,2576); ctx.stroke(); ctx.closePath(); } // End passeport_plot_2 if (typeof(gnuplot.hide_passeport_plot_3) == "undefined"|| !gnuplot.hide_passeport_plot_3) { ctx.lineWidth = 2; ctx.strokeStyle = " rgb(000,000,000)"; DT(gnuplot.solid); ctx.strokeStyle = "rgba(086,180,233,1.00)"; ctx.fillStyle = "rgba(086,180,233,1.00)"; ctx.strokeStyle = " rgb(000,000,000)"; ctx.fillStyle = " rgb(000,000,000)"; T(2140,764,10.0,"Right","Erreurs 4xx"); ctx.strokeStyle = "rgba(086,180,233,1.00)"; ctx.fillStyle = "rgba(086,180,233,1.00)"; ctx.beginPath(); M(2220,714); L(2640,714); M(5025,5735); ctx.stroke(); ctx.closePath(); } // End passeport_plot_3 if (typeof(gnuplot.hide_passeport_plot_4) == "undefined"|| !gnuplot.hide_passeport_plot_4) { ctx.lineWidth = 2; ctx.strokeStyle = " rgb(000,000,000)"; DT(gnuplot.solid); ctx.strokeStyle = "rgba(230,159,000,1.00)"; ctx.fillStyle = "rgba(230,159,000,1.00)"; ctx.strokeStyle = " rgb(000,000,000)"; ctx.fillStyle = " rgb(000,000,000)"; T(2140,889,10.0,"Right","Erreurs 5xx"); ctx.strokeStyle = "rgba(230,159,000,1.00)"; ctx.fillStyle = "rgba(230,159,000,1.00)"; ctx.beginPath(); M(2220,839); L(2640,839); M(5025,5800); ctx.stroke(); ctx.closePath(); } // End passeport_plot_4 if (typeof(gnuplot.hide_passeport_plot_5) == "undefined"|| !gnuplot.hide_passeport_plot_5) { ctx.lineWidth = 1; ctx.strokeStyle = " rgb(000,000,000)"; DT(gnuplot.dashpattern2); ctx.strokeStyle = "rgba(240,228,066,1.00)"; ctx.fillStyle = "rgba(240,228,066,1.00)"; ctx.strokeStyle = " rgb(000,000,000)"; ctx.fillStyle = " rgb(000,000,000)"; T(2140,1014,10.0,"Right","Volume MB"); ctx.strokeStyle = "rgba(240,228,066,1.00)"; ctx.fillStyle = "rgba(240,228,066,1.00)"; ctx.beginPath(); M(2220,964); L(2640,964); M(5025,5731); L(5025,3532); L(5025,349); ctx.stroke(); ctx.closePath(); } // End passeport_plot_5 ctx.lineWidth = 2; ctx.strokeStyle = " rgb(000,000,000)"; DT(gnuplot.solid); ctx.lineWidth = 1; ctx.beginPath(); M(780,301); L(780,5800); L(9099,5800); L(9099,301); L(780,301); ctx.closePath(); ctx.stroke(); ctx.fillStyle = " rgb(000,000,000)"; T(4939,201,10.0,"Center","Trafic Apache - 05/11/2025 15:38"); // plot boundaries and axis scaling information for mousing gnuplot.plot_term_xmax = 1000; gnuplot.plot_term_ymax = 600; gnuplot.plot_xmin = 78.0; gnuplot.plot_xmax = 909.9; gnuplot.plot_ybot = 580.0; gnuplot.plot_ytop = 30.1; gnuplot.plot_width = 831.9; gnuplot.plot_height = 549.9; gnuplot.plot_axis_ymin = 0; gnuplot.plot_axis_ymax = 25000; gnuplot.plot_axis_x2min = "none" gnuplot.plot_axis_y2min = 1235; gnuplot.plot_axis_y2max = 1243; gnuplot.plot_logaxis_x = 0; gnuplot.plot_logaxis_y = 0; gnuplot.plot_axis_xmin = 1740841200.000; gnuplot.plot_axis_xmax = 1783004400.000; gnuplot.plot_timeaxis_x = "DateTime"; gnuplot.plot_timeaxis_y = ""; gnuplot.plot_axis_width = gnuplot.plot_axis_xmax - gnuplot.plot_axis_xmin; gnuplot.plot_axis_height = gnuplot.plot_axis_ymax - gnuplot.plot_axis_ymin; }