New to Kendo UI for Angular? Start a free 30-day trial
AutoBaseUnitSteps
The allowed time-interval steps when baseUnit
is set to either "fit"
or "auto"
.
The axis will divide the active period into the smallest possible intervals
that do not exceed the set maxDateGroups
value.
html
<kendo-chart-category-axis>
<kendo-chart-category-axis-item [autoBaseUnitSteps]="baseUnitSteps">
</kendo-chart-category-axis-item>
</kendo-chart-category-axis>
ts
public baseUnitSteps: AutoBaseUnitSteps = {
// Do not allow zooming into hours
weeks: [],
};
Name | Type | Default | Description |
---|---|---|---|
days? |
|
The preferred interval steps when displaying days. | |
hours? |
|
The preferred interval steps when displaying hours. | |
milliseconds? |
|
The preferred interval steps when displaying milliseconds. | |
minutes? |
|
The preferred interval steps when displaying minutes. | |
months? |
|
The preferred interval steps when displaying months. | |
seconds? |
|
The preferred interval steps when displaying seconds. | |
weeks? |
|
The preferred interval steps when displaying weeks. | |
years? |
|
The preferred interval steps when displaying years. |