blazor-devexpress-dot-blazor-dot-dxchartargumentaxis.md
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.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(ChartAggregatedPointPosition.BetweenTicks)]
[Parameter]
public ChartAggregatedPointPosition AggregatedPointPosition { get; set; }
| 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.
|
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:
The following example aligns aggregated points to major tick marks:
<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