DateGraph.DEFAULT_HEIGHT=320;
DateGraph.DEFAULT_STROKE_WIDTH=1;
DateGraph.AXIS_LINE_WIDTH=0.3;
-DateGraph.DEFAULT_ATTRS={pixelsPerXLabel:60,labelsDivWidth:250,labelsDivStyles:{}};
+DateGraph.DEFAULT_ATTRS={highlightCircleSize:3,pixelsPerXLabel:60,labelsDivWidth:250,labelsDivStyles:{}};
DateGraph.prototype.__init__=function(div,_52,_53,_54){
this.maindiv_=div;
this.labels_=_53;
this.sigma_=_54.sigma||2;
this.wilsonInterval_=_54.wilsonInterval||true;
this.customBars_=_54.customBars||false;
-this.attrs_=DateGraph.DEFAULT_ATTRS;
+this.attrs_={};
+MochiKit.Base.update(this.attrs_,DateGraph.DEFAULT_ATTRS);
MochiKit.Base.update(this.attrs_,_54);
if(typeof this.attrs_.pixelsPerXLabel=="undefined"){
this.attrs_.pixelsPerXLabel=60;
_111.push(_105[i]);
}
}
-var _112=3;
+var _112=this.attrs_.highlightCircleSize;
var ctx=this.canvas_.getContext("2d");
if(this.previousVerticalX_>=0){
var px=this.previousVerticalX_;
this.wilsonInterval_ = attrs.wilsonInterval || true;
this.customBars_ = attrs.customBars || false;
- this.attrs_ = DateGraph.DEFAULT_ATTRS;
+ this.attrs_ = {};
+ MochiKit.Base.update(this.attrs_, DateGraph.DEFAULT_ATTRS);
MochiKit.Base.update(this.attrs_, attrs);
if (typeof this.attrs_.pixelsPerXLabel == 'undefined') {