Skip to main content
All docs
V25.1
  • DxChartAxisBase<T>.TickInterval Property

    Specifies the interval between major ticks. Does not apply to discrete axes.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [Parameter]
    public ChartAxisInterval TickInterval { get; set; }

    Property Value

    Type Description
    ChartAxisInterval

    An enumeration value.

    Remarks

    The Chart calculates intervals between ticks automatically based on the series values. Use the TickInterval and MinorTickInterval properties to set the custom intervals for major and minor ticks respectively.

    The following example sets the tick interval to 7 on the value axis and to 12 hours on the argument axis:

    <DxChart Data="@forecasts">
        <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                           ValueField="@((WeatherForecast i) => i.TemperatureF)"
                           Name="Temperature, F" />
        <DxChartValueAxis TickInterval="7" />
        <DxChartArgumentAxis TickInterval="ChartAxisInterval.Hours(12)" />
    </DxChart>
    

    Tick Interval is Specified

    See Also