Back to Devexpress

ChartAggregatedPointPosition Enum

blazor-devexpress-dot-blazor-1ba34360.md

latest1.9 KB
Original Source

ChartAggregatedPointPosition Enum

Lists values that specify where to display aggregated series points relative to axis tick marks.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum ChartAggregatedPointPosition

Members

NameDescription
BetweenTicks

Displays aggregated points between major tick marks.

| | CrossTicks |

Displays aggregated points aligned with major tick marks.

|

The following properties accept/return ChartAggregatedPointPosition values:

Remarks

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

DevExpress.Blazor Namespace