Skip to main content

ChartAxisTickInterval.Minute Property

Returns an interval of one minute.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public static ChartAxisTickInterval Minute { get; }

Property Value

Type Description
ChartAxisTickInterval

A ChartAxisTickInterval structure object.

Remarks

The Chart automatically calculates the interval between major and minor ticks based on the axis values. Use the TickInterval and MinorTickInterval properties to specify custom intervals.

The following example sets the tick interval to 5 minutes for major ticks and one minute for minor ticks:

<DxChart Data="@forecasts">
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureC)"
                       Name="Temperature, C" />
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       Name="Temperature, F" />
    <DxChartArgumentAxis TickInterval="ChartAxisTickInterval.Minutes(5)" 
                         MinorTickInterval="ChartAxisTickInterval.Minute">
        <DxChartAxisMinorTick Visible="true" />
    </DxChartArgumentAxis>
    <DxChartLegend Visible="false" />
</DxChart>

Tick Interval in Minutes

See Also