X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Gauge2.html diff --git a/docs/source/Gauge2.html b/docs/source/Gauge2.html index e3b6fcb9..022b18dd 100644 --- a/docs/source/Gauge2.html +++ b/docs/source/Gauge2.html @@ -3,8 +3,8 @@ The source code - - + + @@ -20,7 +20,7 @@ * @extends Ext.chart.series.Series * * Creates a Gauge Chart. Gauge Charts are used to show progress in a certain variable. There are two ways of using the Gauge chart. - * One is setting a store element into the Gauge and selecting the field to be used from that store. Another one is instanciating the + * One is setting a store element into the Gauge and selecting the field to be used from that store. Another one is instantiating the * visualization and using the `setValue` method to adjust the value you want. * * A chart/series configuration for the Gauge visualization could look like this: @@ -70,10 +70,9 @@ Ext.define('Ext.chart.series.Gauge', { highlightDuration: 150, /** - * @cfg {String} angleField + * @cfg {String} angleField (required) * The store record field name to be used for the pie angles. * The values bound to this field name must be positive real numbers. - * This parameter is required. */ angleField: false, @@ -84,7 +83,7 @@ Ext.define('Ext.chart.series.Gauge', { needle: false, /** - * @cfg {Boolean|Number} donut + * @cfg {Boolean/Number} donut * Use the entire disk or just a fraction of it for the gauge. Default's false. */ donut: false, @@ -151,7 +150,7 @@ Ext.define('Ext.chart.series.Gauge', { //@private updates some onbefore render parameters. initialize: function() { var me = this, - store = me.chart.substore || me.chart.store; + store = me.chart.getChartStore(); //Add yFields to be used in Legend.js me.yField = []; if (me.label.field) { @@ -252,7 +251,7 @@ Ext.define('Ext.chart.series.Gauge', { drawSeries: function() { var me = this, chart = me.chart, - store = chart.substore || chart.store, + store = chart.getChartStore(), group = me.group, animate = me.chart.animate, axis = me.chart.axes.get(0),