Roo/bootstrap/Graph.js
authorEdward <edward@roojs.com>
Fri, 28 Nov 2014 10:49:46 +0000 (18:49 +0800)
committerEdward <edward@roojs.com>
Fri, 28 Nov 2014 10:49:46 +0000 (18:49 +0800)
Roo/bootstrap/Graph.js

index 05286eb..d1572d3 100644 (file)
@@ -20,8 +20,8 @@
  @cfg {number} g_height height of the chart (respected by all elements in the set)
  @cfg {number} g_width width of the chart (respected by all elements in the set)
  @cfg {String} title The title of this graph
- @cfg {number} t_x postition x of title
- @cfg {number} t_y postition y of title
+ @cfg {number} t_x postition x of title (default 150)
+ @cfg {number} t_y postition y of title (default 50)
     
  -{Array}  values
  -opts (object) options for the chart 
@@ -70,6 +70,8 @@ Roo.extend(Roo.bootstrap.Graph, Roo.bootstrap.Component,  {
     g_x: 50,
     g_y: 50,
     g_r: 30,
+    t_x : 150,
+    t_y : 50,
     opts:{
         //g_colors: this.colors,
         g_type: 'soft',