DxChartCommonSeries<T, TGroup, TValue, TArgument>.PaneField Property

Specifies which data source field provides pane names for chart series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public Expression<Func<T, string>> PaneField { get; set; }

Property Value

Type Description
Expression<Func<T, String>>

A lambda expression that returns pane names.

Remarks

<DxChart Data="@SalesData">
    <DxChartTitle Text="Sales amount" />
    <DxChartLegend Position="RelativePosition.Outside" VerticalAlignment="VerticalEdge.Bottom" />
    <DxChartPane Name="Europe"></DxChartPane>
    <DxChartPane Name="Asia"></DxChartPane>
    <DxChartCommonSeries NameField="@((SaleInfo s) => s.City)" PaneField="@(s => s.Region)" ValueField="@(s => s.Amount)"
                         SummaryMethod="Enumerable.Sum" ArgumentField="@(s => s.Date.Year)" 
                         SeriesType="@(ChartSeriesType.Bar)" Filter="@(s => s.Region == "Europe" | s.Region == "Asia")" />
</DxChart>

Chart Pane Field

See Also