View usage for: All YearsLast 10 yearsLast 50 yearsLast 100 yearsLast 300 years

i.width-8){g=l-(h.width+a.r*2+8)}if(k+h.height>i.height-8){k=j-(h.height+a.r*2+8)}a.containerInfo.setAttribute(“style”,”display:block;padding:5px;border-radius:4px;border:1px solid rgba(0, 0, 0, 0.5);box-shadow: 2px 2px rgba(136, 136, 136, 0.12);z-index:5;background-color:white;position:absolute;left:”+g+”px;top:”+k+”px;”) };a.displayPoints=function(j){var i=a.canvas.getBoundingClientRect();var g=j.clientX-i.left,k=j.clientY-i.top;a.cleaner();var h=a.getBaseValue(0);a.points.some(function(s,t){if(t0&&t=q||k<=v||g=r){return false}a.cleanPoint();a.ctxPoint.beginPath();a.ctxPoint.arc(l,A,a.r,0,2*Math.PI); a.ctxPoint.strokeStyle="rgba(51, 102, 204, 0.8)";a.ctxPoint.stroke();a.ctxPoint.closePath();var y=a.ctxPoint.createRadialGradient(l,A,5,l,A,10);y.addColorStop(0,"#3366cc");y.addColorStop(1,"transparent"); a.ctxPoint.beginPath();a.ctxPoint.fillStyle=y;a.ctxPoint.arc(l,A,a.r-2,0,2*Math.PI);a.ctxPoint.fill();a.ctxPoint.closePath();a.containerInfo.innerHTML=(a.minYear+a.nbPoints-s.x)+"
Frequency:”+(s.y/100); a.positionMe(l+a.ctxPoint.canvas.offsetLeft,A+a.ctxPoint.canvas.offsetTop);return true})};a.addMissingPoints=function(g,k){var m=a.nbPoints-a.points.length;var l=0;if(k>0){l=a.points[a.points.length-1].y }for(var h=m;h>g;h–){a.points.push({x:h,y:l})}};a.getArrayPoints=function(k){a.points=[];var m;for(var j=0,h=k.length;ja.yMax){a.yMax=n}}if(g!=a.nbPoints-a.points.length){a.addMissingPoints(g,j)}a.points.push({x:g,y:n})}if(a.points.length<=a.nbPoints){a.addMissingPoints(-1,j)}a.yMax+=50; a.minYear=b-a.nbPoints;a.ctx.save()};a.drawBack=function(){a.ctxBack.translate(0.5,0.5);var g=(a.canvasBack.width-a.canvas.width)/2;var h=(a.canvasBack.height-a.canvas.height)/3;var l=((a.canvasBack.height-a.canvas.height)/3)*2; a.ctxBack.lineWidth=0.3;for(j=h;j
Source

Last modified: 31st December 2020