(function(a){var j=a.seriesTypes,k=a.each;j.heatmap=a.extendClass(j.map,{colorKey:"z",pointArrayMap:["y","z"],translate:function(){var c=this,a=Number.MAX_VALUE,i=Number.MIN_VALUE;c.generatePoints();k(c.data,function(b){var e=b.x,f=b.y,d=b.z,g=(c.options.colsize||1)/2,h=(c.options.rowsize||1)/2;b.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];b.shapeType="path";b.shapeArgs={d:c.translatePath(b.path)};typeof d==="number"&&(d>i?i=d:d<a&&(a=d))});c.translateColors(a,i)},getBox:function(){}})})(Highcharts);
