From 4fa41ae503d92b11d6e63e5296d662f966c1ad74 Mon Sep 17 00:00:00 2001 From: Micheal Date: Mon, 1 Dec 2014 17:20:04 +0800 Subject: [PATCH] Roo/bootstrap/dash/NumberBox.js --- Roo/bootstrap/dash/NumberBox.js | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/Roo/bootstrap/dash/NumberBox.js b/Roo/bootstrap/dash/NumberBox.js index e211627cf6..bd9d1d8c72 100644 --- a/Roo/bootstrap/dash/NumberBox.js +++ b/Roo/bootstrap/dash/NumberBox.js @@ -95,29 +95,15 @@ Roo.extend(Roo.bootstrap.dash.NumberBox, Roo.bootstrap.Component, { return cfg; }, - // onRender : function(ct,position){ - // Roo.bootstrap.Graph.superclass.onRender.call(this,ct,position); - - // }, + onRender : function(ct,position){ + Roo.bootstrap.dash.NumberBox.superclass.onRender.call(this,ct,position); - // load : function(graphtype,xdata){ - // this.raphael.clear(); - // if(!graphtype) { - // graphtype = this.graphtype; - // } - // switch(graphtype){ - // case 'bar': - // this.raphael.barchart(this.g_x,this.g_y,this.g_width,this.g_height,xdata,this.opts); - // break; - // case 'hbar': - // this.raphael.hbarchart(this.g_x,this.g_y,this.g_width,this.g_height,xdata,this.opts); - // break; - // case 'pie': - // this.raphael.piechart(this.g_x,this.g_y,this.g_r,xdata,this.opts); - // break; - // } - // }, + + + }, + + initEvents: function() { -- 2.39.2