New to Kendo UI for AngularStart 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: [],
};
NameTypeDefaultDescription

days?

number[]

The preferred interval steps when displaying days.

hours?

number[]

The preferred interval steps when displaying hours.

milliseconds?

number[]

The preferred interval steps when displaying milliseconds.

minutes?

number[]

The preferred interval steps when displaying minutes.

months?

number[]

The preferred interval steps when displaying months.

seconds?

number[]

The preferred interval steps when displaying seconds.

weeks?

number[]

The preferred interval steps when displaying weeks.

years?

number[]

The preferred interval steps when displaying years.

Not finding the help you need?
Contact Support