New to Telerik UI for BlazorStart a free 30-day trial

Configures automatic time unit stepping for time-based category axes in ChartCategoryAxis. This component defines which intervals the chart can use when automatically scaling time-based data, from milliseconds to years. Use this to control how the chart selects appropriate time intervals based on data density and chart size, ensuring optimal label spacing and readability for time series visualizations.

Definition

Constructors

C#
public ChartCategoryAxisAutoBaseUnitSteps()

Properties

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

Defines the allowed step intervals for day-based automatic axis scaling. Specifies which day intervals the chart can use when automatically scaling time-based category axes. Standard values include [1, 2, 3, 7] for daily, every other day, every 3 days, and weekly intervals.

C#
[Parameter]
public int[] Days { get; set; }

Defines the allowed step intervals for hour-based automatic axis scaling. Controls which hour intervals are available for automatic time axis scaling. Common configurations include [1, 2, 3, 6, 12] for hourly, bi-hourly, 3-hourly, 6-hourly, and 12-hourly intervals.

C#
[Parameter]
public int[] Hours { get; set; }

Defines the allowed step intervals for millisecond-based automatic axis scaling. Use this to control how the chart automatically selects time intervals when dealing with high-frequency data. For example, [1, 5, 10, 50, 100] allows steps of 1ms, 5ms, 10ms, 50ms, and 100ms intervals.

C#
[Parameter]
public int[] Milliseconds { get; set; }

Defines the allowed step intervals for minute-based automatic axis scaling. Specifies which minute intervals the chart can use for automatic time scaling. Typical values are [1, 2, 5, 10, 15, 30] for intervals like every minute, every 2 minutes, every 5 minutes, etc.

C#
[Parameter]
public int[] Minutes { get; set; }

Defines the allowed step intervals for month-based automatic axis scaling. Specifies which month intervals the chart can use for automatic time axis scaling. Common configurations include [1, 2, 3, 6, 12] for monthly, bi-monthly, quarterly, semi-annual, and annual intervals.

C#
[Parameter]
public int[] Months { get; set; }

Defines the allowed step intervals for second-based automatic axis scaling. Controls the available second intervals for time-based category axes. Common values include [1, 2, 5, 10, 15, 30] for standard time increments like every second, every 2 seconds, every 5 seconds, etc.

C#
[Parameter]
public int[] Seconds { get; set; }

Defines the allowed step intervals for week-based automatic axis scaling. Controls which week intervals are available for automatic time scaling. Typical values are [1, 2, 4] for weekly, bi-weekly, and monthly (4-week) intervals when displaying long-term time series data.

C#
[Parameter]
public int[] Weeks { get; set; }

Defines the allowed step intervals for year-based automatic axis scaling. Controls which year intervals are available when displaying long-term historical data. Standard values include [1, 2, 5, 10, 20] for annual, bi-annual, 5-year, decade, and 20-year intervals.

C#
[Parameter]
public int[] Years { get; set; }

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>