examples/bootstrap/dashboard3.bjs
authormichael <michael@office.ROOJS.COM>
Wed, 26 Nov 2014 12:51:24 +0000 (20:51 +0800)
committermichael <michael@office.ROOJS.COM>
Wed, 26 Nov 2014 12:51:24 +0000 (20:51 +0800)
examples/bootstrap/dashboard3.js

examples/bootstrap/dashboard3.bjs
examples/bootstrap/dashboard3.js

index 520998a..1d0c7a7 100644 (file)
@@ -13,8 +13,8 @@
             "items" : [
                 {
                     "String cls" : "header",
-                    "tag" : "header",
                     "xtype" : "Container",
+                    "tag" : "header",
                     "* xinclude" : "Dashboard.Header1",
                     "$ xns" : "Roo.bootstrap"
                 },
@@ -61,6 +61,7 @@
                                             "$ xns" : "Roo.bootstrap",
                                             "items" : [
                                                 {
+                                                    "Number md" : 3,
                                                     "Number lg" : 3,
                                                     "xtype" : "Column",
                                                     "$ xns" : "Roo.bootstrap",
                                             "items" : [
                                                 {
                                                     "Number md" : 6,
-                                                    "xtype" : "Column",
                                                     "Number lg" : 6,
+                                                    "xtype" : "Column",
                                                     "$ xns" : "Roo.bootstrap",
                                                     "String style" : "",
                                                     "Number sm" : 12,
                                                 },
                                                 {
                                                     "Number md" : 6,
-                                                    "Number lg" : 6,
                                                     "xtype" : "Column",
+                                                    "Number lg" : 6,
                                                     "$ xns" : "Roo.bootstrap",
                                                     "String style" : "",
                                                     "Number sm" : 12,
                                                     "items" : [
                                                         {
                                                             "g_y" : 200,
-                                                            "xtype" : "Graph",
                                                             "g_r" : 120,
+                                                            "xtype" : "Graph",
                                                             "graphtype" : "pie",
                                                             "$ xns" : "Roo.bootstrap",
                                                             "height" : 500,
                                                     "items" : [
                                                         {
                                                             "g_y" : 200,
-                                                            "g_r" : 150,
                                                             "xtype" : "Graph",
+                                                            "g_r" : 150,
                                                             "graphtype" : "pie",
                                                             "$ xns" : "Roo.bootstrap",
                                                             "g_x" : 300
index 49fdeb9..724e123 100644 (file)
@@ -23,8 +23,8 @@ dashboard3 = new Roo.XComponent({
                Roo.apply(Dashboard.Header1._tree(), {
                     '|xns' : 'Roo.bootstrap',
                     cls : 'header',
-                    tag : 'header',
                     xtype : 'Container',
+                    tag : 'header',
                     xns : Roo.bootstrap
                 }),
                {
@@ -78,6 +78,7 @@ dashboard3 = new Roo.XComponent({
                                             items : [
                                                {
                                                     '|xns' : 'Roo.bootstrap',
+                                                    md : 3,
                                                     lg : 3,
                                                     xtype : 'Column',
                                                     xns : Roo.bootstrap,
@@ -169,8 +170,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 6,
-                                                    xtype : 'Column',
                                                     lg : 6,
+                                                    xtype : 'Column',
                                                     xns : Roo.bootstrap,
                                                     style : '',
                                                     sm : 12,
@@ -209,8 +210,8 @@ dashboard3 = new Roo.XComponent({
                                                {
                                                     '|xns' : 'Roo.bootstrap',
                                                     md : 6,
-                                                    lg : 6,
                                                     xtype : 'Column',
+                                                    lg : 6,
                                                     xns : Roo.bootstrap,
                                                     style : '',
                                                     sm : 12,
@@ -263,8 +264,8 @@ dashboard3 = new Roo.XComponent({
                                                        {
                                                             '|xns' : 'Roo.bootstrap',
                                                             g_y : 200,
-                                                            xtype : 'Graph',
                                                             g_r : 120,
+                                                            xtype : 'Graph',
                                                             graphtype : 'pie',
                                                             xns : Roo.bootstrap,
                                                             height : 500,
@@ -282,8 +283,8 @@ dashboard3 = new Roo.XComponent({
                                                        {
                                                             '|xns' : 'Roo.bootstrap',
                                                             g_y : 200,
-                                                            g_r : 150,
                                                             xtype : 'Graph',
+                                                            g_r : 150,
                                                             graphtype : 'pie',
                                                             xns : Roo.bootstrap,
                                                             g_x : 300