Changeset 13718
- Timestamp:
- 05/13/08 01:15:44 (6 months ago)
- Files:
-
- 1 modified
-
dojox/trunk/charting/axis2d/Default.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojox/trunk/charting/axis2d/Default.js
r13716 r13718 71 71 }, 72 72 setWindow: function(scale, offset){ 73 if(scale == 1 && offset == 0){ 74 delete this.scale; 75 delete this.offset; 76 }else{ 77 this.scale = scale; 78 this.offset = offset; 79 } 73 this.scale = scale; 74 this.offset = offset; 80 75 return this.clear(); 81 76 }, … … 116 111 // re-calculate the scaler 117 112 this.scaler = lin.buildScaler(min, max, span, this.opt); 113 // cleanup 114 if(this.scale == 1 && this.offset == 0){ 115 delete this.scale; 116 delete this.offset; 117 } 118 118 } 119 119 var minMinorStep = 0, ta = this.chart.theme.axis,