,disabled:!0},{key:"Expanded",disabled:!0}];returnr.dispatch=p,d3.rebind(r,o,"interactive","clipEdge"),r.x=function(a){returnarguments.length?(i=d3.functor(a),o.x(i),r):i},r.y=function(a){returnarguments.length?(j=d3.functor(a),o.y(j),r):j},r.margin=function(a){returnarguments.length?(b=a,r):b},r.width=function(a){returnarguments.length?(c=d3.functor(a),r):c},r.height=function(a){returnarguments.length?(d=d3.functor(a),r):d},r.dotRadius=function(a){returnarguments.length?(e=d3.functor(a),o.dotRadius=a,r):e},r.stacked=o,r.xAxis=k,r.yAxis=l,r},a.charts.cumulativeLineChartDaily=function(){functionh(){return!b||!c.length?h:(d3.select(b).select("svg").datum(c).transition().duration(d).call(f),h)}varb=null,c=[],d=500,e=function(a,b,c,d,e){return"<h3>"+a+"</h3>"+"<p>"+c+" at "+b+"</p>"},f=a.models.cumulativeLine().x(function(a,b){returnb}),g=function(c){vard=document.getElementById(b.substr(1)),g=c.pos[0]+d.offsetLeft,h=c.pos[1]+d.offsetTop,i=f.xAxis.tickFormat(),j=f.yAxis.tickFormat(),k=i(f.x()(c,c.pointIndex)),l=j(f.y()(c.point)),m=e(c.series.key,k,l,c,f);a.tooltip.show([g,h],m)};returnf.xAxis.tickFormat(function(a){returnd3.time.format("%x")(newDate(c[0].values[a].x))}),f.yAxis.tickFormat(d3.format(",.2%")),h.build=function(){return!b||!c.length?h:(a.addGraph({generate:function(){vara=d3.select(b),e=function(){returnparseInt(a.style("width"))},g=function(){returnparseInt(a.style("height"))},h=a.append("svg");returnf.width(e).height(g),h.attr("width",e()).attr("height",g()).datum(c).transition().duration(d).call(f),f},callback:function(c){c.dispatch.on("tooltipShow",g),c.dispatch.on("tooltipHide",a.tooltip.cleanup),window.onresize=function(){d3.select(b+" svg").attr("width",c.width()()).attr("height",c.height()()).call(c)}}}),h)},h.data=function(a){returnarguments.length?(c=a,h):c},h.selector=function(a){returnarguments.length?(b=a,h):b},h.duration=function(a){returnarguments.length?(d=a,h):d},h.tooltip=function(a){returnarguments.length?(e=a,h):e},h.xTickFormat=function(a){returnarguments.length?(f.xAxis.tickFormat(typeofa=="function"?a:d3.format(a)),h):f.xAxis.tickFormat()},h.yTickFormat=function(a){returnarguments.length?(f.yAxis.tickFormat(typeofa=="function"?a:d3.format(a)),h):f.yAxis.tickFormat()},h.xAxisLabel=function(a){returnarguments.length?(f.xAxis.axisLabel(a),h):f.xAxis.axisLabel()},h.yAxisLabel=function(a){returnarguments.length?(f.yAxis.axisLabel(a),h):f.yAxis.axisLabel()},d3.rebind(h,f,"x","y"),h.graph=f,h},a.charts.line=function(){functionh(){return!b||!c.length?h:(d3.select(b).select("svg").datum(c).transition().duration(d).call(f),h)}varb=null,c=[],d=500,e=function(a,b,c,d,e){return"<h3>"+a+"</h3>"+"<p>"+c+" at "+b+"</p>"},f=a.models.lineWithLegend(),g=function(c){vard=document.getElementById(b.substr(1)),g=c.pos[0]+d.offsetLeft,h=c.pos[1]+d.offsetTop,i=f.xAxis.tickFormat(),j=f.yAxis.tickFormat(),k=i(f.x()(c.point)),l=j(f.y()(c.point)),m=e(c.series.key,k,l,c,f);a.tooltip.show([g,h],m)};returnf.xAxis.tickFormat(d3.format(",r")),f.yAxis.tickFormat(d3.format(",.2f")),h.build=function(){return!b||!c.length?h:(a.addGraph({generate:function(){vara=d3.select(b),e=function(){returnparseInt(a.style("width"))},g=function(){returnparseInt(a.style("height"))},h=a.append("svg");returnf.width(e).height(g),h.attr("width",e()).attr("height",g()).datum(c).transition().duration(d).call(f),f},callback:function(c){c.dispatch.on("tooltipShow",g),c.dispatch.on("tooltipHide",a.tooltip.cleanup),window.onresize=function(){d3.select(b+" svg").attr("width",c.width()()).attr("height",c.height()()).call(c)}}}),h)},h.data=function(a){returnarguments.length?(c=a,h):c},h.selector=function(a){returnarguments.length?(b=a,h):b},h.duration=function(a){returnarguments.length?(d=a,h):d},h.tooltip=function(a){returnarguments.length?(e=a,h):e},h.xTickFormat=function(a){returnarguments.length?(f.xAxis.tickFormat(typeofa=="function"?a:d3.format(a)),h):f.xAxis.tickFormat()},h.yTickFormat=function(a){returnarguments.length?(f.yAxis.tickFormat(typeofa=="function"?a:d3.format(a)),h):f.yAxis.tickFormat()},h.x