// Create a new plotter.
if (this.plotter_) {
- this.cascadeEvents_('clear');
+ this.cascadeEvents_('clearChart');
this.plotter_.clear();
}
this.plotter_ = new DygraphCanvasRenderer(this,
* @private
*/
Dygraph.prototype.renderGraph_ = function(is_initial_draw) {
- this.cascadeEvents_('clear');
+ this.cascadeEvents_('clearChart');
this.plotter_.clear();
this.plotter_.render();