Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    ChartAxisInterval.Quarter Property

    Returns an interval of one quarter.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public static ChartAxisInterval Quarter { get; }

    #Property Value

    Type Description
    ChartAxisInterval

    A ChartAxisInterval 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 2 quarters for major ticks and one quarter for minor ticks:

    Razor
    <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="ChartAxisInterval.Quarters(2)" 
                             MinorTickInterval="ChartAxisInterval.Quarter">
            <DxChartAxisMinorTick Visible="true" />
        </DxChartArgumentAxis>
        <DxChartLegend Visible="false" />
    </DxChart>
    

    Tick Interval in Quarters

    See Also