DxChartCommonSeries<T, TGroup, TValue, TArgument>.PaneField Property
Specifies which data source field contains pane names for chart series.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
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")" />
<DxChartArgumentAxis Type="ChartAxisType.Discrete" />
</DxChart>
See Also