X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Gauge.html diff --git a/docs/source/Gauge.html b/docs/source/Gauge.html index a2024613..63fb7a41 100644 --- a/docs/source/Gauge.html +++ b/docs/source/Gauge.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.chart.axis.Gauge
* @extends Ext.chart.axis.Abstract
*
@@ -25,21 +42,30 @@ Ext.define('Ext.chart.axis.Gauge', {
extend: 'Ext.chart.axis.Abstract',
/* End Definitions */
-
- /**
- * @cfg {Number} minimum (required) the minimum value of the interval to be displayed in the axis.
+
+ /**
+ * @cfg {Number} minimum (required)
+ * The minimum value of the interval to be displayed in the axis.
+ */
+
+ /**
+ * @cfg {Number} maximum (required)
+ * The maximum value of the interval to be displayed in the axis.
*/
- /**
- * @cfg {Number} maximum (required) the maximum value of the interval to be displayed in the axis.
+ /**
+ * @cfg {Number} steps (required)
+ * The number of steps and tick marks to add to the interval.
*/
- /**
- * @cfg {Number} steps (required) the number of steps and tick marks to add to the interval.
+ /**
+ * @cfg {Number} [margin=10]
+ * The offset positioning of the tick marks and labels in pixels.
*/
- /**
- * @cfg {Number} margin (optional) the offset positioning of the tick marks and labels in pixels. Default's 10.
+ /**
+ * @cfg {String} title
+ * The title for the Axis.
*/
position: 'gauge',
@@ -102,7 +128,7 @@ Ext.define('Ext.chart.axis.Gauge', {
this.drawTitle();
}
},
-
+
drawTitle: function() {
var me = this,
chart = me.chart,
@@ -110,12 +136,12 @@ Ext.define('Ext.chart.axis.Gauge', {
bbox = chart.chartBBox,
labelSprite = me.titleSprite,
labelBBox;
-
+
if (!labelSprite) {
me.titleSprite = labelSprite = surface.add({
type: 'text',
zIndex: 2
- });
+ });
}
labelSprite.setAttributes(Ext.apply({
text: me.title
@@ -127,7 +153,7 @@ Ext.define('Ext.chart.axis.Gauge', {
}, true);
},
- /**
+ /**
* Updates the {@link #title} of this axis.
* @param {String} title
*/
@@ -191,4 +217,6 @@ Ext.define('Ext.chart.axis.Gauge', {
}
this.labelArray = labelArray;
}
-});
\ No newline at end of file
+});
+
+