X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/api/Ext.chart.axis.Time.html diff --git a/docs/api/Ext.chart.axis.Time.html b/docs/api/Ext.chart.axis.Time.html new file mode 100644 index 00000000..3a8e17b0 --- /dev/null +++ b/docs/api/Ext.chart.axis.Time.html @@ -0,0 +1,120 @@ +
Hierarchy
Ext.chart.axis.AbstractExt.chart.axis.AxisExt.chart.axis.Time
A type of axis whose units are measured in time values. Use this axis +for listing dates that you will want to group or dynamically change. +If you just want to display dates as categories then use the +Category class for axis instead.
+ +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')
+}]
+
+
+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 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.
If minimum
and maximum
are specified it forces the number of major ticks to the specified value.
If minimum
and maximum
are specified it forces the number of major ticks to the specified value.
The number of small ticks between two major ticks. Default is zero.
+The number of small ticks between two major ticks. Default is zero.
+Aggregation operation when grouping. Possible options are 'sum', 'avg', 'max', 'min'. Default's 'sum'.
+Aggregation operation when grouping. Possible options are 'sum', 'avg', 'max', 'min'. Default's 'sum'.
+The minimum value drawn by the axis. If not set explicitly, the axis +minimum will be calculated automatically.
+The minimum value drawn by the axis. If not set explicitly, the axis +minimum will be calculated automatically.
+If true, the values of the chart will be rendered only if they belong between the fromDate and toDate. +If false, the time axis will adapt to the new values by adding/removing steps. +Default's [Ext.Date.DAY, 1].
+Indicates the format the date will be rendered on. +For example: 'M d' will render the dates as 'Jan 30', etc.
+Indicates the format the date will be rendered on. +For example: 'M d' will render the dates as 'Jan 30', etc.
+An array with two components: The first is the unit of the step (day, month, year, etc). The second one is the number of units for the step (1, 2, etc.). +Default's [Ext.Date.DAY, 1].
+Renders the axis into the screen and updates it's position.
+Renders the axis into the screen and updates it's position.
+