Changeset 15700 for branches

Show
Ignore:
Timestamp:
11/14/08 11:52:54 (8 weeks ago)
Author:
elazutkin
Message:

charting: refs #8055, thx Jared!, !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.2/dojox/charting/widget/Chart2D.js

    r15666 r15700  
    120120                resize: function(box){ 
    121121                        // summary: resize the widget 
    122                         dojo.marginBox(this.domNode, box); 
    123                         this.chart.resize(); 
     122                        if(box.w > 0 && box.h > 0){ 
     123                                dojo.marginBox(this.domNode, box); 
     124                                this.chart.resize(); 
     125                        } 
    124126                } 
    125127        });