X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/src/chart/axis/Time.js diff --git a/src/chart/axis/Time.js b/src/chart/axis/Time.js index aff3c317..4d29c861 100644 --- a/src/chart/axis/Time.js +++ b/src/chart/axis/Time.js @@ -9,28 +9,26 @@ * * For example: * -

-    axes: [{
-        type: 'Time',
-        position: 'bottom',
-        fields: 'date',
-        title: 'Day',
-        dateFormat: 'M d',
-        groupBy: 'year,month,day',
-        aggregateOp: 'sum',
-
-        constrain: true,
-        fromDate: new Date('1/1/11'),
-        toDate: new Date('1/7/11')
-    }]
-  
+ * axes: [{ + * type: 'Time', + * position: 'bottom', + * fields: 'date', + * title: 'Day', + * dateFormat: 'M d', + * groupBy: 'year,month,day', + * aggregateOp: 'sum', + * + * constrain: true, + * fromDate: new Date('1/1/11'), + * toDate: new Date('1/7/11') + * }] * - * In this example we're creating a time axis that has as title Day. - * The field the axis is bound to is date. - * The date format to use to display the text for the axis labels is M d + * In this example we're creating a time axis that has as title *Day*. + * The field the axis is bound to is `date`. + * The date format to use to display the text for the axis labels is `M d` * which is a three letter month abbreviation followed by the day number. - * The time axis will show values for dates betwee fromDate and toDate. - * Since constrain is set to true all other values for other dates not between + * The time axis will show values for dates between `fromDate` and `toDate`. + * Since `constrain` is set to true all other values for other dates not between * the fromDate and toDate will not be displayed. * * @constructor