this.setAttribute('drawready', true); if(classroot.parent.datadrawn){ classroot.clearGrid(); classroot.renderAll(); classroot.parent.clearLines(); classroot.parent.buildLines(); } if(classroot.parent.datadrawn){ classroot.clearGrid(); classroot.renderAll(); classroot.parent.clearLines(); classroot.parent.buildLines(); } this.setAttribute('drawready', true); if(this.bgridclip.backinggrid.drawready == true){ if(parent.vgridbands){ this.renderVertBands(); } if(parent.vgridlines){ this.renderVertLines(); } if(parent.belowzero != null){ this.renderBelowZero(); } } if(this.vtickclip.vtickdrawer.drawready == true){ if(parent.vtick){ this.renderVTicks(); } } if(parent.vticklabel){ this.renderVTickLabels(); } if(this.bgridclip.zerodrawer.drawready == true){ if(parent.drawzero != null){ this.renderZero(); } } (See linechart for an example.)