Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

DxChartArgumentAxis.AggregatedPointPosition Property

Specifies where aggregated series points appear relative to major tick marks. Applies only to axes of continuous and logarithmic types.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(ChartAggregatedPointPosition.BetweenTicks)]
[Parameter]
public ChartAggregatedPointPosition AggregatedPointPosition { get; set; }

#Property Value

Type Default Description
ChartAggregatedPointPosition BetweenTicks

An enumeration value.

Available values:

Name Description
BetweenTicks

Displays aggregated points between major tick marks.

CrossTicks

Displays aggregated points aligned with major tick marks.

#Remarks

The Chart’s argument axes display aggregated points between two neighboring major ticks as shown in the image below. This behavior corresponds to the BetweenTicks mode:

Between Ticks Positioning

The following example aligns aggregated points to major tick marks:

Cross Ticks Positioning

Razor
<DxChart Data="@ChartsData">
    <DxChartLineSeries Name="Aggregated Data"
                       T="SaleInfo"
                       TArgument="DateTime"
                       TValue="int"
                       ArgumentField="si => new DateTime(si.Date.Year, si.Date.Month, 1)"
                       ValueField="si => si.Amount"
                       Filter='si => si.Region == "North America"'>
        <DxChartAggregationSettings Enabled="true" Method="ChartAggregationMethod.Sum" />
    </DxChartLineSeries>
    <DxChartArgumentAxis AggregationInterval="ChartAxisInterval.Quarter"
                         AggregatedPointPosition="ChartAggregatedPointPosition.CrossTicks"/>
    <DxChartLegend Position="RelativePosition.Outside"
                   HorizontalAlignment="HorizontalAlignment.Right" />
</DxChart>
See Also