YUI.add("series-range",function(e,t){function s(){s.superclass.constructor.apply(this,arguments)}s.NAME="rangeSeries",s.ATTRS={type:{value:"range"},ohlckeys:{valueFn:function(){return{open:"open",high:"high",low:"low",close:"close"}}}},e.extend(s,e.CartesianSeries,{_calculateMarkerWidth:function(e,t,s){for(var r=0;r<3&&-1<s;)s-=1,(r=Math.round(e/t-s))%2==0&&(r-=1);return Math.max(1,r)},drawSeries:function(){var e=this.get("xcoords"),t=this.get("ycoords"),s=this.get("styles"),r=s.padding,i=e.length,r=this.get("width")-(r.left+r.right),a=this.get("ohlckeys"),n=t[a.open],l=t[a.high],o=t[a.low],a=t[a.close],t=this._calculateMarkerWidth(r,i,s.spacing);this._drawMarkers(e,n,l,o,a,i,t,t/2,s)},_getDefaultStyles:function(){return this._mergeStyles({spacing:3},s.superclass._getDefaultStyles())}}),e.RangeSeries=s},"patched-v3.18.3",{requires:["series-cartesian"]});