X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2Fsrc%2FRoo_bootstrap_Graph.js.html;h=9a5f1c0329e71dd9342f7c9abda4ba50b69e74d3;hb=e80f6e35fec765785e45afd109480638b9abbf8b;hp=9fd9da69df4449aad12f80c8480ee163534cdb52;hpb=e864d4fc68cbfd818fe93ee7737123918610401d;p=roojs1 diff --git a/docs/symbols/src/Roo_bootstrap_Graph.js.html b/docs/symbols/src/Roo_bootstrap_Graph.js.html index 9fd9da69df..9a5f1c0329 100644 --- a/docs/symbols/src/Roo_bootstrap_Graph.js.html +++ b/docs/symbols/src/Roo_bootstrap_Graph.js.html @@ -88,7 +88,15 @@ }, onRender : function(ct,position){ + + Roo.bootstrap.Graph.superclass.onRender.call(this,ct,position); + + if (typeof(Raphael) == 'undefined') { + Roo.bootstrap.MessageBox.alert("Error","Raphael is not availabe"); + return; + } + this.raphael = Raphael(this.el.dom); // data1 = [[55, 20, 13, 32, 5, 1, 2, 10], [10, 2, 1, 5, 32, 13, 20, 55], [12, 20, 30]], @@ -124,7 +132,8 @@ }, - load : function(graphtype,xdata,opts){ + load : function(graphtype,xdata,opts) + { this.raphael.clear(); if(!graphtype) { graphtype = this.graphtype;