DxChartFullStackedSplineSeries<T, TArgument, TValue> Class

Defines a full stacked spline area series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

public class DxChartFullStackedSplineSeries<T, TArgument, TValue> :
    DxChartSeries<T, TArgument, TValue, ChartFullStackedSplineSeriesModel<T, TArgument, TValue>>

Type Parameters

Name Description
T

The type of data.

TArgument

The type of series arguments.

TValue

The type of series values.

Remarks

The full stacked spline series displays the percentage value of multiple spline series for each argument.

Use the chart's Data property to specify an IEnumerable<T> data source, and the ArgumentField and ValueField properties to specify data source fields that contain arguments and values for chart points. For a sample data source, refer to our GitHub repository.

<DxChart Data="@SalesData">
    <DxChartFullStackedSplineSeries Name="2017" Filter="@((SaleInfo s) => s.Date.Year == 2017)"
                                    ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)"
                                    AggregationMethod="Enumerable.Sum" />
    <DxChartFullStackedSplineSeries Name="2018" Filter="@((SaleInfo s) => s.Date.Year == 2018)"
                                    ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)"
                                    AggregationMethod="Enumerable.Sum" />
    <DxChartFullStackedSplineSeries Name="2019" Filter="@((SaleInfo s) => s.Date.Year == 2019)"
                                    ArgumentField="@(s => s.City)" ValueField="@(s => s.Amount)"
                                    AggregationMethod="Enumerable.Sum" />
    <DxChartLegend Position="RelativePosition.Outside" HorizontalAlignment="HorizontalAlignment.Right" />
</DxChart>

@code {
    IEnumerable<SaleInfo> SalesData;

    protected override async Task OnInitializedAsync() {
        SalesData = await Sales.GetSalesAsync();
    }
}

Chart Full Stacked Spline Series

Run Demo: Charts - Series Types

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartSeriesModel>
DxComplexSettingsComponent<DxChartSeries, DevExpress.Blazor.Internal.ChartSeriesModel>
DxChartSeries
DxChartSeries<T, TArgument, TValue, TValue, DevExpress.Blazor.Internal.ChartFullStackedSplineSeriesModel<T, TArgument, TValue>>
DxChartSeries<T, TArgument, TValue, DevExpress.Blazor.Internal.ChartFullStackedSplineSeriesModel<T, TArgument, TValue>>
DxChartFullStackedSplineSeries<T, TArgument, TValue>
See Also