BootstrapRangeSelectorScale.AggregationIntervalUnit Property
Specifies the time measurement unit used to calculate aggregation intervals for date-time scales.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
Declaration
[DefaultValue(VizTimeInterval.None)]
public VizTimeInterval AggregationIntervalUnit { get; set; }
Property Value
Type | Default | Description |
---|---|---|
VizTimeInterval | None | A VizTimeInterval enumeration value specifying a time measurement unit. |
Available values:
Name | Description |
---|---|
None | No specific unit of measurement is applied to the size of the interval between ticks. |
Millisecond | The size of the interval between ticks is measured in milliseconds. |
Second | The size of the interval between ticks is measured in seconds. |
Minute | The size of the interval between ticks is measured in minutes. |
Hour | The size of the interval between ticks is measured in hours. |
Day | The size of the interval between ticks is measured in days. |
Week | The size of the interval between ticks is measured in weeks. |
Month | The size of the interval between ticks is measured in months. |
Quarter | The size of the interval between ticks is measured in quarters of a year. |
Year | The size of the interval between ticks is measured in years. |
Remarks
Use the AggregationIntervalUnit property to specify an aggregation interval measurement unit for a scale displaying date-time values. To specify the number of units in an aggregation interval, use the BootstrapRangeSelectorScale.AggregationInterval property. If the BootstrapRangeSelectorScale.AggregationInterval property is not specified, the aggregation interval length is considered to be equal to a single unit (a minute/an hour/a day, etc.).
This property only applies to scales of continuous and logarithmic types.