Back to Devexpress

DxChartArgumentAxis.AggregatedPointPosition Property

blazor-devexpress-dot-blazor-dot-dxchartargumentaxis.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
ChartAggregatedPointPositionBetweenTicks

An enumeration value.

|

Available values:

NameDescription
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:

The following example aligns aggregated points to major tick marks:

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

DxChartArgumentAxis Class

DxChartArgumentAxis Members

DevExpress.Blazor Namespace