X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Gauge.html diff --git a/docs/source/Gauge.html b/docs/source/Gauge.html index 1a1eff6e..63fb7a41 100644 --- a/docs/source/Gauge.html +++ b/docs/source/Gauge.html @@ -3,8 +3,8 @@ The source code - - + + @@ -42,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 (optional) the offset positioning of the tick marks and labels in pixels. Default's 10. + * @cfg {Number} [margin=10] + * The offset positioning of the tick marks and labels in pixels. + */ + + /** + * @cfg {String} title + * The title for the Axis. */ position: 'gauge', @@ -119,7 +128,7 @@ Ext.define('Ext.chart.axis.Gauge', { this.drawTitle(); } }, - + drawTitle: function() { var me = this, chart = me.chart, @@ -127,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