!function(a){function b(a,b,c){var d={square:function(a,b,c,d,e){var f=d*Math.sqrt(Math.PI)/2;a.rect(b-f,c-f,f+f,f+f)},diamond:function(a,b,c,d,e){var f=d*Math.sqrt(Math.PI/2);a.moveTo(b-f,c),a.lineTo(b,c-f),a.lineTo(b+f,c),a.lineTo(b,c+f),a.lineTo(b-f,c)},triangle:function(a,b,c,d,e){var f=d*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),g=f*Math.sin(Math.PI/3);a.moveTo(b-f/2,c+g/2),a.lineTo(b+f/2,c+g/2),e||(a.lineTo(b,c-g/2),a.lineTo(b-f/2,c+g/2))},cross:function(a,b,c,d,e){var f=d*Math.sqrt(Math.PI)/2;a.moveTo(b-f,c-f),a.lineTo(b+f,c+f),a.moveTo(b-f,c+f),a.lineTo(b+f,c-f)}},e=b.points.symbol;d[e]&&(b.points.symbol=d[e])}function c(a){a.hooks.processDatapoints.push(b)}a.plot.plugins.push({init:c,name:"symbols",version:"1.0"})}(jQuery);